47 std::vector<Vec> &lclVecs)
const;
boundary::BoundaryBase, type::Boundary, and factory function.
Base (abstract) class for the whole boundary.
type::Mesh mesh
A shared_ptr to underlying mesh.
An implementation of petibm::boundary::BoundaryBase.
BoundarySimple(const type::Mesh &mesh, const YAML::Node &node)
Construct a boundary object based on a given mesh object.
virtual PetscErrorCode copyValues2LocalVecs(std::vector< Vec > &lclVecs) const
Copy values of ghost points to a vector of local PETSc Vec objects.
virtual ~BoundarySimple()=default
Default destructor.
virtual PetscErrorCode init(const type::Mesh &mesh, const YAML::Node &node)
Underlying initialization function.
virtual PetscErrorCode updateGhostValues(const type::Solution &soln)
Update the values of ghost points.
virtual PetscErrorCode setGhostICs(const type::Solution &soln)
Set the initial values of ghost points.
virtual PetscErrorCode updateEqs(const type::Solution &soln, const PetscReal &dt)
Update the equations between ghost and boundary points.
std::shared_ptr< mesh::MeshBase > Mesh
Type definition of Mesh.
std::shared_ptr< solution::SolutionBase > Solution
Type definition of solution object.
A toolbox for building flow solvers.