12#ifndef BELFEM_CL_BLOCK_HPP
13#define BELFEM_CL_BLOCK_HPP
97 "Invalid Element index %lu in block %lu",
98 (
long unsigned int ) aIndex,
99 (
long unsigned int )
mID );
134 (
unsigned int )
mID );
278 return sizeof(
Block )
280 +
mLabel.capacity() *
sizeof( char ) ;
#define BELFEM_ASSERT(aCheck,...)
Definition assert.hpp:244
Cell is a wrapper around the standard vector.
Definition cl_Cell.hpp:42
size_t size() const
return the size of the Cell
Definition cl_Cell.hpp:181
id_t id() const
Definition cl_Block.hpp:70
bool mHasFaces
flag telling if elements on this block have faces
Definition cl_Block.hpp:47
friend GmshReader
Definition cl_Block.hpp:55
void set_edges_flag(const bool aFlag=true)
Definition cl_Block.cpp:139
bool has_faces() const
function telling if elements in this group have faces ( default : false )
Definition cl_Block.hpp:159
void set_domain_type(const DomainType aType)
Definition cl_Block.hpp:253
DomainType domain_type() const
Definition cl_Block.hpp:245
void flag_nodes()
Definition cl_Block.cpp:78
index_t number_of_elements() const
Definition cl_Block.hpp:115
void set_index(const index_t aIndex)
Definition cl_Block.hpp:82
index_t index() const
Definition cl_Block.hpp:76
string & label()
Definition cl_Block.hpp:123
Block(const id_t aID, const index_t aNumElements)
Definition cl_Block.cpp:21
void set_thickness(const real aThickness)
Definition cl_Block.hpp:261
real mThickness
thickness, only used for thin shells
Definition cl_Block.hpp:53
bool is_hidden() const
Definition cl_Block.hpp:167
bool mHasEdges
flag telling if elements on this block have edges
Definition cl_Block.hpp:44
bool has_edges() const
function telling if elements in this group have edges ( default : false )
Definition cl_Block.hpp:147
void unflag_nodes()
Definition cl_Block.cpp:89
void flag_elements(const uint8_t aFlagIndex=0)
Definition cl_Block.cpp:56
void flag_faces()
Definition cl_Block.cpp:125
Cell< Element * > & elements()
Definition cl_Block.hpp:107
bool mIsHidden
flag telling if block is visualized in VTK tool (not exodus output)
Definition cl_Block.hpp:50
void insert_element(Element *aElement)
Definition cl_Block.cpp:45
index_t mElementCounter
Definition cl_Block.hpp:35
real thickness() const
Definition cl_Block.hpp:269
void flag_edges()
Definition cl_Block.cpp:111
void flag_corner_nodes()
Definition cl_Block.cpp:100
index_t mIndex
Definition cl_Block.hpp:33
id_t mID
Definition cl_Block.hpp:32
DomainType mDomainType
Definition cl_Block.hpp:39
string mLabel
Definition cl_Block.hpp:41
ElementType element_type() const
Definition cl_Block.hpp:131
void set_faces_flag(const bool aFlag=true)
Definition cl_Block.cpp:145
void set_element_counter(const index_t aCounter)
Definition cl_Block.hpp:285
Element * element(const index_t aIndex)
Definition cl_Block.hpp:94
Cell< Element * > mElements
Definition cl_Block.hpp:37
size_t memory() const
Definition cl_Block.hpp:276
Lagrange Element baseclass.
Definition cl_Element.hpp:35
Definition cl_Mesh_GmshReader.hpp:40
Definition cl_EF_EdgeFunction.hpp:17
void unflag_elements(Cell< Element * > &aElements)
Definition fn_unflag_elements.hpp:24
USER GUIDES:
Definition cl_Capacitor.cpp:16
unsigned int id_t
Definition typedefs.hpp:41
ElementType
Element types.
Definition Mesh_Enums.hpp:27
DomainType domain_type(const string &aString)
Definition en_DomainType.cpp:103
constexpr index_t gNoIndex
Definition typedefs.hpp:57
uint32_t index_t
Definition typedefs.hpp:52
double real
Definition typedefs.hpp:36
DomainType
Definition en_DomainType.hpp:20
@ Default
Definition en_DomainType.hpp:21
#define BELFEM_QUIET_NAN
Definition typedefs.hpp:87