PeriDEM 0.2.0
PeriDEM -- Peridynamics-based high-fidelity model for granular media
Loading...
Searching...
No Matches
GlobalVars

VTK Element types

static const int util::vtk_type_vertex = 1
 Integer flag for vertex (point) element.
 
static const int util::vtk_type_poly_vertex = 2
 Integer flag for poly vertex element.
 
static const int util::vtk_type_line = 3
 Integer flag for line element.
 
static const int util::vtk_type_poly_line = 4
 Integer flag for poly line element.
 
static const int util::vtk_type_triangle = 5
 Integer flag for triangle element.
 
static const int util::vtk_type_triangle_strip = 6
 Integer flag for triangle strip element.
 
static const int util::vtk_type_polygon = 7
 Integer flag for polygon element.
 
static const int util::vtk_type_pixel = 8
 Integer flag for pixel element.
 
static const int util::vtk_type_quad = 9
 Integer flag for quad element.
 
static const int util::vtk_type_tetra = 10
 Integer flag for tetrahedron element.
 
static const int util::vtk_type_voxel = 11
 Integer flag for voxel element.
 
static const int util::vtk_type_hexahedron = 12
 Integer flag for hexahedron element.
 
static const int util::vtk_type_wedge = 13
 Integer flag for wedge element.
 
static const int util::vtk_type_pyramid = 14
 Integer flag for pyramid element.
 
static int util::vtk_map_element_to_num_nodes [16]
 Map from element type to number of nodes (for vtk)
 
static int util::vtk_to_msh_element_type_map [16]
 Map from vtk element type to msh element type.
 

Gmsh Element types

static const int util::msh_type_line = 1
 Integer flag for line element.
 
static const int util::msh_type_triangle = 2
 Integer flag for triangle element.
 
static const int util::msh_type_quadrangle = 3
 Integer flag for quadrangle element.
 
static const int util::msh_type_tetrahedron = 4
 Integer flag for tetrahedron element.
 
static const int util::msh_type_hexahedron = 5
 Integer flag for hexahedron element.
 
static const int util::msh_type_prism = 6
 Integer flag for prism element.
 
static const int util::msh_type_pyramid = 7
 Integer flag for pyramid element.
 
static const int util::msh_type_line_second_order = 8
 Integer flag for line (second order) element.
 
static const int util::msh_type_traingle_second_order = 9
 Integer flag for traingle (second order) element.
 
static const int util::msh_type_quadrangle_second_order = 10
 Integer flag for quadrangle (second order) element.
 
static const int util::msh_type_vertex = 15
 Integer flag for vertex (point) element.
 
static int util::msh_map_element_to_num_nodes [16]
 Map from element type to number of nodes (for msh)
 

Fixity mask

#define FREE_MASK   0x000
 Free mask (none of the coordinates are fixed)

 
#define FIX_X_MASK   0x001
 X-coordinate is fixed

 
#define FIX_Y_MASK   0x002
 Y-coordinate is fixed

 
#define FIX_Z_MASK   0x004
 Z-coordinate is fixed

 

Detailed Description

Macro Definition Documentation

◆ FIX_X_MASK

#define FIX_X_MASK   0x001

X-coordinate is fixed

Definition at line 160 of file feElementDefs.h.

◆ FIX_Y_MASK

#define FIX_Y_MASK   0x002

Y-coordinate is fixed

Definition at line 163 of file feElementDefs.h.

◆ FIX_Z_MASK

#define FIX_Z_MASK   0x004

Z-coordinate is fixed

Definition at line 166 of file feElementDefs.h.

◆ FREE_MASK

#define FREE_MASK   0x000

Free mask (none of the coordinates are fixed)

Definition at line 157 of file feElementDefs.h.

Variable Documentation

◆ msh_map_element_to_num_nodes

int util::msh_map_element_to_num_nodes[16]
static
Initial value:
= {0, 2, 3, 4, 4, 8, 6, 5,
3, 6, 10, 0, 0, 0, 0, 1}

Map from element type to number of nodes (for msh)

Definition at line 146 of file feElementDefs.h.

146 {0, 2, 3, 4, 4, 8, 6, 5,
147 3, 6, 10, 0, 0, 0, 0, 1};

Referenced by rw::reader::MshReader::readCells(), and rw::reader::MshReader::readMesh().

◆ msh_type_hexahedron

const int util::msh_type_hexahedron = 5
static

Integer flag for hexahedron element.

Definition at line 125 of file feElementDefs.h.

◆ msh_type_line

const int util::msh_type_line = 1
static

Integer flag for line element.

Definition at line 113 of file feElementDefs.h.

◆ msh_type_line_second_order

const int util::msh_type_line_second_order = 8
static

Integer flag for line (second order) element.

Definition at line 134 of file feElementDefs.h.

◆ msh_type_prism

const int util::msh_type_prism = 6
static

