17                                             const PetscReal &inValue)
 
   25    PetscFunctionBeginUser;
 
   30    p.value = 
p.a0 * targetValue + 
p.a1;
 
   32    PetscFunctionReturn(0);
 
   38    PetscFunctionBeginUser;
 
   40    PetscFunctionReturn(0);
 
Base (abstract) class for ghost points & BC on a single boundary.
 
PetscReal normal
The direction of normal vector.
 
PetscReal value
A constant value representing BC value.
 
SingleBoundaryNeumann(const type::Mesh &mesh, const type::BCLoc &loc, const type::Field &field, const PetscReal &value)
Constructor.
 
virtual PetscErrorCode updateEqsKernel(const PetscReal &targetValue, const PetscReal &dt, type::GhostPointInfo &p)
Underlying kernel for updating the coefficients of the equation.
 
virtual PetscErrorCode setGhostICsKernel(const PetscReal &targetValue, type::GhostPointInfo &p)
The underlying kernel for setting initial values and equations.
 
std::shared_ptr< mesh::MeshBase > Mesh
Type definition of Mesh.
 
BCLoc
Location of a boundary.
 
A toolbox for building flow solvers.
 
Definition of the class SingleBoundaryNeumann.
 
A data structure for a single ghost point.