15#include "special_entity_sets.h"
21 LF_VERIFY_MSG((mesh_p->DimMesh() >= codim_sub),
22 "Illegal codim_sub = " << codim_sub);
23 LF_VERIFY_MSG(codim_super <= codim_sub,
"Codim_super to large");
34 sup_ent_cnt(*subent) += 1;
42 LF_ASSERT_MSG((codim > 0) && (codim <= mesh_p->DimMesh()),
43 "Illegal codim = " << codim);
53 if (no_adjacent_cells(*edge) == 1) {
57 bd_flags(*subent) =
true;
65 const std::shared_ptr<const Mesh>& mesh_p) {
74 if (no_adjacent_cells(*edge) == 1) {
78 for (
lf::base::dim_t rel_codim = 0; rel_codim < dim_mesh; rel_codim++) {
80 bd_flags(*subent) =
true;
Interface class representing a topological entity in a cellular complex
Assigns to every entity(all codims) in a mesh a value of type T
A MeshDataSet that attaches data of type T to every entity of a mesh that has a specified codimension...
unsigned int dim_t
type for dimensions and co-dimensions and numbers derived from them
Contains helper functions and classes that all operate on the interface classes defined in lf::mesh.
CodimMeshDataSet< lf::base::size_type > CountNumSuperEntities(const std::shared_ptr< const Mesh > &mesh_p, lf::base::dim_t codim_sub, lf::base::dim_t codim_super)
store number of adjacent super-entities
CodimMeshDataSet< bool > flagEntitiesOnBoundary(const std::shared_ptr< const Mesh > &mesh_p, lf::base::dim_t codim)
flag entities of a specific co-dimension located on the boundary