GemaCoreLib
The GeMA Core library
Loading...
Searching...
No Matches
gmElementMesh.h File Reference

Declaration of the GmElementMesh interface class. More...

#include "gmCell.h"
#include "gmCellMesh.h"
#include "gmIntegrationRule.h"
#include "gmGaussValueSetGroup.h"
Include dependency graph for gmElementMesh.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GmElementMesh
 Base interface for FEM (finite element) meshes. More...
 

Macros

#define GmForeachActiveElement(variable, mesh)
 Similar to GmForeachActiveCell() for element meshes. The variable should be a GmElement* or a const GmElement*.
 
#define GmForeachElement(variable, mesh, activeOnly)
 Similar to GmForeachActiveElement but with a flag (activeOnly) controlling if all elements will be traversed or only the active ones.
 
#define GmForeachOrderedElement(variable, mesh, activeOnly, modelOrder)
 Similar to GmForeachElement but with an added parameter (modelOrder) to control if the mesh should be traversed in the original cell model order or not.
 

Detailed Description

Declaration of the GmElementMesh interface class.

Author
Carlos Augusto Teixeira Mendes
Date
may, 2015

Macro Definition Documentation

◆ GmForeachActiveElement

#define GmForeachActiveElement ( variable,
mesh )
Value:
Base interface for FEM (finite element) mesh elements.
Definition gmElement.h:38
Base interface for FEM (finite element) meshes.
Definition gmElementMesh.h:42
#define GmForeachCellHelper(variable, container, contType, cellType, activeOnly)
Helper macro used to traverse all the (active) cells in a generic container. Should NOT be used in us...
Definition gmCellMesh.h:520

Similar to GmForeachActiveCell() for element meshes. The variable should be a GmElement* or a const GmElement*.

◆ GmForeachElement

#define GmForeachElement ( variable,
mesh,
activeOnly )
Value:
GmForeachCellHelper(variable, mesh, GmElementMesh, GmElement, activeOnly)

Similar to GmForeachActiveElement but with a flag (activeOnly) controlling if all elements will be traversed or only the active ones.

◆ GmForeachOrderedElement

#define GmForeachOrderedElement ( variable,
mesh,
activeOnly,
modelOrder )
Value:
GmForeachOrderedCellHelper(variable, mesh, GmElementMesh, GmElement, activeOnly, modelOrder ? (mesh)->pcrObject() : NULL)

Similar to GmForeachElement but with an added parameter (modelOrder) to control if the mesh should be traversed in the original cell model order or not.