This file sets the global variables to be used during SeismoVLAB execution. More...
#include <vector>
#include <string>
Go to the source code of this file.
Macros | |
#define | PROFILING 0 |
Define if profiler is active (0: no profile, 1: profile code) More... | |
#define | UNUSED(x) |
Define macro for unused parameter. More... | |
#define | GROUP_ELEMENT_TRUSS 10 |
Define group of truss elements, i.e, linear and quadratic for ParaView visualization. More... | |
#define | GROUP_ELEMENT_TRIA 11 |
Define group of triangular elements, i.e, linear and quadratic for ParaView visualization. More... | |
#define | GROUP_ELEMENT_QUAD 12 |
Define group of quadrilateral elements, i.e, linear and quadratic for ParaView visualization. More... | |
#define | GROUP_ELEMENT_TETRA 13 |
Define group of tetrahedra elements, i.e, linear and quadratic for ParaView visualization. More... | |
#define | GROUP_ELEMENT_HEXA 14 |
Define group of hexahedra elements, i.e, linear and quadratic for ParaView visualization. More... | |
#define | GROUP_ELEMENT_FRAME 20 |
Define group of frame elements, i.e, linear and quadratic for ParaView visualization. More... | |
#define | GROUP_ELEMENT_SHELL 21 |
Define group of shell elements, i.e, linear and quadratic for ParaView visualization. More... | |
#define | GROUP_ELEMENT_ZERO 31 |
Define group of zero length elements, i.e, linear and quadratic for ParaView visualization. More... | |
#define | GROUP_ELEMENT_PML 32 |
Define group of perfectly-matched layer elements, i.e, linear and quadratic for ParaView visualization. More... | |
#define | GROUP_ELEMENT_BWEN 41 |
Define group of bouc-wen device elements, i.e, linear and quadratic for ParaView visualization. More... | |
#define | GROUP_ELEMENT_HDRB 42 |
Define group of high-damping rubber bearing device elements, i.e, linear and quadratic for ParaView visualization. More... | |
#define | GROUP_ELEMENT_NULL 50 |
Define group of null elements, i.e, linear and quadratic for ParaView visualization. More... | |
#define | VTK_POINT 1 |
Define ParaView VTK point (1 nodes) element types. More... | |
#define | VTK_LINEAR_LINE 3 |
Define ParaView VTK line (2 nodes) element types. More... | |
#define | VTK_QUADRATIC_LINE 21 |
Define ParaView VTK line (3 nodes) element types. More... | |
#define | VTK_LINEAR_TRIA 5 |
Define ParaView VTK triangular (2 nodes) element types. More... | |
#define | VTK_QUADRATIC_TRIA 22 |
Define ParaView VTK triangular (3 nodes) element types. More... | |
#define | VTK_LINEAR_QUAD 9 |
Define ParaView VTK quadrilateral (4 nodes) element types. More... | |
#define | VTK_QUADRATIC_QUAD 23 |
Define ParaView VTK quadrilateral (8 nodes) element types. More... | |
#define | VTK_LINEAR_TETRA 10 |
Define ParaView VTK tetrahedron (4 nodes) element types. More... | |
#define | VTK_QUADRATIC_TETRA 24 |
Define ParaView VTK tetrahedron (10 nodes) element types. More... | |
#define | VTK_LINEAR_HEXA 12 |
Define ParaView VTK hexahedron (8 nodes) element types. More... | |
#define | VTK_QUADRATIC_HEXA 25 |
Define ParaView VTK hexahedron (20 nodes) element types. More... | |
#define | POINTLOAD_CONCENTRATED_CONSTANT 1 |
Define global load pattern constant concentrated load. More... | |
#define | POINTLOAD_CONCENTRATED_DYNAMIC 2 |
Define global load pattern time dependant concentrated load. More... | |
#define | POINTLOAD_BODY_CONSTANT 3 |
Define global load pattern for a node body load. More... | |
#define | POINTLOAD_BODY_DYNAMIC 4 |
Define global load pattern time dependant for a body load. More... | |
#define | ELEMENTLOAD_SURFACE_CONSTANT 5 |
Define global load pattern for a constant surface load. More... | |
#define | ELEMENTLOAD_SURFACE_DYNAMIC 6 |
Define global load pattern for a time dependant surface load. More... | |
#define | ELEMENTLOAD_BODY_CONSTANT 7 |
Define global load pattern for a constant body load. More... | |
#define | ELEMENTLOAD_BODY_DYNAMIC 8 |
Define global load pattern for a time dependant body load. More... | |
#define | ELEMENTLOAD_DOMAIN_REDUCTION 9 |
Define global load pattern time dependant general wave load. More... | |
#define | POINTLOAD_SUPPORT_MOTION 10 |
Define global load pattern constant/time-dependant support motion load. More... | |
Variables | |
int | rank |
The processor number. More... | |
int | size |
The number of partitions. More... | |
unsigned int | nDimensions |
The problem dimension (1D, 2D, 3D). More... | |
std::string | filePath |
The folder path where the file is loaded. More... | |
std::vector< std::string > | fileName |
The file name to be loaded. More... | |
bool | driverFile |
Whether the driver (JSON) file is provided. More... | |
bool | MassFormulation |
The element mass formulation. More... | |
std::string | UpdateOption |
The update option for member in Mesh. More... | |
unsigned int | LumpedStorage |
Maximum memory for lumped storage sparse matrix. More... | |
unsigned int | ConsistentStorage |
Maximum memory for consistent storage sparse matrix. More... | |
unsigned int | numberOfFreeDofs |
Total number of free-degree-of-freedom. More... | |
unsigned int | numberOfTotalDofs |
Total number of total-degree-of-freedom. More... | |
unsigned int | numberOfConstrainedDofs |
Total number of constrained-degree-of-freedom. More... | |
unsigned int | PMLStorage |
Maximum memory for PML 3D storage sparse matrix. More... | |
This file sets the global variables to be used during SeismoVLAB execution.
#define ELEMENTLOAD_BODY_CONSTANT 7 |
Define global load pattern for a constant body load.
#define ELEMENTLOAD_BODY_DYNAMIC 8 |
Define global load pattern for a time dependant body load.
#define ELEMENTLOAD_DOMAIN_REDUCTION 9 |
Define global load pattern time dependant general wave load.
#define ELEMENTLOAD_SURFACE_CONSTANT 5 |
Define global load pattern for a constant surface load.
#define ELEMENTLOAD_SURFACE_DYNAMIC 6 |
Define global load pattern for a time dependant surface load.
#define GROUP_ELEMENT_BWEN 41 |
Define group of bouc-wen device elements, i.e, linear and quadratic for ParaView visualization.
#define GROUP_ELEMENT_FRAME 20 |
Define group of frame elements, i.e, linear and quadratic for ParaView visualization.
#define GROUP_ELEMENT_HDRB 42 |
Define group of high-damping rubber bearing device elements, i.e, linear and quadratic for ParaView visualization.
#define GROUP_ELEMENT_HEXA 14 |
Define group of hexahedra elements, i.e, linear and quadratic for ParaView visualization.
#define GROUP_ELEMENT_NULL 50 |
Define group of null elements, i.e, linear and quadratic for ParaView visualization.
#define GROUP_ELEMENT_PML 32 |
Define group of perfectly-matched layer elements, i.e, linear and quadratic for ParaView visualization.
#define GROUP_ELEMENT_QUAD 12 |
Define group of quadrilateral elements, i.e, linear and quadratic for ParaView visualization.
#define GROUP_ELEMENT_SHELL 21 |
Define group of shell elements, i.e, linear and quadratic for ParaView visualization.
#define GROUP_ELEMENT_TETRA 13 |
Define group of tetrahedra elements, i.e, linear and quadratic for ParaView visualization.
#define GROUP_ELEMENT_TRIA 11 |
Define group of triangular elements, i.e, linear and quadratic for ParaView visualization.
#define GROUP_ELEMENT_TRUSS 10 |
Define group of truss elements, i.e, linear and quadratic for ParaView visualization.
#define GROUP_ELEMENT_ZERO 31 |
Define group of zero length elements, i.e, linear and quadratic for ParaView visualization.
#define POINTLOAD_BODY_CONSTANT 3 |
Define global load pattern for a node body load.
#define POINTLOAD_BODY_DYNAMIC 4 |
Define global load pattern time dependant for a body load.
#define POINTLOAD_CONCENTRATED_CONSTANT 1 |
Define global load pattern constant concentrated load.
#define POINTLOAD_CONCENTRATED_DYNAMIC 2 |
Define global load pattern time dependant concentrated load.
#define POINTLOAD_SUPPORT_MOTION 10 |
Define global load pattern constant/time-dependant support motion load.
#define PROFILING 0 |
Define if profiler is active (0: no profile, 1: profile code)
#define UNUSED | ( | x | ) |
Define macro for unused parameter.
#define VTK_LINEAR_HEXA 12 |
Define ParaView VTK hexahedron (8 nodes) element types.
#define VTK_LINEAR_LINE 3 |
Define ParaView VTK line (2 nodes) element types.
#define VTK_LINEAR_QUAD 9 |
Define ParaView VTK quadrilateral (4 nodes) element types.
#define VTK_LINEAR_TETRA 10 |
Define ParaView VTK tetrahedron (4 nodes) element types.
#define VTK_LINEAR_TRIA 5 |
Define ParaView VTK triangular (2 nodes) element types.
#define VTK_POINT 1 |
Define ParaView VTK point (1 nodes) element types.
#define VTK_QUADRATIC_HEXA 25 |
Define ParaView VTK hexahedron (20 nodes) element types.
#define VTK_QUADRATIC_LINE 21 |
Define ParaView VTK line (3 nodes) element types.
#define VTK_QUADRATIC_QUAD 23 |
Define ParaView VTK quadrilateral (8 nodes) element types.
#define VTK_QUADRATIC_TETRA 24 |
Define ParaView VTK tetrahedron (10 nodes) element types.
#define VTK_QUADRATIC_TRIA 22 |
Define ParaView VTK triangular (3 nodes) element types.
unsigned int ConsistentStorage |
Maximum memory for consistent storage sparse matrix.
bool driverFile |
Whether the driver (JSON) file is provided.
std::vector<std::string> fileName |
The file name to be loaded.
std::string filePath |
The folder path where the file is loaded.
unsigned int LumpedStorage |
Maximum memory for lumped storage sparse matrix.
bool MassFormulation |
The element mass formulation.
unsigned int nDimensions |
The problem dimension (1D, 2D, 3D).
unsigned int numberOfConstrainedDofs |
Total number of constrained-degree-of-freedom.
unsigned int numberOfFreeDofs |
Total number of free-degree-of-freedom.
unsigned int numberOfTotalDofs |
Total number of total-degree-of-freedom.
unsigned int PMLStorage |
Maximum memory for PML 3D storage sparse matrix.
int rank |
The processor number.
int size |
The number of partitions.
std::string UpdateOption |
The update option for member in Mesh.