Chi-Tech
|
#include <chi_solver.h>
Public Member Functions | |
Solver (std::string in_text_name) | |
Solver (std::string in_text_name, std::initializer_list< BasicOption > in_options) | |
Solver (const chi::InputParameters ¶ms) | |
virtual | ~Solver ()=default |
std::string | TextName () const |
BasicOptions & | GetBasicOptions () |
const BasicOptions & | GetBasicOptions () const |
std::vector< std::shared_ptr< FieldFunctionGridBased > > & | GetFieldFunctions () |
const std::vector< std::shared_ptr< FieldFunctionGridBased > > & | GetFieldFunctions () const |
TimeStepper & | GetTimeStepper () |
const TimeStepper & | GetTimeStepper () const |
virtual void | Initialize () |
virtual void | Execute () |
virtual void | Step () |
virtual void | Advance () |
virtual chi::ParameterBlock | GetInfo (const chi::ParameterBlock ¶ms) const |
virtual void | SetProperties (const chi::ParameterBlock ¶ms) |
chi::ParameterBlock | GetInfoWithPreCheck (const chi::ParameterBlock ¶ms) const |
Public Member Functions inherited from ChiObject | |
ChiObject () | |
ChiObject (const chi::InputParameters ¶ms) | |
void | SetStackID (size_t stack_id) |
size_t | StackID () const |
virtual void | PushOntoStack (std::shared_ptr< ChiObject > &new_object) |
virtual | ~ChiObject ()=default |
Static Public Member Functions | |
static chi::InputParameters | GetInputParameters () |
Static Public Member Functions inherited from ChiObject | |
static chi::InputParameters | GetInputParameters () |
Protected Attributes | |
BasicOptions | basic_options_ |
std::vector< std::shared_ptr< FieldFunctionGridBased > > | field_functions_ |
std::shared_ptr< TimeStepper > | timestepper_ = nullptr |
Static Private Member Functions | |
static std::shared_ptr< TimeStepper > | InitTimeStepper (const chi::InputParameters ¶ms) |
Private Attributes | |
const std::string | text_name_ |
Definition at line 21 of file chi_solver.h.
|
explicit |
Definition at line 48 of file chi_solver.cc.
chi_physics::Solver::Solver | ( | std::string | in_text_name, |
std::initializer_list< BasicOption > | in_options | ||
) |
Definition at line 54 of file chi_solver.cc.
|
explicit |
Definition at line 62 of file chi_solver.cc.
|
virtualdefault |
Reimplemented in chi_diffusion::Solver, cfem_diffusion::Solver, dfem_diffusion::Solver, fv_diffusion::Solver, and mg_diffusion::Solver.
|
virtual |
Reimplemented in lbs::TransientSolver, and prk::TransientSolver.
Definition at line 161 of file chi_solver.cc.
|
virtual |
Reimplemented in cfem_diffusion::Solver, dfem_diffusion::Solver, chi_diffusion::Solver, fv_diffusion::Solver, lbs::DiscreteOrdinatesAdjointSolver, lbs::SteadyStateSolver, lbs::TransientSolver, lbs::XXNonLinearKEigen, lbs::XXPowerIterationKEigen, lbs::XXPowerIterationKEigenSCDSA, mg_diffusion::Solver, and prk::TransientSolver.
Definition at line 151 of file chi_solver.cc.
BasicOptions & chi_physics::Solver::GetBasicOptions | ( | ) |
Definition at line 118 of file chi_solver.cc.
const BasicOptions & chi_physics::Solver::GetBasicOptions | ( | ) | const |
Definition at line 120 of file chi_solver.cc.
std::vector< std::shared_ptr< FieldFunctionGridBased > > & chi_physics::Solver::GetFieldFunctions | ( | ) |
Definition at line 123 of file chi_solver.cc.
const std::vector< std::shared_ptr< FieldFunctionGridBased > > & chi_physics::Solver::GetFieldFunctions | ( | ) | const |
Definition at line 141 of file chi_solver.cc.
|
virtual |
Generalized query for information supporting varying returns.
Reimplemented in prk::TransientSolver.
Definition at line 166 of file chi_solver.cc.
chi::ParameterBlock chi_physics::Solver::GetInfoWithPreCheck | ( | const chi::ParameterBlock & | params | ) | const |
PreCheck call to GetInfo.
Definition at line 172 of file chi_solver.cc.
|
static |
Returns the input parameters.
Definition at line 16 of file chi_solver.cc.
TimeStepper & chi_physics::Solver::GetTimeStepper | ( | ) |
Definition at line 128 of file chi_solver.cc.
const TimeStepper & chi_physics::Solver::GetTimeStepper | ( | ) | const |
Definition at line 134 of file chi_solver.cc.
|
virtual |
Reimplemented in cfem_diffusion::Solver, dfem_diffusion::Solver, chi_diffusion::Solver, fv_diffusion::Solver, lbs::LBSSolver, lbs::DiffusionDFEMSolver, lbs::DiscreteOrdinatesSolver, lbs::DiscreteOrdinatesAdjointSolver, lbs::SteadyStateSolver, lbs::TransientSolver, lbs::XXNonLinearKEigen, lbs::XXPowerIterationKEigen, lbs::XXPowerIterationKEigenSCDSA, mg_diffusion::Solver, and prk::TransientSolver.
Definition at line 146 of file chi_solver.cc.
|
staticprivate |
Definition at line 70 of file chi_solver.cc.
|
virtual |
Base solver settable properties:
dt
, Timestep sizetime
, Current time Reimplemented in prk::TransientSolver.
Definition at line 195 of file chi_solver.cc.
|
virtual |
Reimplemented in lbs::TransientSolver, and prk::TransientSolver.
Definition at line 156 of file chi_solver.cc.
std::string chi_physics::Solver::TextName | ( | ) | const |
Definition at line 116 of file chi_solver.cc.
|
protected |
Definition at line 57 of file chi_solver.h.
|
protected |
Definition at line 58 of file chi_solver.h.
|
private |
Definition at line 64 of file chi_solver.h.
|
protected |
Definition at line 59 of file chi_solver.h.