|
Flow123d
|
#include <advection_diffusion_model.hh>

Public Member Functions | |
| virtual void | init_data (unsigned int n_subst_)=0 |
| Initialize model data. E.g. set vector field dimensions. More... | |
| virtual void | set_component_names (std::vector< string > &names, const Input::Record &in_rec)=0 |
| Temporary solution for sharing data from other equations. More... | |
| virtual bool | mass_matrix_changed ()=0 |
| Check if mass matrix coefficients have changed. More... | |
| virtual bool | stiffness_matrix_changed ()=0 |
| Check if stiffness matrix coefficients have changed. More... | |
| virtual bool | rhs_changed ()=0 |
| Check if right hand side coefficients have changed. More... | |
| virtual void | compute_mass_matrix_coefficient (const std::vector< arma::vec3 > &point_list, const ElementAccessor< 3 > &ele_acc, std::vector< double > &mm_coef)=0 |
| virtual void | compute_advection_diffusion_coefficients (const std::vector< arma::vec3 > &point_list, const std::vector< arma::vec3 > &velocity, const ElementAccessor< 3 > &ele_acc, std::vector< std::vector< arma::vec3 > > &ad_coef, std::vector< std::vector< arma::mat33 > > &dif_coef)=0 |
| virtual void | compute_init_cond (const std::vector< arma::vec3 > &point_list, const ElementAccessor< 3 > &ele_acc, std::vector< arma::vec > &init_values)=0 |
| virtual void | compute_dirichlet_bc (const std::vector< arma::vec3 > &point_list, const ElementAccessor< 3 > &ele_acc, std::vector< arma::vec > &bc_values)=0 |
| virtual void | compute_source_coefficients (const std::vector< arma::vec3 > &point_list, const ElementAccessor< 3 > &ele_acc, std::vector< arma::vec > &sources_conc, std::vector< arma::vec > &sources_density, std::vector< arma::vec > &sources_sigma)=0 |
| virtual void | compute_sources_sigma (const std::vector< arma::vec3 > &point_list, const ElementAccessor< 3 > &ele_acc, std::vector< arma::vec > &sources_sigma)=0 |
| virtual | ~AdvectionDiffusionModel () |
| Destructor. More... | |
AdvectionDiffusionModel is a base class for description of a physical process described by the advection-diffusion partial differential equation (PDE). The derived classes define input parameters and implement methods that calculate coefficients of the PDE. These methods are then used by a template class for numerical solution, whose specialization derives from the model class.
Definition at line 44 of file advection_diffusion_model.hh.
|
inlinevirtual |
Destructor.
Definition at line 135 of file advection_diffusion_model.hh.
|
pure virtual |
Compute coefficients of stiffness matrix.
| point_list | Points at which to evaluate. |
| velocity | Velocity field (input). Temporary solution before we can pass data from other equations. |
| ele_acc | Element accessor. |
| ad_coef | Coefficients of advection (output). |
| dif_coef | Coefficients of diffusion (output). |
Implemented in HeatTransferModel, and ConcentrationTransportModel.
|
pure virtual |
Computes the Dirichlet boundary condition values.
| point_list | Points at which to evaluate. |
| ele_acc | Element accessor. |
| bc_values | Vector of b.c. values (output). |
Implemented in HeatTransferModel, and ConcentrationTransportModel.
|
pure virtual |
Compute initial conditions.
| point_list | Points at which to evaluate. |
| ele_acc | Element accessor. |
| init_values | Vector of intial values (output). |
Implemented in HeatTransferModel, and ConcentrationTransportModel.
|
pure virtual |
Compute coefficients of mass matrix.
| point_list | Points at which to evaluate. |
| ele_acc | Element accessor. |
| mm_coef | Coefficient vector (output). |
Implemented in HeatTransferModel, and ConcentrationTransportModel.
|
pure virtual |
Compute coefficients of volume sources.
| point_list | Points at which to evaluate. |
| ele_acc | Element accessor. |
| sources_conc | Source concentrations (output). |
| sources_density | Source densities (output). |
| sources_sigma | Source sigmas (output). |
Implemented in HeatTransferModel, and ConcentrationTransportModel.
|
pure virtual |
Compute coefficients of volume sources.
| point_list | Points at which to evaluate. |
| ele_acc | Element accessor. |
| sources_sigma | Source sigmas (output). |
Implemented in HeatTransferModel, and ConcentrationTransportModel.
|
pure virtual |
Initialize model data. E.g. set vector field dimensions.
Implemented in HeatTransferModel, and ConcentrationTransportModel.
|
pure virtual |
Check if mass matrix coefficients have changed.
Implemented in HeatTransferModel, and ConcentrationTransportModel.
|
pure virtual |
Check if right hand side coefficients have changed.
Implemented in HeatTransferModel, and ConcentrationTransportModel.
|
pure virtual |
Temporary solution for sharing data from other equations.
Read or set names of solution components.
Implemented in HeatTransferModel, and ConcentrationTransportModel.
|
pure virtual |
Check if stiffness matrix coefficients have changed.
Implemented in HeatTransferModel, and ConcentrationTransportModel.
1.8.4