LehrFEM++ 1.0.0
A simple Finite Element Library for teaching
Loading...
Searching...
No Matches
Public Attributes | List of all members
lf::io::GMshFileV2::Element Struct Reference

Represents a mesh volume/surface/line/point. More...

#include <lf/io/gmsh_file_v2.h>

Public Attributes

size_type Number = 0
 
ElementType Type = ElementType::POINT
 The element type.
 
int PhysicalEntityNr = 0
 The Number of the Physical Entity to which this element belongs (this is the first tag written in the .msh file)
 
int ElementaryEntityNr = 0
 The number of the elementary entity to which this element belongs (second element tag in .msh file)
 
std::vector< int > MeshPartitions
 The id's of the partition to which this element belongs.
 
std::vector< size_typeNodeNumbers
 Contains the node numbers that make up this element (depends on the element type to)
 

Detailed Description

Represents a mesh volume/surface/line/point.

Attention
In comparison to HyDi in GMSH every "entity" is referred to as an "element"

Definition at line 151 of file gmsh_file_v2.h.

Member Data Documentation

◆ ElementaryEntityNr

int lf::io::GMshFileV2::Element::ElementaryEntityNr = 0

The number of the elementary entity to which this element belongs (second element tag in .msh file)

An elementary entity is an entity that was specifically set by the user to define the geometry that should be meshed. This is the number that was given by the user to the point/line/surface/volume.

Definition at line 171 of file gmsh_file_v2.h.

◆ MeshPartitions

std::vector<int> lf::io::GMshFileV2::Element::MeshPartitions

The id's of the partition to which this element belongs.

Note
Negative partition id's indicate ghost cells.
If the user did not partition the mesh, this is just an empty vector.

Definition at line 179 of file gmsh_file_v2.h.

◆ NodeNumbers

std::vector<size_type> lf::io::GMshFileV2::Element::NodeNumbers

Contains the node numbers that make up this element (depends on the element type to)

Note
The node number in this vector agrees with Nodes.first.

Definition at line 186 of file gmsh_file_v2.h.

◆ Number

size_type lf::io::GMshFileV2::Element::Number = 0

The number of this element in the mesh. They are not necessarily dense or ordered in sequence.

Definition at line 154 of file gmsh_file_v2.h.

◆ PhysicalEntityNr

int lf::io::GMshFileV2::Element::PhysicalEntityNr = 0

The Number of the Physical Entity to which this element belongs (this is the first tag written in the .msh file)

Note
Two Physical Entities with different dimensions can have the same number!

Definition at line 162 of file gmsh_file_v2.h.

◆ Type

ElementType lf::io::GMshFileV2::Element::Type = ElementType::POINT

The element type.

Definition at line 156 of file gmsh_file_v2.h.


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