svMultiPhysics
Loading...
Searching...
No Matches
Simulation Class Reference

Public Member Functions

const mshType & get_msh (const std::string &name)
CepMod & get_cep_mod ()
ChnlMod & get_chnl_mod ()
ComMod & get_com_mod ()
Integrator & get_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
LinearAlgebra * linear_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: