Chi-Tech
|
#include <cfem_diffusion_solver.h>
Public Types | |
typedef std::pair< BoundaryType, std::vector< double > > | BoundaryInfo |
typedef std::map< std::string, BoundaryInfo > | BoundaryPreferences |
Public Member Functions | |
Solver (const std::string &in_solver_name) | |
~Solver () override | |
void | Initialize () override |
void | Execute () override |
void | UpdateFieldFunctions () |
Public Member Functions inherited from chi_physics::Solver | |
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 double | CallLua_iXYZFunction (lua_State *L, const std::string &, int, const chi_mesh::Vector3 &) |
Static Public Member Functions inherited from chi_physics::Solver | |
static chi::InputParameters | GetInputParameters () |
Static Public Member Functions inherited from ChiObject | |
static chi::InputParameters | GetInputParameters () |
Data Fields | |
chi_mesh::MeshContinuumPtr | grid_ptr_ = nullptr |
chi_math::SDMPtr | sdm_ptr_ = nullptr |
size_t | num_local_dofs_ = 0 |
size_t | num_globl_dofs_ = 0 |
Vec | x_ = nullptr |
Vec | b_ = nullptr |
Mat | A_ = nullptr |
BoundaryPreferences | boundary_preferences_ |
std::map< uint64_t, Boundary > | boundaries_ |
Additional Inherited Members | |
Protected Attributes inherited from chi_physics::Solver | |
BasicOptions | basic_options_ |
std::vector< std::shared_ptr< FieldFunctionGridBased > > | field_functions_ |
std::shared_ptr< TimeStepper > | timestepper_ = nullptr |
CFEM diffusion solver
Definition at line 33 of file cfem_diffusion_solver.h.
typedef std::pair<BoundaryType,std::vector<double> > cfem_diffusion::Solver::BoundaryInfo |
Definition at line 47 of file cfem_diffusion_solver.h.
typedef std::map<std::string, BoundaryInfo> cfem_diffusion::Solver::BoundaryPreferences |
Definition at line 48 of file cfem_diffusion_solver.h.
|
explicit |
Definition at line 17 of file cfem_diffusion_solver.cc.
|
overridevirtual |
Reimplemented from chi_physics::Solver.
Definition at line 23 of file cfem_diffusion_solver.cc.
|
static |
Calls a lua function with xyz coordinates.
L | The lua state. |
lua_func_name | The name used to define this lua function in the lua state. |
imat | The material ID of the cell |
xyz | The xyz coordinates of the point where the function is called. |
Definition at line 16 of file cfem_diffusion_utils.cc.
|
overridevirtual |
Reimplemented from chi_physics::Solver.
Definition at line 172 of file cfem_diffusion_solver.cc.
|
overridevirtual |
Reimplemented from chi_physics::Solver.
Definition at line 31 of file cfem_diffusion_solver.cc.
void cfem_diffusion::Solver::UpdateFieldFunctions | ( | ) |
Updates the field functions with the latest data.
Definition at line 58 of file cfem_diffusion_utils.cc.
Mat cfem_diffusion::Solver::A_ = nullptr |
Definition at line 45 of file cfem_diffusion_solver.h.
Vec cfem_diffusion::Solver::b_ = nullptr |
Definition at line 44 of file cfem_diffusion_solver.h.
std::map<uint64_t, Boundary> cfem_diffusion::Solver::boundaries_ |
Definition at line 50 of file cfem_diffusion_solver.h.
BoundaryPreferences cfem_diffusion::Solver::boundary_preferences_ |
Definition at line 49 of file cfem_diffusion_solver.h.
chi_mesh::MeshContinuumPtr cfem_diffusion::Solver::grid_ptr_ = nullptr |
Definition at line 36 of file cfem_diffusion_solver.h.
size_t cfem_diffusion::Solver::num_globl_dofs_ = 0 |
Definition at line 41 of file cfem_diffusion_solver.h.
size_t cfem_diffusion::Solver::num_local_dofs_ = 0 |
Definition at line 40 of file cfem_diffusion_solver.h.
chi_math::SDMPtr cfem_diffusion::Solver::sdm_ptr_ = nullptr |
Definition at line 38 of file cfem_diffusion_solver.h.
Vec cfem_diffusion::Solver::x_ = nullptr |
Definition at line 43 of file cfem_diffusion_solver.h.