Interface class for calling svZeroD from external programs.
More...
#include <interface.h>
Interface class for calling svZeroD from external programs.
◆ SolverInterface()
| SolverInterface::SolverInterface |
( |
const std::string & | input_file_name | ) |
|
Construct a new interface object.
- Parameters
-
| input_file_name | The 0D JSON file which specifies the model |
◆ ~SolverInterface()
| SolverInterface::~SolverInterface |
( |
| ) |
|
Destroy the interface object.
◆ absolute_tolerance_
| double SolverInterface::absolute_tolerance_ = 0.0 |
Convergence tolerance for the 0D model.
◆ committed_block_states_
| std::vector<std::vector<double> > SolverInterface::committed_block_states_ |
Last accepted persistent block states for coupling rollback safety.
◆ external_step_size_
| double SolverInterface::external_step_size_ = 0.1 |
Time step size of the external program.
This is required for coupling with a 3D solver
◆ input_file_name_
| std::string SolverInterface::input_file_name_ |
◆ integrator_
The current 0D integrator object.
◆ interface_list_
◆ max_nliter_
| int SolverInterface::max_nliter_ = 0 |
Maximum number of non-linear iterations.
◆ model_
| std::shared_ptr<Model> SolverInterface::model_ |
The current 0D model object.
◆ num_output_steps_
| int SolverInterface::num_output_steps_ = 0 |
The number of steps to output.
◆ num_time_steps_
| int SolverInterface::num_time_steps_ = 0 |
◆ output_last_cycle_only_
| bool SolverInterface::output_last_cycle_only_ = false |
Output results from last cycle only?
◆ problem_id_
| int SolverInterface::problem_id_ = 0 |
◆ problem_id_count_
| int SolverInterface::problem_id_count_ = 0 |
|
static |
Counter for the number of interfaces.
◆ pts_per_cycle_
| int SolverInterface::pts_per_cycle_ = 0 |
Number of time steps per cycle.
◆ rho_infty_
| double SolverInterface::rho_infty_ = 0.0 |
Spectral radius of generalized alpha integrator.
◆ state_
| State SolverInterface::state_ |
The current 0D state vector.
◆ states_
| std::vector<State> SolverInterface::states_ |
Vector to store solution states.
◆ system_size_
| int SolverInterface::system_size_ = 0 |
The size of the 0D system.
◆ time_step_
| int SolverInterface::time_step_ = 0.0 |
◆ time_step_size_
| double SolverInterface::time_step_size_ = 0.0 |
◆ times_
| std::vector<double> SolverInterface::times_ |
Vector to store solution times.
The documentation for this class was generated from the following files: