svMultiPhysics
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Simulation Class Reference

Public Member Functions

const mshTypeget_msh (const std::string &name)
 
CepModget_cep_mod ()
 
ChnlModget_chnl_mod ()
 
ComModget_com_mod ()
 
Integratorget_integrator ()
 Get reference to the Integrator object.
 
void initialize_integrator (SolutionStates &&solutions)
 Initialize the Integrator object after simulation setup is complete.
 
void read_parameters (const std::string &fileName)
 Read solver parameters.
 
void set_module_parameters ()
 Set the simulation and module member data.
 

Public Attributes

CepMod cep_mod
 
ChnlMod chnl_mod
 
CmMod cm_mod
 
ComMod com_mod
 
Parameters parameters
 
SimulationLogger logger
 
int nTs
 
std::string fTmp
 
double roInf
 
bool isReqd
 
std::string history_file_name
 
LinearAlgebralinear_algebra = nullptr
 

Member Function Documentation

◆ get_integrator()

Integrator & Simulation::get_integrator ( )

Get reference to the Integrator object.

Returns
Reference to the Integrator

◆ initialize_integrator()

void Simulation::initialize_integrator ( SolutionStates &&  solutions)

Initialize the Integrator object after simulation setup is complete.

This should be called at the end of initialize() after solution states have been fully initialized. The Integrator takes ownership of these solution states.

Parameters
solutionsSolution states containing old acceleration, displacement, and velocity

◆ read_parameters()

void Simulation::read_parameters ( const std::string &  fileName)

Read solver parameters.

◆ set_module_parameters()

void Simulation::set_module_parameters ( )

Set the simulation and module member data.

Replicates the README subroutine lines to set COMMOD module varliables

lPtr => listget(nTs,"Number of time steps",1,ll=1)


The documentation for this class was generated from the following files: