Represents an unstructured mesh in NeoN.
A base class for implementing derived boundary conditions.
localIdx patchStart() const
localIdx patchSize() const
localIdx end_
The end index of the patch in the boundaryVector.
BoundaryPatchMixin(const UnstructuredMesh &mesh, localIdx patchID)
virtual ~BoundaryPatchMixin()=default
localIdx start_
The start index of the patch in the boundaryVector.
std::pair< localIdx, localIdx > range()
BoundaryPatchMixin(localIdx start, localIdx end, localIdx patchID)
localIdx patchEnd() const
localIdx patchID_
The id of this patch.