GemaMesh
The GeMA Mesh Plugin
Loading...
Searching...
No Matches
gmpGemaMeshConfig.h File Reference

Declaration of useful configuration definitions for the plugin library. More...

#include <QtCore/QtGlobal>
Include dependency graph for gmpGemaMeshConfig.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GMP_GEMAMESH_API_EXPORT   Q_DECL_IMPORT
 
#define GMP_GEMAMESH_CELL_MESH_BITS   3
 The number of bits used to encode a mesh id inside the cell id.
 
#define GMP_GEMAMESH_CELL_ID_BITS   (32 - 1 - GMP_GEMAMESH_CELL_MESH_BITS)
 The number of bits effectivelly used to encode the cell id inside a 32 bits integer, taking into account 1 bit for the active flag and the number of bits used for the mesh id.
 
#define GMP_GEMAMESH_MAX_NUM_MESHES   (1 << GMP_GEMAMESH_CELL_MESH_BITS)
 The maximum number of allowed meshes.
 
#define GMP_GEMAMESH_MAX_NUM_CELLS   (1 << GMP_GEMAMESH_CELL_ID_BITS)
 The maximum number of allowed cells.
 
#define GMP_GEMAMESH_MAX_HTYPES   3
 The maximum number of distinct hierarchical type orders that can be used simmultaneously. When changing this value, keep in mind that the GmpHElementFactory() function should be changed accordingly since it must splicitely instance a template type for each value between 0 and GmpCellMeshDataMaxHTypes - 1.
 

Detailed Description

Declaration of useful configuration definitions for the plugin library.

Author
Carlos Augusto Teixeira Mendes
Date
february, 2017