PeriDEM 0.2.0
PeriDEM -- Peridynamics-based high-fidelity model for granular media
|
Structure to read and store model related input data. More...
#include <modelDeck.h>
Public Member Functions | |
ModelDeck () | |
Constructor. | |
std::string | printStr (int nt=0, int lvl=0) const |
Returns the string containing printable information about the object. | |
void | print (int nt=0, int lvl=0) const |
Prints the information about the object. | |
Data Fields | |
std::string | d_simType |
Simulation type. | |
bool | d_isRestartActive |
Flag indicating if this restart problem. | |
std::string | d_spatialDiscretization |
Tag for spatial discretization. | |
std::string | d_timeDiscretization |
Tag for time discretization. | |
bool | d_populateElementNodeConnectivity |
Flag to indicate if we should populate element-node connectivity data in meshes. | |
size_t | d_quadOrder |
Order of quadrature approximation for strain and stress computation (default is 1) | |
std::string | d_particleSimType |
Specify if this is single or multi particle simulation Expected value is either 'Single_Particle' or 'Multi_Particle'. | |
size_t | d_dim |
Dimension. | |
double | d_tFinal |
Final simulation time. | |
double | d_dt |
Size of time steps. | |
size_t | d_Nt |
Number of time steps. | |
double | d_horizon |
Horizon. | |
int | d_rh |
Ratio of Horizon to mesh size. | |
double | d_h |
Mesh size. | |
int | d_seed |
Seed for random calculations (if any) | |
Structure to read and store model related input data.
Definition at line 24 of file modelDeck.h.
|
inline |
Constructor.
Definition at line 104 of file modelDeck.h.
Prints the information about the object.
nt | Number of tabs to append before printing |
lvl | Information level (higher means more information) |
Definition at line 149 of file modelDeck.h.
References d_dim, and printStr().
Returns the string containing printable information about the object.
nt | Number of tabs to append before printing |
lvl | Information level (higher means more information) |
Definition at line 116 of file modelDeck.h.
References d_dim, d_dt, d_h, d_horizon, d_isRestartActive, d_Nt, d_particleSimType, d_populateElementNodeConnectivity, d_quadOrder, d_rh, d_seed, d_simType, d_spatialDiscretization, d_tFinal, d_timeDiscretization, and util::io::getTabS().
Referenced by print().
size_t inp::ModelDeck::d_dim |
double inp::ModelDeck::d_dt |
double inp::ModelDeck::d_h |
double inp::ModelDeck::d_horizon |
bool inp::ModelDeck::d_isRestartActive |
Flag indicating if this restart problem.
Definition at line 36 of file modelDeck.h.
Referenced by printStr().
size_t inp::ModelDeck::d_Nt |
std::string inp::ModelDeck::d_particleSimType |
Specify if this is single or multi particle simulation Expected value is either 'Single_Particle' or 'Multi_Particle'.
This flag is used to populate input deck data. For the case when we consider single particle and its deformation, one do not have to specify data such as zones and contact.
Definition at line 71 of file modelDeck.h.
Referenced by printStr().
bool inp::ModelDeck::d_populateElementNodeConnectivity |
Flag to indicate if we should populate element-node connectivity data in meshes.
Definition at line 60 of file modelDeck.h.
Referenced by printStr().
size_t inp::ModelDeck::d_quadOrder |
Order of quadrature approximation for strain and stress computation (default is 1)
Definition at line 63 of file modelDeck.h.
Referenced by printStr().
int inp::ModelDeck::d_rh |
Ratio of Horizon to mesh size.
E.g. ratio = 4 means mesh size is 1/4th of the horizon.
Definition at line 93 of file modelDeck.h.
Referenced by printStr().
int inp::ModelDeck::d_seed |
Seed for random calculations (if any)
Definition at line 99 of file modelDeck.h.
Referenced by printStr().
std::string inp::ModelDeck::d_simType |
Simulation type.
List of allowed values are:
Definition at line 33 of file modelDeck.h.
Referenced by printStr().
std::string inp::ModelDeck::d_spatialDiscretization |
Tag for spatial discretization.
List of allowed values are:
Definition at line 47 of file modelDeck.h.
Referenced by printStr().
double inp::ModelDeck::d_tFinal |
std::string inp::ModelDeck::d_timeDiscretization |
Tag for time discretization.
List of allowed values are:
Definition at line 57 of file modelDeck.h.
Referenced by printStr().