ConstantLayer

class ConstantLayer<T, P : Position<out P>?> : Layer<T, P>

a Layer where the concentration is the same at every point in space.

Parameters

<P>

position type

<T>

concentration type

Constructors

Link copied to clipboard
constructor(level: T)

Functions

Link copied to clipboard
open fun getValue(p: P): T
Link copied to clipboard