Integer flag for prism element.

Definition at line 128 of file feElementDefs.h.

◆ msh_type_pyramid

const int util::msh_type_pyramid = 7
static

Integer flag for pyramid element.

Definition at line 131 of file feElementDefs.h.

◆ msh_type_quadrangle

const int util::msh_type_quadrangle = 3
static

Integer flag for quadrangle element.

Definition at line 119 of file feElementDefs.h.

Referenced by rw::reader::MshReader::readCells(), and rw::reader::MshReader::readMesh().

◆ msh_type_quadrangle_second_order

const int util::msh_type_quadrangle_second_order = 10
static

Integer flag for quadrangle (second order) element.

Definition at line 140 of file feElementDefs.h.

◆ msh_type_tetrahedron

const int util::msh_type_tetrahedron = 4
static

Integer flag for tetrahedron element.

Definition at line 122 of file feElementDefs.h.

Referenced by rw::reader::MshReader::readCells(), and rw::reader::MshReader::readMesh().

◆ msh_type_traingle_second_order

const int util::msh_type_traingle_second_order = 9
static

Integer flag for traingle (second order) element.

Definition at line 137 of file feElementDefs.h.

◆ msh_type_triangle

const int util::msh_type_triangle = 2
static

Integer flag for triangle element.

Definition at line 116 of file feElementDefs.h.

Referenced by rw::reader::MshReader::readCells(), and rw::reader::MshReader::readMesh().

◆ msh_type_vertex

const int util::msh_type_vertex = 15
static

Integer flag for vertex (point) element.

Definition at line 143 of file feElementDefs.h.

◆ vtk_map_element_to_num_nodes

int util::vtk_map_element_to_num_nodes[16]
static
Initial value:
= {0, 1, -1, 2, -1, 3, -1, -1,
4, 4, 4, 8, 8, 6, 5, -1}

Map from element type to number of nodes (for vtk)

Definition at line 85 of file feElementDefs.h.

85 {0, 1, -1, 2, -1, 3, -1, -1,
86 4, 4, 4, 8, 8, 6, 5, -1};

Referenced by rw::writer::VtkParticleWriter::appendMesh(), rw::writer::MshWriter::appendMesh(), rw::writer::VtkWriter::appendMesh(), fe::Mesh::createData(), fe::createUniformMesh(), rw::reader::VtkReader::readCells(), anonymous_namespace{testFeLib.cpp}::readElements(), and rw::reader::VtkReader::readMesh().

◆ vtk_to_msh_element_type_map

int util::vtk_to_msh_element_type_map[16]
static
Initial value:
= {-1, 15, -1, 1, -1, 2, -1, -1,
-1, 3, 4, -1, 5, 6, 7, -1}

Map from vtk element type to msh element type.

Definition at line 89 of file feElementDefs.h.

89 {-1, 15, -1, 1, -1, 2, -1, -1,
90 -1, 3, 4, -1, 5, 6, 7, -1};

Referenced by rw::writer::MshWriter::appendMesh().

◆ vtk_type_hexahedron

const int util::vtk_type_hexahedron = 12
static

Integer flag for hexahedron element.

Definition at line 76 of file feElementDefs.h.

Referenced by fe::createUniformMesh().

◆ vtk_type_line

const int util::vtk_type_line = 3
static

◆ vtk_type_pixel

const int util::vtk_type_pixel = 8
static

Integer flag for pixel element.

Definition at line 64 of file feElementDefs.h.

◆ vtk_type_poly_line

const int util::vtk_type_poly_line = 4
static

Integer flag for poly line element.

Definition at line 52 of file feElementDefs.h.

◆ vtk_type_poly_vertex

const int util::vtk_type_poly_vertex = 2
static

Integer flag for poly vertex element.

Definition at line 46 of file feElementDefs.h.

◆ vtk_type_polygon

const int util::vtk_type_polygon = 7
static

Integer flag for polygon element.

Definition at line 61 of file feElementDefs.h.

◆ vtk_type_pyramid

const int util::vtk_type_pyramid = 14
static

Integer flag for pyramid element.

Definition at line 82 of file feElementDefs.h.

◆ vtk_type_quad

◆ vtk_type_tetra

◆ vtk_type_triangle

◆ vtk_type_triangle_strip

const int util::vtk_type_triangle_strip = 6
static

Integer flag for triangle strip element.

Definition at line 58 of file feElementDefs.h.

◆ vtk_type_vertex

const int util::vtk_type_vertex = 1
static

Integer flag for vertex (point) element.

Definition at line 43 of file feElementDefs.h.

◆ vtk_type_voxel

const int util::vtk_type_voxel = 11
static

Integer flag for voxel element.

Definition at line 73 of file feElementDefs.h.

◆ vtk_type_wedge

const int util::vtk_type_wedge = 13
static

Integer flag for wedge element.

Definition at line 79 of file feElementDefs.h.