#include <cl_Block.hpp>
Public Member Functions | |
| Block (const id_t aID, const index_t aNumElements) | |
| ~Block () | |
| id_t | id () const |
| index_t | index () const |
| void | set_index (const index_t aIndex) |
| void | insert_element (Element *aElement) |
| Element * | element (const index_t aIndex) |
| Cell< Element * > & | elements () |
| index_t | number_of_elements () const |
| string & | label () |
| ElementType | element_type () const |
| bool | has_edges () const |
| function telling if elements in this group have edges ( default : false ) | |
| bool | has_faces () const |
| function telling if elements in this group have faces ( default : false ) | |
| bool | is_hidden () const |
| void | set_edges_flag (const bool aFlag=true) |
| void | set_faces_flag (const bool aFlag=true) |
| void | flag_elements (const uint8_t aFlagIndex=0) |
| void | unflag_elements (const uint8_t aFlagIndex=0) |
| void | flag_nodes () |
| void | unflag_nodes () |
| void | flag_corner_nodes () |
| void | flag_edges () |
| void | flag_faces () |
| DomainType | domain_type () const |
| void | set_domain_type (const DomainType aType) |
| void | set_thickness (const real aThickness) |
| real | thickness () const |
| void | set_element_counter (const index_t aCounter) |
| size_t | memory () const |
Protected Attributes | |
| id_t | mID |
| index_t | mIndex = gNoIndex |
| index_t | mElementCounter = 0 |
| Cell< Element * > | mElements |
| DomainType | mDomainType = DomainType::Default |
| string | mLabel |
| bool | mHasEdges = false |
| flag telling if elements on this block have edges | |
| bool | mHasFaces = false |
| flag telling if elements on this block have faces | |
| bool | mIsHidden = false |
| flag telling if block is visualized in VTK tool (not exodus output) | |
| real | mThickness = BELFEM_QUIET_NAN |
| thickness, only used for thin shells | |
| friend | GmshReader |
| belfem::mesh::Block::~Block | ( | ) |
|
inline |
|
inline |
| void belfem::mesh::Block::flag_corner_nodes | ( | ) |
| void belfem::mesh::Block::flag_edges | ( | ) |
| void belfem::mesh::Block::flag_elements | ( | const uint8_t | aFlagIndex = 0 | ) |
| void belfem::mesh::Block::flag_faces | ( | ) |
| void belfem::mesh::Block::flag_nodes | ( | ) |
|
inline |
function telling if elements in this group have edges ( default : false )
|
inline |
function telling if elements in this group have faces ( default : false )
|
inline |
|
inline |
| void belfem::mesh::Block::insert_element | ( | Element * | aElement | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void belfem::mesh::Block::set_edges_flag | ( | const bool | aFlag = true | ) |
|
inline |
| void belfem::mesh::Block::set_faces_flag | ( | const bool | aFlag = true | ) |
|
inline |
|
inline |
|
inline |
| void belfem::mesh::Block::unflag_elements | ( | const uint8_t | aFlagIndex = 0 | ) |
| void belfem::mesh::Block::unflag_nodes | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
flag telling if elements on this block have edges
|
protected |
flag telling if elements on this block have faces
|
protected |
|
protected |
flag telling if block is visualized in VTK tool (not exodus output)
|
protected |
|
protected |
thickness, only used for thin shells