Struct BoundaryCondition
Defined in File acceleration.h
Struct Documentation
-
struct BoundaryCondition
Simple data structure to specify boundary conditions. Its stores the BC-type in
type
and an array of 3 values invalues
. For a Dirichlet-BC onlyvalues[0]
is used to specify the value of the BC. For a robin boundary condition we use all 3 values in the form\[a\phi + b \mathbf{n} \frac{\partial \phi}{\partial \mathbf{x}} = f \]where \( a \), \( b \) and \( f \) map tovalues[0]
,values[1]
andvalues[2]
, respectively.