MPM-Geomechanics
Material Point Method for simulating geo-materials under large deformation conditions
|
#include "Eigen/Core"
#include <string>
#include <chrono>
Go to the source code of this file.
Namespaces | |
namespace | ModelSetup |
Contain the configuration variables that defines an specific simulation. | |
Enumerations | |
enum | ModelSetup::StressUpdateScheme { ModelSetup::USF , ModelSetup::USL , ModelSetup::MUSL } |
Defines the type of scheme used to update the stress. More... | |
enum | ModelSetup::DampingType { ModelSetup::UNDAMPED , ModelSetup::LOCAL , ModelSetup::KINETIC_DYNAMIC_RELAXATION } |
Defines the type of damping. More... | |
enum | ModelSetup::OperationalSystem { ModelSetup::WINDOWS , ModelSetup::LINUX } |
Defines the current operational system. More... | |
enum | ModelSetup::InterpolationFunctionType { ModelSetup::LINEAR , ModelSetup::GIMP } |
Defines the type of interpolation function. More... | |
Functions | |
bool | ModelSetup::getWindowsSystem () |
Return true is the system is Windows. | |
bool | ModelSetup::getLinuxSystem () |
Return true is the system is Linux. | |
bool | ModelSetup::getLoadState () |
Return true is load state is activated. | |
void | ModelSetup::setLoadState (bool load_state_activated) |
Set load state activated. | |
bool | ModelSetup::getSaveState () |
Return true is save state is activated. | |
void | ModelSetup::setSaveState (bool save_state_activated) |
Set save state activated. | |
unsigned | ModelSetup::getContributionNodesNum () |
Return the number of nodes that a particle contributes. | |
double | ModelSetup::getTimeStep () |
Return the time step. | |
void | ModelSetup::setTimeStep (double time_step) |
Configure the time step. | |
double | ModelSetup::getTime () |
Return the simulation time. | |
void | ModelSetup::setTime (double simulation_time) |
Configure the simulation time. | |
unsigned | ModelSetup::getResultNum () |
Return the total results to be written. | |
void | ModelSetup::setResultNum (unsigned total_results) |
Configure the total results to be written. | |
unsigned | ModelSetup::getResultSteps () |
Return the every how many steps the results will be written. | |
double | ModelSetup::getCriticalTimeStepMultiplier () |
Return the critical sime step multiplier. | |
void | ModelSetup::setCriticalTimeStepMultiplier (double critical_time_step_multiplier) |
Configures the fraction of critical time step. | |
unsigned | ModelSetup::getThreads () |
Return the number of threads in the simulation. | |
void | ModelSetup::setThreads (unsigned n_threads) |
Configures the number of threads. | |
bool | ModelSetup::getContactActive () |
Return if contact method is activated. | |
void | ModelSetup::setContactActive (bool is_contact_activated) |
Configure if contact method is activated. | |
bool | ModelSetup::getGravityActive () |
Return if gravity is active. | |
void | ModelSetup::setGravityActive (bool is_gravity_activated) |
Configure if gravity is active. | |
const Vector3d & | ModelSetup::getGravity () |
Return the gravity vector. | |
void | ModelSetup::setGravity (const Vector3d &gravity) |
Configure the gravity vector. | |
bool | ModelSetup::getAxisymetricActive () |
Return if axisymetric analisys is active. | |
void | ModelSetup::setAxisymetricActive (bool if_axysimentric_active) |
Configure if axisymetric analisys is active. | |
bool | ModelSetup::getJanumannActive () |
Return if Jaumann rate is active. | |
void | ModelSetup::setJanumannActive (bool if_jaumann_active) |
Configure if Jaumann rate is active. | |
string | ModelSetup::getInputFile () |
Return the input file name. | |
void | ModelSetup::setInputFile (string file_name) |
Configure the input file name. | |
ModelSetup::StressUpdateScheme | ModelSetup::getUpdateStressScheme () |
Return the scheme for updating the stress. | |
void | ModelSetup::setUpdateStressScheme (ModelSetup::StressUpdateScheme stress_sheme_update) |
Configure the scheme for updating the stress. | |
ModelSetup::DampingType | ModelSetup::getDamping () |
Return the damping type. | |
double | ModelSetup::getDampingLocal () |
Return the local damping value. | |
void | ModelSetup::setDampingLocalValue (double alpha) |
Configure the local damping value. | |
void | ModelSetup::setDampingType (ModelSetup::DampingType dampingType) |
Configure the damping type. | |
ModelSetup::DampingType | ModelSetup::getDampingType () |
Return the damping type. | |
ModelSetup::InterpolationFunctionType | ModelSetup::getInterpolationFunction () |
Return the interpolation functions type. | |
void | ModelSetup::setInterpolationFunction (ModelSetup::InterpolationFunctionType interpolation_functions_type) |
Configure the interpolation functions type. | |
void | ModelSetup::setNumThreads (unsigned nThreads) |
Configure the number of threads in the model. | |
bool | ModelSetup::getSeismicAnalysis () |
Return true if seismic analysis is active. | |
void | ModelSetup::setSeismicAnalysis (bool seismic_analysis_active) |
Configure if seismic analysis is active. | |
bool | ModelSetup::getTwoPhaseActive () |
Return if two-phase calculation is active. | |
void | ModelSetup::setTwoPhaseActive (bool two_phase_calculation_active) |
Configure if two-phase calculation is active. | |
void | ModelSetup::setInitialSimulationTime (std::chrono::system_clock::time_point initialTime) |
Set initial simulation time. | |
std::chrono::system_clock::time_point | ModelSetup::getInitialSimulationTime () |
Get initial simulation time. | |
std::string | ModelSetup::getSeismicFileName () |
double | ModelSetup::getCurrentTime () |
Get current simulation time. | |
void | ModelSetup::setCurrentTime (double currentTime) |
Set current simulation time. | |