LehrFEM++ 1.0.0
A simple Finite Element Library for teaching
Loading...
Searching...
No Matches
lf::io::GMshFileV4::ElementBlock Struct Reference

Represents number of mesh elements (such as triangles/quadrilaterals/points/lines) that share the same properties. More...

#include <lf/io/gmsh_file_v4.h>

Public Attributes

int dimension = -1
 Dimension of the elements in this block.
 
int entity_tag = -1
 Tag of the entity to which elements in this block belong. If the mesh is not partitioned, this references a entities.tag. Otherwise it references a partitioned entity partitioned_entities.tag.
 
ElementType element_type = ElementType::EDGE2
 type of the elements in this block
 
std::vector< std::pair< std::size_t, std::vector< std::size_t > > > elements
 The elements in this block.
 

Detailed Description

Represents number of mesh elements (such as triangles/quadrilaterals/points/lines) that share the same properties.

Attention
In comparison to LehrFEM++, in GMSH every "entity" is referred to as an "element"

Definition at line 394 of file gmsh_file_v4.h.

Member Data Documentation

◆ dimension

int lf::io::GMshFileV4::ElementBlock::dimension = -1

Dimension of the elements in this block.

Definition at line 396 of file gmsh_file_v4.h.

◆ element_type

ElementType lf::io::GMshFileV4::ElementBlock::element_type = ElementType::EDGE2

type of the elements in this block

Definition at line 406 of file gmsh_file_v4.h.

◆ elements

std::vector<std::pair<std::size_t, std::vector<std::size_t> > > lf::io::GMshFileV4::ElementBlock::elements

The elements in this block.

  • std::get<0>(elements[i]) is the unique tag of this element
  • std::get<1>(elements[i]) lists the node tags that make up this element.

Definition at line 415 of file gmsh_file_v4.h.

◆ entity_tag

int lf::io::GMshFileV4::ElementBlock::entity_tag = -1

Tag of the entity to which elements in this block belong. If the mesh is not partitioned, this references a entities.tag. Otherwise it references a partitioned entity partitioned_entities.tag.

Definition at line 403 of file gmsh_file_v4.h.


The documentation for this struct was generated from the following file: