12#ifndef BELFEM_CL_MESH_HPP
13#define BELFEM_CL_MESH_HPP
183 Mesh(
const uint aNumberOfDimensions,
const proc_t aMasterProc=0,
const bool aComputeConnectivities =
true );
193 Mesh(
const string & aPath,
194 const proc_t aMasterProc = 0,
195 const bool aComputeConnectivities =
true,
196 const bool aParallelMode =
true );
210 const proc_t aMasterProc = 0,
211 const bool aComputeConnectivities = true );
246 save(
const string & aFilePath );
390 field(
const string & aLabel );
471 const string & aLabel,
473 const id_t aID = 0 );
479 const real aValue = 0.0,
480 const id_t aID = 0 );
740 const uint & aNumberOfPartitions,
741 const bool aSetProcOwners =
true,
742 const bool aForceContinuousPartitions =
true,
743 const bool aResetVertexContainers =
true );
753 const bool aSetProcOwners =
true,
754 const bool aForceContinuousPartitions =
false,
755 const bool aResetVertexContainers =
true );
766 const bool aSetProcOwners =
true,
767 const bool aForceContinuousPartitions =
false,
768 const bool aResetVertexContainers =
true );
805 const bool aCreateEdgesOnAllSideSets =
true );
1169 set_sideset_indices();
1175 set_block_indices();
1183 compute_max_element_order();
1188 compute_edge_directions();
1201 inline const string &
1309 "Tried to access invalid node id: %lu.",
1310 (
long unsigned int ) aID );
1321 "can only access node over 2d index on 2d-tensormeshes" );
1332 "can only access node over 3d index on 3d-tensormeshes" );
1342 "Tried to access invalid edge id: %lu.",
1343 (
long unsigned int ) aID );
1354 "Tried to access invalid face id: %lu.",
1355 (
long unsigned int ) aID );
1374 "Tried to access invalid element id: %lu.",
1375 (
long unsigned int ) aID );
1386 "can only access element over 2d index on 2d-tensormeshes" );
1397 "can only access element over 3d index on 3d-tensormeshes" );
1408 "Tried to access invalid control point id: %lu.",
1409 (
long unsigned int ) aID );
1418 "can only access control point over 2d index on 2d-tensormeshes" );
1428 "can only access control point over 3d index on 3d-tensormeshes" );
1450 "Tried to access invalid facet id: %lu.",
1451 (
long unsigned int ) aID );
1462 "Tried to access invalid block id: %lu.",
1463 (
long unsigned int ) aID );
1474 "Tried to access invalid sideset id: %lu.",
1475 (
long unsigned int ) aID );
1486 "Tried to access invalid vertex id: %lu.",
1487 (
long unsigned int ) aID );
1506 "Field '%s' does not exist on mesh", aLabel.c_str());
1526 "Field '%s' does not exist on mesh", aLabel.c_str());
1897 return this->
node( aID );
1901 return this->
edge( aID );
1905 return this->
face( aID );
1913 return this->
facet( aID );
2017 template<
typename T >
2022 for( T * tBasis : aBasis )
2024 if( tBasis->is_hanging() )
2032 aHangingBasis.
clear();
2036 aHangingBasis.
set_size( tCount,
nullptr );
2038 for ( T * tBasis: aBasis )
2040 if ( tBasis->is_hanging())
2042 aHangingBasis( tCount++ ) = tBasis;
#define BELFEM_ERROR(aCheck,...)
Definition assert.hpp:264
#define BELFEM_ASSERT(aCheck,...)
Definition assert.hpp:244
void reset(const index_t aIndex)
set a bit to false
Definition cl_Bitset.hpp:103
void set(const index_t aIndex)
set a bit to true
Definition cl_Bitset.hpp:92
bool test(const index_t aIndex) const
test if a bit is set
Definition cl_Bitset.hpp:138
Bitset()=default
trivial constructor
A bounds-checked wrapper around std::vector.
Definition cl_Cell.hpp:45
void set_size(const size_t aSize)
New elements are value-initialized ( zero for arithmetic T, nullptr for pointers ).
Definition cl_Cell.hpp:199
size_t size() const
Definition cl_Cell.hpp:189
void clear()
Empties the Cell.
Definition cl_Cell.hpp:249
Incremental hash computation.
Definition cl_Hash.hpp:29
Hash map (unordered key-value).
Definition cl_Map.hpp:75
bool key_exists(const Key &aKey) const
Definition cl_Map.hpp:161
Top-level container for all mesh entities.
Definition cl_Mesh.hpp:60
Cell< mesh::Element * > mHangingElements
Definition cl_Mesh.hpp:101
Cell< mesh::ControlPoint * > & control_points()
Owned and deleted by the mesh.
Definition cl_Mesh.hpp:1774
Cell< mesh::Edge * > mHangingEdges
Definition cl_Mesh.hpp:98
mesh::Field * field(const string &aLabel)
get field by label
Definition cl_Mesh.hpp:1503
void update_facet_indices()
Definition cl_Mesh.cpp:453
const proc_t mCommSize
Definition cl_Mesh.hpp:68
bool mEdgesAreFinalized
Definition cl_Mesh.hpp:150
Cell< mesh::Element * > & vertices()
Owned and deleted by the mesh.
Definition cl_Mesh.hpp:1806
void set_kernel_flag()
called by kernel
Definition cl_Mesh.hpp:1814
void set_periodicity(mesh::Periodicity *aPeriodicity)
The mesh takes ownership and deletes aPeriodicity.
Definition cl_Mesh.hpp:1975
bool mesh_checker_flag() const
Definition cl_Mesh.hpp:2009
Cell< mesh::Curve * > & curves()
Owned and deleted by the mesh.
Definition cl_Mesh.hpp:1735
void update_sideset_map()
Definition cl_Mesh.cpp:2367
void unflag_all_nodes(const uint aFlagIndex=0)
Definition cl_Mesh.cpp:1038
Map< id_t, mesh::Element * > mElementMap
Definition cl_Mesh.hpp:132
Cell< mesh::Facet * > mFacets
Definition cl_Mesh.hpp:87
void add_sideset(mesh::SideSet *aSideSet)
Takes ownership of aSideSet: ~Mesh deletes the sideset and, through it, its facets.
Definition cl_Mesh.cpp:2182
Cell< mesh::Node * > & hanging_nodes()
Returns views of entities the mesh owns through the containers below.
Definition cl_Mesh.hpp:1955
index_t number_of_faces() const
Definition cl_Mesh.hpp:1274
void set_vertex_owners()
Definition cl_Mesh.cpp:1648
Map< id_t, mesh::GlobalVariable * > mGlobalVariableIDMap
Definition cl_Mesh.hpp:113
Cell< mesh::ControlPoint * > mHangingControlPoints
Definition cl_Mesh.hpp:102
Map< id_t, mesh::ControlPoint * > mControlPointMap
Definition cl_Mesh.hpp:139
void create_edge_map()
special function called by Kernel
Definition cl_Mesh.cpp:1540
mesh::Edge * edge(const id_t aID)
Definition cl_Mesh.hpp:1339
void update_element_indices()
Definition cl_Mesh.cpp:466
void update_element_map()
Definition cl_Mesh.cpp:2344
const uint & time_step() const
The current timestep index.
Definition cl_Mesh.hpp:1599
bool facet_exists(const id_t aID) const
Definition cl_Mesh.hpp:1439
proc_t mNumberOfPartitions
Definition cl_Mesh.hpp:117
Cell< mesh::Node * > & autopins()
Definition cl_Mesh.hpp:1830
void create_curve_map()
Definition cl_Mesh.cpp:2698
index_t number_of_facets() const
Definition cl_Mesh.hpp:1258
void unflag_all_control_points(const uint aFlagIndex=0)
Definition cl_Mesh.cpp:1189
Cell< mesh::Block * > mBlocks
Definition cl_Mesh.hpp:104
Cell< mesh::Face * > & faces()
Owned and deleted by the mesh.
Definition cl_Mesh.hpp:1790
Cell< mesh::Element * > mVertices
Definition cl_Mesh.hpp:88
Cell< mesh::Element * > mBoundaryEdges
Definition cl_Mesh.hpp:95
index_t number_of_elements() const
Definition cl_Mesh.hpp:1250
void compute_facet_orientations()
Definition cl_Mesh.cpp:733
bool node_exists(const id_t aID) const
Definition cl_Mesh.hpp:1678
uint load_meta(hid_t aFile)
Definition cl_Mesh.cpp:2896
void populate_element_neighbors()
Definition cl_Mesh.cpp:2552
Map< id_t, mesh::Node * > mNodeMap
Definition cl_Mesh.hpp:131
void finalize_faces()
Definition cl_Mesh.cpp:981
void update_block_map()
Definition cl_Mesh.cpp:2357
void unflag_all_faces(const uint aFlagIndex=0)
Definition cl_Mesh.cpp:1096
void update_facet_nodes()
Definition cl_Mesh.cpp:648
Cell< mesh::Facet * > mHangingFacets
Definition cl_Mesh.hpp:100
bool global_variable_exists(const string &aLabel)
Definition cl_Mesh.hpp:1567
uint mNumberOfGlobalVariables
Definition cl_Mesh.hpp:120
void save_meta(hid_t aFile, const uint aRunningTimestep=0)
Definition cl_Mesh.cpp:2879
void save_globals(hid_t aFile)
Definition cl_Mesh.cpp:2952
bool mMeshCheckerFlag
Definition cl_Mesh.hpp:174
void distribute_edge_directions()
Collective and asymmetric: every rank must enter; rank 0 distributes the per-owner edge signs,...
Definition cl_Mesh.cpp:1784
void set_time_step(const uint aTimeStep)
set the index of the time step
Definition cl_Mesh.hpp:1614
void collect_facets_from_sidesets()
Definition cl_Mesh.cpp:617
Cell< mesh::SideSet * > & sidesets()
The mesh owns the sidesets; a sideset owns and deletes its facets.
Definition cl_Mesh.hpp:1727
uint number_of_fields() const
Definition cl_Mesh.hpp:1575
const string & path() const
Definition cl_Mesh.hpp:1202
Vector< real > & field_data(const string &aLabel)
Definition cl_Mesh.hpp:1523
Map< id_t, mesh::Block * > mBlockMap
Definition cl_Mesh.hpp:134
uint64_t config_tag() const
Definition cl_Mesh.cpp:2288
const proc_t mMasterProc
Definition cl_Mesh.hpp:66
uint number_of_sidesets() const
Definition cl_Mesh.hpp:1298
Cell< mesh::Facet * > & facets()
A flat list of the facets of all sidesets.
Definition cl_Mesh.hpp:1768
id_t max_block_and_sideset_id()
Definition cl_Mesh.cpp:2136
uint number_of_dimensions() const
Definition cl_Mesh.hpp:1226
Cell< mesh::Node * > mAbstractNodes
Definition cl_Mesh.hpp:165
void save(const string &aFilePath)
Master rank only, a no-op elsewhere; the mesh must be finalized.
Definition cl_Mesh.cpp:336
void update_node_indices()
Definition cl_Mesh.cpp:417
void unflag_all_elements(const uint aFlagIndex=0)
Definition cl_Mesh.cpp:1152
void update_face_indices()
Definition cl_Mesh.cpp:441
index_t number_of_edges() const
Definition cl_Mesh.hpp:1266
bool block_exists(const id_t aID) const
Definition cl_Mesh.hpp:1662
Cell< mesh::ThinShell * > & thin_shells()
Owned and deleted by the mesh.
Definition cl_Mesh.hpp:1752
id_t max_element_id()
Definition cl_Mesh.cpp:2081
void set_compute_facet_orientation_flag(const bool aFlag)
Definition cl_Mesh.hpp:1928
void load_globals(hid_t aFile)
Definition cl_Mesh.cpp:2976
void collect_elements_from_blocks()
Definition cl_Mesh.cpp:583
void reset_connectivity(const Connectivity aConnectivity)
Definition cl_Mesh.hpp:1630
bool mIsKernelMesh
flag telling if this is a mesh on the kernel
Definition cl_Mesh.hpp:146
bool edges_exist() const
tells if Nedelec edges exist on this mesh
Definition cl_Mesh.hpp:1686
Cell< mesh::Node * > mOrphanedNodes
Definition cl_Mesh.hpp:166
const TensorMeshConfig * mTensorConfig
Definition cl_Mesh.hpp:170
void update_edge_indices()
Definition cl_Mesh.cpp:429
real & create_global_variable(const string &aLabel, const real aValue=0.0, const id_t aID=0)
Definition cl_Mesh.cpp:544
mesh::Periodicity * mPeriodicity
Definition cl_Mesh.hpp:172
mesh::Block * block(const id_t aID)
Definition cl_Mesh.hpp:1459
string mPath
Definition cl_Mesh.hpp:83
void update_vertex_indices()
Definition cl_Mesh.cpp:478
Bitset< static_cast< size_t >(Connectivity::UNDEFINED)> mConnectivities
Definition cl_Mesh.hpp:168
void set_number_of_partitions(const proc_t &aNumberOfPartitions)
to be called by partitioner
Definition cl_Mesh.hpp:1654
uint mNumberOfFields
Definition cl_Mesh.hpp:121
mesh::Curve * curve(const id_t aID)
return a curve by its ID
Definition cl_Mesh.hpp:1743
bool mNodesAreSorted
Definition cl_Mesh.hpp:154
Cell< mesh::Block * > & blocks()
The mesh owns the blocks; a block owns and deletes its elements.
Definition cl_Mesh.hpp:1718
Vector< real > & create_field(const string &aLabel, const EntityType aEntity=EntityType::NODE, const id_t aID=0)
Definition cl_Mesh.cpp:501
mesh::Basis * basis_by_index(const EntityType aType, const index_t aIndex)
Definition cl_Mesh.hpp:1854
bool has_periodicity() const
Definition cl_Mesh.hpp:1982
bool edges_are_finalized() const
Definition cl_Mesh.hpp:1940
void reset_faces()
Definition cl_Mesh.cpp:1401
mesh::SideSet * sideset(const id_t aID)
Definition cl_Mesh.hpp:1471
Map< id_t, mesh::Edge * > mEdgeMap
Definition cl_Mesh.hpp:137
bool mFacesAreFinalized
Definition cl_Mesh.hpp:151
real mTimeStamp
Definition cl_Mesh.hpp:123
mesh::Node * node(const id_t aID)
Definition cl_Mesh.hpp:1306
bool is_kernel_mesh() const
Definition cl_Mesh.hpp:1822
Cell< mesh::Node * > & nodes()
The nodes.
Definition cl_Mesh.hpp:1710
bool is_finalized() const
Definition cl_Mesh.hpp:1934
Cell< mesh::Element * > & hanging_elements()
Definition cl_Mesh.hpp:1959
mesh::Element * vertex(const id_t aID)
Definition cl_Mesh.hpp:1483
void create_face_map()
special function called by Kernel
Definition cl_Mesh.cpp:1553
mesh::GlobalVariable * global_variable(const id_t aID)
Definition cl_Mesh.hpp:1542
real & time_stamp()
Writable reference to the current time [s].
Definition cl_Mesh.hpp:1591
void collect_elements_from_group(Cell< mesh::Element * > &aElements, const id_t aGroupId, const ElementType aType=ElementType::EMPTY)
Definition cl_Mesh.cpp:681
Map< string, mesh::GlobalVariable * > mGlobalVariableMap
Definition cl_Mesh.hpp:112
std::size_t checksum()
Definition cl_Mesh.cpp:2259
void unfinalize()
unfinalizes all aspects of mesh but edges
Definition cl_Mesh.cpp:839
void save_fields(hid_t aFile)
Definition cl_Mesh.cpp:2934
void create_faces(const bool aPrint=false, const Vector< id_t > aNedelecBlocks=Vector< id_t >(), const Vector< id_t > aNedelecSideSets=Vector< id_t >())
creates the faces on the mesh
Definition cl_Mesh.cpp:1456
void expand_hanging_basis_sources()
Definition cl_Mesh.cpp:2029
void unflag_all_edges(const uint aFlagIndex=0)
Definition cl_Mesh.cpp:1065
bool faces_exist() const
tells if Nedelec faces exist on this mesh
Definition cl_Mesh.hpp:1694
bool faces_are_finalized() const
Definition cl_Mesh.hpp:1947
mesh::Periodicity * periodicity()
Definition cl_Mesh.hpp:1988
uint number_of_blocks() const
Definition cl_Mesh.hpp:1290
void set_number_of_dimensions(const uint &aNumberOfDimensions)
Definition cl_Mesh.hpp:1234
size_t memory() const
Compute the total memory used by the mesh in bytes.
Definition cl_Mesh.cpp:2710
const proc_t mCommRank
Definition cl_Mesh.hpp:67
bool sideset_exists(const id_t aID) const
Definition cl_Mesh.hpp:1670
Map< id_t, mesh::Facet * > mFacetMap
Definition cl_Mesh.hpp:133
void create_edges(const bool aPrint=false, const Vector< id_t > aNedelecBlocks=Vector< id_t >(), const Vector< id_t > aNedelecSideSets=Vector< id_t >(), const bool aCreateEdgesOnAllSideSets=true)
creates the edges on the mesh
Definition cl_Mesh.cpp:1323
uint number_of_global_variables() const
Definition cl_Mesh.hpp:1583
Cell< mesh::Face * > mFaces
Definition cl_Mesh.hpp:90
void partition(const uint &aNumberOfPartitions, const bool aSetProcOwners=true, const bool aForceContinuousPartitions=true, const bool aResetVertexContainers=true)
Only the master rank partitions the mesh and sets the element and node ownerships.
Definition cl_Mesh.cpp:1200
uint mNumberOfDimensions
Definition cl_Mesh.hpp:119
Cell< mesh::Field * > mFields
Definition cl_Mesh.hpp:110
Cell< mesh::Element * > & elements()
A flat list of the elements of all blocks.
Definition cl_Mesh.hpp:1760
string mConfigText
Definition cl_Mesh.hpp:81
void unflag_all_facets(const uint aFlagIndex=0)
Definition cl_Mesh.cpp:1126
mesh::Facet * facet(const id_t aID)
Definition cl_Mesh.hpp:1447
const TensorMeshConfig * tensorconf() const
Definition cl_Mesh.hpp:1218
void save_faces(const string &aPath)
Definition cl_Mesh.cpp:1871
Cell< mesh::GlobalVariable * > & global_variables()
Definition cl_Mesh.hpp:1534
Map< id_t, mesh::Element * > mVertexMap
Definition cl_Mesh.hpp:136
void scale_mesh(const real aFactor)
Multiplies the node and control-point coordinates by aFactor, e.g.
Definition cl_Mesh.cpp:298
uint mMaxElementOrder
Definition cl_Mesh.hpp:143
mesh::Element * element(const id_t aID)
Definition cl_Mesh.hpp:1371
Map< id_t, mesh::Curve * > mCurveMap
Definition cl_Mesh.hpp:140
bool field_exists(const string &aLabel)
Definition cl_Mesh.hpp:1514
Cell< mesh::SideSet * > mSideSets
Definition cl_Mesh.hpp:105
void reset_mesh_checker_flag()
Definition cl_Mesh.hpp:2003
void update_control_point_indices()
Definition cl_Mesh.cpp:490
void set_connectivity(const Connectivity aConnectivity)
Definition cl_Mesh.hpp:1622
mesh::Basis * basis(const EntityType aType, const id_t aID)
Definition cl_Mesh.hpp:1891
const proc_t & master() const
return the ID of the proc that owns this mesh
Definition cl_Mesh.hpp:1646
mesh::Face * face(const id_t aID)
Definition cl_Mesh.hpp:1351
Cell< mesh::ControlPoint * > mControlPoints
Definition cl_Mesh.hpp:91
Map< string, mesh::Field * > mFieldMap
Definition cl_Mesh.hpp:114
void reset_edges()
Definition cl_Mesh.cpp:1346
Cell< mesh::Node * > mHangingNodes
Definition cl_Mesh.hpp:97
Cell< mesh::Node * > & orphaned_nodes()
Definition cl_Mesh.hpp:1846
Cell< mesh::Curve * > mCurves
Definition cl_Mesh.hpp:106
void set_mesh_checker_flag()
Definition cl_Mesh.hpp:1997
void set_abstract_nodes(Cell< mesh::Node * > &aNodes)
Adopts the nodes.
Definition cl_Mesh.cpp:2202
Hash mHash
Definition cl_Mesh.hpp:73
Cell< mesh::Edge * > mEdges
Definition cl_Mesh.hpp:89
index_t number_of_control_points() const
Definition cl_Mesh.hpp:1282
Mesh(const uint aNumberOfDimensions, const proc_t aMasterProc=0, const bool aComputeConnectivities=true)
creates an empty mesh container but specifies number of dimension
Definition cl_Mesh.cpp:82
void finalize()
finalizes all aspects of the mesh; edges and faces are finalized too when connectivities are computed
Definition cl_Mesh.cpp:746
mesh::ControlPoint * control_point(const id_t aID)
Definition cl_Mesh.hpp:1405
Cell< mesh::ControlPoint * > & hanging_control_points()
Definition cl_Mesh.hpp:1960
Cell< mesh::Face * > & hanging_faces()
Definition cl_Mesh.hpp:1957
const string & config_text() const
Definition cl_Mesh.cpp:2296
Cell< mesh::GlobalVariable * > mGlobalVariables
Definition cl_Mesh.hpp:109
void flag_curved_elements()
flags elements that are curved
Definition cl_Mesh.cpp:1720
void load_fields(hid_t aFile)
Definition cl_Mesh.cpp:3021
uint64_t mConfigTag
Definition cl_Mesh.hpp:80
void finalize_edges()
Definition cl_Mesh.cpp:934
bool test_connectivity(const Connectivity aConnectivity)
Definition cl_Mesh.hpp:1638
Cell< mesh::Node * > & abstract_nodes()
Definition cl_Mesh.hpp:1838
void collect_hanging_basis()
Definition cl_Mesh.cpp:2017
Cell< mesh::Node * > mNodes
Definition cl_Mesh.hpp:86
real & global_variable_data(const string &aLabel)
Definition cl_Mesh.hpp:1558
id_t max_node_id()
Definition cl_Mesh.cpp:2065
Cell< mesh::Node * > mAutoPins
Definition cl_Mesh.hpp:164
void update_ownerships()
Definition cl_Mesh.cpp:1580
Cell< mesh::ThinShell * > mThinShells
Definition cl_Mesh.hpp:107
Map< id_t, mesh::SideSet * > mSideSetMap
Definition cl_Mesh.hpp:135
const uint & max_element_order() const
return the max interpolation order on the mesh
Definition cl_Mesh.hpp:1702
uint mTimeStep
Definition cl_Mesh.hpp:124
void unflag_everything(const uint aFlagIndex=0)
Definition cl_Mesh.cpp:1024
bool element_exists(const id_t aID) const
Definition cl_Mesh.hpp:1363
Cell< mesh::Face * > mHangingFaces
Definition cl_Mesh.hpp:99
void unflag_all_vertices(const uint aFlagIndex=0)
Definition cl_Mesh.cpp:1178
bool is_tensormesh() const
Definition cl_Mesh.hpp:1210
bool mComputeFacetOrientationsWhenFinalizing
Definition cl_Mesh.hpp:157
index_t number_of_hanging_basis() const
Definition cl_Mesh.hpp:1963
Cell< mesh::Edge * > & hanging_edges()
Definition cl_Mesh.hpp:1956
Cell< mesh::Element * > & boundary_edges()
The line elements of a 3D Gmsh mesh; owned and deleted by the mesh.
Definition cl_Mesh.hpp:1798
bool mIsFinalized
flag telling if mesh is finalized (master only)
Definition cl_Mesh.hpp:149
void add_block(mesh::Block *aBlock)
Takes ownership of aBlock: ~Mesh deletes the block and, through it, its elements.
Definition cl_Mesh.cpp:2173
void set_config_tag(const uint64_t aTag, const string &aText)
Definition cl_Mesh.cpp:2279
Cell< mesh::Facet * > & hanging_facets()
Definition cl_Mesh.hpp:1958
Map< id_t, mesh::Face * > mFaceMap
Definition cl_Mesh.hpp:138
index_t number_of_nodes() const
Definition cl_Mesh.hpp:1242
Cell< mesh::Element * > mElements
Definition cl_Mesh.hpp:85
Cell< mesh::Edge * > & edges()
Owned and deleted by the mesh.
Definition cl_Mesh.hpp:1782
void force_checksum(const std::size_t aChecksum)
Definition cl_Mesh.cpp:2271
Mesh * extract_thin_shell_mesh()
Returns a newly allocated mesh the caller owns and deletes.
Definition cl_Mesh.cpp:2456
Definition cl_TensorMeshConfig.hpp:25
uint num_control_points(const uint aDimension=BELFEM_UINT_MAX) const
Definition cl_TensorMeshConfig.hpp:127
index_t node_index(const index_t i, const index_t j) const
Definition cl_TensorMeshConfig.hpp:158
index_t element_index(const index_t i, const index_t j) const
Definition cl_TensorMeshConfig.hpp:178
Definition cl_Mesh_Basis.hpp:33
Definition cl_Block.hpp:27
Definition cl_ControlPoint.hpp:27
Definition cl_Curve.hpp:27
Special Edge class for NEDELEC-Type elements.
Definition cl_Edge.hpp:30
Lagrange Element baseclass.
Definition cl_Element.hpp:35
Definition cl_Face.hpp:29
Definition cl_Facet.hpp:24
Definition cl_Mesh_Field.hpp:28
Definition cl_Mesh_GlobalVariable.hpp:24
Definition cl_Mesh_GmshReader.hpp:40
Creates a Periodicity object by matching nodes on two periodic boundary planes.
Definition cl_Mesh_PeriodicityFactory.hpp:34
Stores matched periodic boundary entity pairs (nodes, edges, faces).
Definition cl_Mesh_Periodicity.hpp:39
Definition cl_ProtoMesh.hpp:39
Definition cl_SideSet.hpp:29
Definition cl_EF_EdgeFunction.hpp:24
void collect_hanging_basis(Cell< T * > &aBasis, Cell< T * > &aHangingBasis)
Definition cl_Mesh.hpp:2019
uint compute_facet_index(Facet *aFacet, Element *aElement, Cell< Node * > &aNodes)
Definition cl_Mesh.cpp:46
USER GUIDES:
Definition cl_Capacitor.cpp:16
int hid_t
Definition hdf5_types.hpp:20
unsigned int uint
Definition typedefs.hpp:30
unsigned int id_t
Definition typedefs.hpp:41
Connectivity
Definition Mesh_Enums.hpp:145
@ UNDEFINED
Definition Mesh_Enums.hpp:182
int proc_t
Definition commtypes.hpp:29
ElementType
Element types.
Definition Mesh_Enums.hpp:27
@ EMPTY
Definition Mesh_Enums.hpp:28
EntityType
Definition Mesh_Enums.hpp:116
@ NODE
Definition Mesh_Enums.hpp:117
@ FACE
Definition Mesh_Enums.hpp:119
@ CONTROLPOINT
Definition Mesh_Enums.hpp:123
@ EDGE
Definition Mesh_Enums.hpp:118
@ FACET
Definition Mesh_Enums.hpp:121
@ ELEMENT
Definition Mesh_Enums.hpp:122
uint32_t index_t
Definition typedefs.hpp:52
double real
Definition typedefs.hpp:36
Definition GmshReader.py:1