MPM-Geomechanics
Material Point Method for simulating geo-materials under large deformation conditions
Loading...
Searching...
No Matches
Input.h File Reference
#include <string>
#include "Json/json.hpp"
#include "Eigen/Core"
#include "Solver/Solver.h"
#include "Materials/Material.h"
#include "Model.h"
#include "Boundary.h"
#include "Loads.h"
Include dependency graph for Input.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Input
 Operations to read the input file.
 

Typedefs

using json = nlohmann::json
 

Functions

void Input::readInputFile (string file_name)
 Read the input file.
 
const jsonInput::getJson ()
 Return the data file structure.
 
string Input::getFileName ()
 Return the file name.
 
bool Input::getLoadState ()
 Return load state activated.
 
bool Input::getSaveState ()
 Return save state activated.
 
double Input::getSimulationTime ()
 Return the simulation time.
 
double Input::getTimeStep ()
 Return the time step.
 
double Input::getCriticalTimeStepMultiplier ()
 Return critical time step multiplier.
 
SolverInput::getSolver ()
 Return the solver to be used in the model.
 
ModelSetup::InterpolationFunctionType Input::getInterpolationFunction ()
 Return the interpolation functions type.
 
Vector3i Input::getCellsNum ()
 Return the number of cells in each direction.
 
Vector3d Input::getCellDimension ()
 Return the cell dimension.
 
Vector3d Input::getOrigin ()
 Return the origin of coordinates.
 
vector< Material * > Input::getMaterialList ()
 Return the material list.
 
vector< Body * > Input::getBodyList ()
 Return the body list.
 
Vector3d Input::getGravity ()
 Return the gravity force.
 
int Input::getResultNum ()
 Return the number of results.
 
vector< string > Input::getResultFields ()
 Return the fields to be written.
 
ModelSetup::DampingType Input::getDampingType ()
 Read the damping definition in the input file.
 
double Input::getDampingValue ()
 Read the damping value.
 
vector< Boundary::BoundaryTypeInput::getMeshBoundaryConditions ()
 Return the mesh boundary conditions.
 
vector< Boundary::BoundaryTypeInput::getMeshBoundaryConditionsFluid ()
 Return the mesh boundary conditions of fluid.
 
unsigned Input::getNumThreads ()
 Return number of threads defined in the input file.
 
unsigned Input::getNumberPhases ()
 Return the number of phases in the simulation.
 
vector< Loads::LoadDistributedBoxInput::getLoadDistributedBox ()
 Return loads distributed in particles inside a box.
 
Loads::NodalPointLoadData Input::readNodalPointLoads ()
 read nodal point loads This function reads a points from input file in the following format: "nodal_point_loads": [[p1x,p1y,p1z],[p1x,p1y,p1z]],...,[[pnx,pny,pnz],[pnx,pny,pnz]]
 
vector< Loads::PressureBoxInput::getPrescribedPressureBox ()
 Return prescribed pressure in particles inside a box.
 
vector< Loads::PressureBoxInput::getInitialPressureBox ()
 Return initial pore pressure in particles inside a box.
 
vector< Loads::PressureMaterialInput::getInitialPressureMaterial ()
 Return initial pore pressure in particles by material id.
 
vector< Loads::PressureBoundaryForceBoxInput::getPressureBoundaryForceBox ()
 Return pore pressure force in particles inside a box.
 
Loads::SeismicData Input::readSeismicData (const std::string &filename, bool hasHeader)
 

Typedef Documentation

◆ json

using json = nlohmann::json