OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
#include "refinedmesh.h"
#include "domain.h"
#include "element.h"
#include "node.h"
#include "refinedelement.h"
Go to the source code of this file.
Namespaces | |
oofem | |
the oofem namespace is to define a context or scope in which all oofem names are defined. | |
Macros | |
#define | EDGE_ELEM 1 |
#define | FACE_ELEM 2 |
#define | QUAD_ELEM 3 |
#define | TETRA_ELEM 4 |
#define | HEXA_ELEM 5 |
#define | CUMUL_EDGES ( fe_edges ) |
#define | CUMUL_FACES ( fe_edges + fe_faces ) |
#define | CUMUL_QUADS ( fe_edges + fe_faces + fe_quads ) |
#define | CUMUL_TETRAS ( fe_edges + fe_faces + fe_quads + fe_tetras ) |
#define | CUMUL_HEXAS ( fe_edges + fe_faces + fe_quads + fe_tetras + fe_hexas ) |
#define | elem_type(ID) |
#define | is_edge(ID) ( ( elem_type(ID) == EDGE_ELEM ) ? 1 : 0 ) |
#define | is_face(ID) ( ( elem_type(ID) == FACE_ELEM ) ? 1 : 0 ) |
#define | is_quad(ID) ( ( elem_type(ID) == QUAD_ELEM ) ? 1 : 0 ) |
#define | is_tetra(ID) ( ( elem_type(ID) == TETRA_ELEM ) ? 1 : 0 ) |
#define | is_hexa(ID) ( ( elem_type(ID) == HEXA_ELEM ) ? 1 : 0 ) |
#define | global_edge_id(ID) ( ( ID ) ) |
#define | global_face_id(ID) ( ( ID ) + CUMUL_EDGES ) |
#define | global_quad_id(ID) ( ( ID ) + CUMUL_FACES ) |
#define | global_tetra_id(ID) ( ( ID ) + CUMUL_QUADS ) |
#define | global_hexa_id(ID) ( ( ID ) + CUMUL_TETRAS ) |
#define | local_edge_id(ID) ( ( ID ) ) |
#define | local_face_id(ID) ( ( ID ) -CUMUL_EDGES ) |
#define | local_quad_id(ID) ( ( ID ) -CUMUL_FACES ) |
#define | local_tetra_id(ID) ( ( ID ) -CUMUL_QUADS ) |
#define | local_hexa_id(ID) ( ( ID ) -CUMUL_TETRAS ) |
#define | matrix_2d(ARRAY, U, V) ( ARRAY ) [ ( level + 2 ) * ( V ) + ( U ) ] |
#define | matrix_3d(ARRAY, U, V, W) ( ARRAY ) [ ( level + 2 ) * ( level + 2 ) * ( W ) + ( level + 2 ) * ( V ) + ( U ) ] |
#define | error_message(MSG) { OOFEM_LOG_RELEVANT( "refineMeshGlobally: %s\n", ( MSG ) ); return ( -1 ); } |
#define CUMUL_EDGES ( fe_edges ) |
Definition at line 49 of file refinedmesh.C.
#define CUMUL_FACES ( fe_edges + fe_faces ) |
Definition at line 50 of file refinedmesh.C.
#define CUMUL_HEXAS ( fe_edges + fe_faces + fe_quads + fe_tetras + fe_hexas ) |
Definition at line 53 of file refinedmesh.C.
#define CUMUL_QUADS ( fe_edges + fe_faces + fe_quads ) |
Definition at line 51 of file refinedmesh.C.
#define CUMUL_TETRAS ( fe_edges + fe_faces + fe_quads + fe_tetras ) |
Definition at line 52 of file refinedmesh.C.
#define EDGE_ELEM 1 |
Definition at line 42 of file refinedmesh.C.
Referenced by oofem::RefinedMesh::refineMeshGlobally().
#define elem_type | ( | ID | ) |
Definition at line 57 of file refinedmesh.C.
Referenced by oofem::RefinedMesh::refineMeshGlobally().
#define error_message | ( | MSG | ) | { OOFEM_LOG_RELEVANT( "refineMeshGlobally: %s\n", ( MSG ) ); return ( -1 ); } |
Definition at line 96 of file refinedmesh.C.
Referenced by oofem::RefinedMesh::refineMeshGlobally().
#define FACE_ELEM 2 |
Definition at line 43 of file refinedmesh.C.
Referenced by oofem::RefinedMesh::refineMeshGlobally().
#define global_edge_id | ( | ID | ) | ( ( ID ) ) |
Definition at line 78 of file refinedmesh.C.
#define global_face_id | ( | ID | ) | ( ( ID ) + CUMUL_EDGES ) |
Definition at line 79 of file refinedmesh.C.
Referenced by oofem::RefinedMesh::refineMeshGlobally().
#define global_hexa_id | ( | ID | ) | ( ( ID ) + CUMUL_TETRAS ) |
Definition at line 82 of file refinedmesh.C.
Referenced by oofem::RefinedMesh::refineMeshGlobally().
#define global_quad_id | ( | ID | ) | ( ( ID ) + CUMUL_FACES ) |
Definition at line 80 of file refinedmesh.C.
Referenced by oofem::RefinedMesh::refineMeshGlobally().
#define global_tetra_id | ( | ID | ) | ( ( ID ) + CUMUL_QUADS ) |
Definition at line 81 of file refinedmesh.C.
Referenced by oofem::RefinedMesh::refineMeshGlobally().
#define HEXA_ELEM 5 |
Definition at line 46 of file refinedmesh.C.
Referenced by oofem::RefinedMesh::refineMeshGlobally().
Definition at line 63 of file refinedmesh.C.
Referenced by oofem::RefinedMesh::refineMeshGlobally().
Definition at line 64 of file refinedmesh.C.
Referenced by oofem::RefinedMesh::refineMeshGlobally().
Definition at line 67 of file refinedmesh.C.
Referenced by oofem::RefinedMesh::refineMeshGlobally().
Definition at line 65 of file refinedmesh.C.
Referenced by oofem::RefinedMesh::refineMeshGlobally().
#define is_tetra | ( | ID | ) | ( ( elem_type(ID) == TETRA_ELEM ) ? 1 : 0 ) |
Definition at line 66 of file refinedmesh.C.
Referenced by oofem::RefinedMesh::refineMeshGlobally().
#define local_edge_id | ( | ID | ) | ( ( ID ) ) |
Definition at line 85 of file refinedmesh.C.
Referenced by oofem::RefinedMesh::refineMeshGlobally().
#define local_face_id | ( | ID | ) | ( ( ID ) -CUMUL_EDGES ) |
Definition at line 86 of file refinedmesh.C.
Referenced by oofem::RefinedMesh::refineMeshGlobally().
#define local_hexa_id | ( | ID | ) | ( ( ID ) -CUMUL_TETRAS ) |
Definition at line 89 of file refinedmesh.C.
Referenced by oofem::RefinedMesh::refineMeshGlobally().
#define local_quad_id | ( | ID | ) | ( ( ID ) -CUMUL_FACES ) |
Definition at line 87 of file refinedmesh.C.
Referenced by oofem::RefinedMesh::refineMeshGlobally().
#define local_tetra_id | ( | ID | ) | ( ( ID ) -CUMUL_QUADS ) |
Definition at line 88 of file refinedmesh.C.
Referenced by oofem::RefinedMesh::refineMeshGlobally().
#define matrix_2d | ( | ARRAY, | |
U, | |||
V | |||
) | ( ARRAY ) [ ( level + 2 ) * ( V ) + ( U ) ] |
Definition at line 92 of file refinedmesh.C.
#define matrix_3d | ( | ARRAY, | |
U, | |||
V, | |||
W | |||
) | ( ARRAY ) [ ( level + 2 ) * ( level + 2 ) * ( W ) + ( level + 2 ) * ( V ) + ( U ) ] |
Definition at line 93 of file refinedmesh.C.
Referenced by oofem::RefinedMesh::refineMeshGlobally().
#define QUAD_ELEM 3 |
Definition at line 44 of file refinedmesh.C.
Referenced by oofem::RefinedMesh::refineMeshGlobally().
#define TETRA_ELEM 4 |
Definition at line 45 of file refinedmesh.C.
Referenced by oofem::RefinedMesh::refineMeshGlobally().