9#include <kernel/adjacency/graph.hpp> 
   10#include <kernel/geometry/mesh_part.hpp> 
   25    template<
typename MeshType_>
 
   42      static constexpr int shape_dim = ShapeType::dimension;
 
   60        XASSERT(my_rank < elems_at_rank.get_num_nodes_domain());
 
  124      virtual void fill_index_sets(std::unique_ptr<IndexSetHolderType>& DOXY(index_set_holder))
 override 
  140        TargetSet& target_set = target_set_holder.template get_target_set<shape_dim>();
 
#define XASSERT(expr)
Assertion macro definition.
Adjacency Graph implementation.
ImageIterator image_begin(Index domain_node) const
Returns an iterator for the first adjacent image node.
ImageIterator image_end(Index domain_node) const
Returns an iterator for the first position past the last adjacent image node.
Index degree(Index domain_node) const
Returns the degree of a domain node.
Mesh Factory class template.
Class template for partial meshes.
TargetSetHolder< ShapeType > TargetSetHolderType
Target set holder type.
IndexSetHolder< ShapeType > IndexSetHolderType
Index set holder type.
std::map< String, std::unique_ptr< AttributeSetType > > AttributeSetContainer
submesh node bin container type
Factory for building a PatchBaseMesh from a given partitioning.
bool empty() const
Checks whether the patch is empty.
MeshPartType::TargetSetHolderType TargetSetHolderType
Target set holder type.
virtual void fill_attribute_sets(AttributeSetContainer &attribute_set_holder) override
Pretends to fill the attribute sets.
virtual void fill_target_sets(TargetSetHolderType &target_set_holder) override
Fills the target sets.
MeshPartType::IndexSetHolderType IndexSetHolderType
Index set holder type.
virtual Index get_num_entities(int dim) override
Returns the number of entities.
MeshType_::VertexSetType::CoordType AttributeDataType
Data type for attributes.
static constexpr int shape_dim
The shape dimension.
MeshPartType::AttributeSetContainer AttributeSetContainer
Mesh attribute holder type.
std::vector< Index > _cells_patch
This will hold all BaseMesh cell numbers of cells present in the patch.
PatchMeshPartFactory(Index my_rank, const Adjacency::Graph &elems_at_rank)
Builds a factory from a given partitioning.
virtual void fill_index_sets(std::unique_ptr< IndexSetHolderType > &index_set_holder) override
Pretends to fill the index sets (=topology)
MeshType_::ShapeType ShapeType
The shape type of the mesh.
virtual ~PatchMeshPartFactory()
virtual destructor
MeshPart< MeshType_ > MeshPartType
Mesh typedef.
std::uint64_t Index
Index data type.