|
adamantine
|
#include <ThermalPhysicsInterface.hh>
Public Member Functions | |
| ThermalPhysicsInterface ()=default | |
| virtual | ~ThermalPhysicsInterface ()=default |
| virtual void | setup ()=0 |
| virtual void | setup_dofs ()=0 |
| virtual void | compute_inverse_mass_matrix ()=0 |
| virtual void | add_material_start (std::vector< std::vector< typename dealii::DoFHandler< dim >::active_cell_iterator >> const &elements_to_activate, std::vector< double > const &new_deposition_cos, std::vector< double > const &new_deposition_sin, std::vector< bool > &new_has_melted, unsigned int const activation_start, unsigned int const activation_end, dealii::LA::distributed::Vector< double, MemorySpaceType > &solution)=0 |
| virtual void | add_material_end (double const new_material_temperature, dealii::LA::distributed::Vector< double, MemorySpaceType > &solution)=0 |
| virtual void | update_physics_parameters (boost::property_tree::ptree const &database)=0 |
| virtual double | evolve_one_time_step (double t, double delta_t, dealii::LA::distributed::Vector< double, MemorySpaceType > &solution, std::vector< Timer > &timers)=0 |
| virtual void | initialize_dof_vector (double const value, dealii::LA::distributed::Vector< double, MemorySpaceType > &vector) const =0 |
| virtual void | get_state_from_material_properties ()=0 |
| virtual void | set_state_to_material_properties ()=0 |
| virtual void | load_checkpoint (std::string const &filename, dealii::LA::distributed::Vector< double, MemorySpaceType > &temperature)=0 |
| virtual void | save_checkpoint (std::string const &filename, dealii::LA::distributed::Vector< double, MemorySpaceType > &temperature)=0 |
| virtual void | set_material_deposition_orientation (std::vector< double > const &deposition_cos, std::vector< double > const &deposition_sin)=0 |
| virtual double | get_deposition_cos (unsigned int const i) const =0 |
| virtual double | get_deposition_sin (unsigned int const i) const =0 |
| virtual void | mark_has_melted (double const threshold_temperature, dealii::LA::distributed::Vector< double, MemorySpaceType > &temperature)=0 |
| virtual std::vector< bool > | get_has_melted_vector () const =0 |
| virtual void | set_has_melted_vector (std::vector< bool > const &has_melted)=0 |
| virtual bool | get_has_melted (const unsigned int) const =0 |
| virtual dealii::DoFHandler< dim > & | get_dof_handler ()=0 |
| virtual dealii::AffineConstraints< double > & | get_affine_constraints ()=0 |
| virtual std::vector< std::shared_ptr< HeatSource< dim > > > & | get_heat_sources ()=0 |
| virtual unsigned int | get_fe_degree () const =0 |
This class defines the interface for ThermalPhysics used in run(). The objective of this class is to simplify code in run() by reducing the number of template parameters from four to two.
Definition at line 28 of file ThermalPhysicsInterface.hh.
|
default |
|
virtualdefault |
|
pure virtual |
Finalize adding material by completing the transfer of solutions after the discretization has been adapted to the activated cells.
Implemented in adamantine::ThermalPhysics< dim, n_materials, p_order, fe_degree, MaterialStates, MemorySpaceType, QuadratureType >.
|
pure virtual |
Activate more elements of the mesh and interpolate the solution to the new domain.
Implemented in adamantine::ThermalPhysics< dim, n_materials, p_order, fe_degree, MaterialStates, MemorySpaceType, QuadratureType >.
|
pure virtual |
Compute the inverse of the mass matrix associated to the Physics.
Implemented in adamantine::ThermalPhysics< dim, n_materials, p_order, fe_degree, MaterialStates, MemorySpaceType, QuadratureType >.
|
pure virtual |
Evolve the physics from time t to time t+delta_t. solution first contains the field at time t and after execution of the function, the field at time t+delta_t.
Implemented in adamantine::ThermalPhysics< dim, n_materials, p_order, fe_degree, MaterialStates, MemorySpaceType, QuadratureType >.
|
pure virtual |
Return the AffineConstraints<double>.
Implemented in adamantine::ThermalPhysics< dim, n_materials, p_order, fe_degree, MaterialStates, MemorySpaceType, QuadratureType >.
|
pure virtual |
Return the cosine of the material deposition angle for the activated cell i.
Implemented in adamantine::ThermalPhysics< dim, n_materials, p_order, fe_degree, MaterialStates, MemorySpaceType, QuadratureType >.
|
pure virtual |
Return the sine of the material deposition angle for the activated cell i.
Implemented in adamantine::ThermalPhysics< dim, n_materials, p_order, fe_degree, MaterialStates, MemorySpaceType, QuadratureType >.
|
pure virtual |
Return the DoFHandler.
Implemented in adamantine::ThermalPhysics< dim, n_materials, p_order, fe_degree, MaterialStates, MemorySpaceType, QuadratureType >.
|
pure virtual |
Return the degree of the finite element.
Implemented in adamantine::ThermalPhysics< dim, n_materials, p_order, fe_degree, MaterialStates, MemorySpaceType, QuadratureType >.
|
pure virtual |
Returns one entry of _has_melted
Implemented in adamantine::ThermalPhysics< dim, n_materials, p_order, fe_degree, MaterialStates, MemorySpaceType, QuadratureType >.
|
pure virtual |
Returns _has_melted
Implemented in adamantine::ThermalPhysics< dim, n_materials, p_order, fe_degree, MaterialStates, MemorySpaceType, QuadratureType >.
|
pure virtual |
Return the heat sources.
Implemented in adamantine::ThermalPhysics< dim, n_materials, p_order, fe_degree, MaterialStates, MemorySpaceType, QuadratureType >.
|
pure virtual |
Populate the state of the materials in the Physics object from the MaterialProperty object.
Implemented in adamantine::ThermalPhysics< dim, n_materials, p_order, fe_degree, MaterialStates, MemorySpaceType, QuadratureType >.
|
pure virtual |
Initialize the given vector with the given value.
Implemented in adamantine::ThermalPhysics< dim, n_materials, p_order, fe_degree, MaterialStates, MemorySpaceType, QuadratureType >.
|
pure virtual |
Load the state of the simulation from files.
Implemented in adamantine::ThermalPhysics< dim, n_materials, p_order, fe_degree, MaterialStates, MemorySpaceType, QuadratureType >.
|
pure virtual |
Mark cells above the given temperature to denote that they have melted
Implemented in adamantine::ThermalPhysics< dim, n_materials, p_order, fe_degree, MaterialStates, MemorySpaceType, QuadratureType >.
|
pure virtual |
Write the current state of the simulation on the filesystem.
Implemented in adamantine::ThermalPhysics< dim, n_materials, p_order, fe_degree, MaterialStates, MemorySpaceType, QuadratureType >.
|
pure virtual |
Sets _has_melted
Implemented in adamantine::ThermalPhysics< dim, n_materials, p_order, fe_degree, MaterialStates, MemorySpaceType, QuadratureType >.
|
pure virtual |
Set the deposition cosine and sine and call update_material_deposition_orientation.
Implemented in adamantine::ThermalPhysics< dim, n_materials, p_order, fe_degree, MaterialStates, MemorySpaceType, QuadratureType >.
|
pure virtual |
Populate the state of the materials in the MaterialProperty object from the Physics object.
Implemented in adamantine::ThermalPhysics< dim, n_materials, p_order, fe_degree, MaterialStates, MemorySpaceType, QuadratureType >.
|
pure virtual |
Set up and initialize the data structure.
Implemented in adamantine::ThermalPhysics< dim, n_materials, p_order, fe_degree, MaterialStates, MemorySpaceType, QuadratureType >.
|
pure virtual |
Associate the AffineConstraints<double> and the MatrixFree objects to the underlying Triangulation.
Implemented in adamantine::ThermalPhysics< dim, n_materials, p_order, fe_degree, MaterialStates, MemorySpaceType, QuadratureType >.
|
pure virtual |
Public interface for modifying the private state of the Physics object. One use of this is to modify nominally constant parameters in the middle of a simulation based on data assimilation with an augmented state.
Implemented in adamantine::ThermalPhysics< dim, n_materials, p_order, fe_degree, MaterialStates, MemorySpaceType, QuadratureType >.