#include <advection_DG_operator.hpp>
|
| using | VectorType = dealii::LinearAlgebra::distributed::Vector< number > |
| |
| using | BlockVectorType = dealii::LinearAlgebra::distributed::BlockVector< number > |
| |
| using | scalar = dealii::VectorizedArray< number > |
| |
| using | vector = dealii::Tensor< 1, dim, scalar > |
| |
|
| | AdvectionDGOperator (const MeltPoolDG::ScratchData< dim, dim, number > &scratch_data_in, const unsigned int advec_diff_dof_idx_in, const unsigned int advec_diff_quad_idx_in, const std::shared_ptr< MeltPoolDG::BoundaryConditionManager< dim, number > > &boundary_conditions_in) |
| |
| void | set_advection_velocity_function (const std::shared_ptr< dealii::Function< dim, number > > &advection_velocity_function_in) |
| | Assigns a time-dependent advection velocity function.
|
| |
| void | set_advection_velocity (const VectorType &advection_velocity_in, const unsigned int velocity_dof_idx_in) |
| | Sets the discrete advection velocity vector and its DoF index.
|
| |
| void | update_time_velocity_function (const number time) const |
| |
| void | apply_operator (number time, VectorType &dst, const VectorType &src, const std::function< void(unsigned int, unsigned int)> &func={}) const |
| |
| void | apply_dirichlet_boundary_operator (const number time, VectorType &dst, const VectorType &src) const |
| |
|
| void | local_apply_domain (const dealii::MatrixFree< dim, number > &data, VectorType &dst, const VectorType &src, const std::pair< unsigned int, unsigned int > &cell_range) const |
| |
| void | local_apply_domain_dummy (const dealii::MatrixFree< dim, number > &data, VectorType &dst, const VectorType &src, const std::pair< unsigned int, unsigned int > &cell_range) const |
| |
| void | local_apply_inner_face (const dealii::MatrixFree< dim, number > &data, VectorType &dst, const VectorType &src, const std::pair< unsigned int, unsigned int > &cell_range) const |
| |
| void | local_apply_inner_face_dummy (const dealii::MatrixFree< dim, number > &data, VectorType &dst, const VectorType &src, const std::pair< unsigned int, unsigned int > &cell_range) const |
| |
| void | local_apply_homogenous_boundary_face (const dealii::MatrixFree< dim, number > &data, VectorType &dst, const VectorType &src, const std::pair< unsigned int, unsigned int > &cell_range) const |
| |
| void | local_apply_inhomogenous_boundary_face (const dealii::MatrixFree< dim, number > &data, VectorType &dst, const VectorType &src, const std::pair< unsigned int, unsigned int > &cell_range) const |
| |
◆ BlockVectorType
template<int dim, typename number >
◆ scalar
template<int dim, typename number >
◆ vector
template<int dim, typename number >
◆ VectorType
template<int dim, typename number >
◆ AdvectionDGOperator()
template<int dim, typename number >
◆ apply_dirichlet_boundary_operator()
template<int dim, typename number >
Applies the dirichlet contribution of the DG advection operator to the
- Parameters
-
| src | vector and stores the result in the |
| dst | vector. The dst vector is NOT zeroed out before the operation. |
| time | current time for time dependent dirichlet conditions. |
◆ apply_operator()
template<int dim, typename number >
Applies the DG advection operator to the src vector and stores the result in the dst vector. Dirichlet boundary conditions are applied in a different function The dst vector is zeroed out before the operation. The time needs to be explicitly passed for the case, that time dependent boundary conditions or time dependent field functions are used.
- Parameters
-
| time | current time |
| dst | result of the operator applied to |
| src | |
| scr | source vector for the operator |
◆ local_apply_domain()
template<int dim, typename number >
◆ local_apply_domain_dummy()
template<int dim, typename number >
Is needed in apply_dirichlet_boundary_operator. loop needs an operator for the domain, but only the boundary contribution is added to dst.
◆ local_apply_homogenous_boundary_face()
template<int dim, typename number >
◆ local_apply_inhomogenous_boundary_face()
template<int dim, typename number >
◆ local_apply_inner_face()
template<int dim, typename number >
◆ local_apply_inner_face_dummy()
template<int dim, typename number >
Is needed in apply_dirichlet_boundary_operator. loop needs an operator for the inner faces, but only the boundary contribution is added to dst.
◆ set_advection_velocity()
template<int dim, typename number >
Sets the discrete advection velocity vector and its DoF index.
- Parameters
-
| advection_velocity_in | Discrete velocity field. |
| velocity_dof_idx_in | Index of the associated DoF handler. |
◆ set_advection_velocity_function()
template<int dim, typename number >
Assigns a time-dependent advection velocity function.
- Parameters
-
| advection_velocity_function_in | Shared pointer to a velocity field function. |
◆ update_time_velocity_function()
template<int dim, typename number >
If an analytical function for the velocity field is provided and an analytical update is enabled, this function sets the velocity according to the anylytical function. Otherwise the provided velocity reference is used.
- Parameters
-
◆ advec_diff_dof_idx
template<int dim, typename number >
◆ advec_diff_quad_idx
template<int dim, typename number >
◆ advection_velocity_
template<int dim, typename number >
◆ advection_velocity_function
template<int dim, typename number >
◆ boundary_conditions
template<int dim, typename number >
◆ scratch_data_
template<int dim, typename number >
◆ update_field_functions
template<int dim, typename number >
Flag if old velocity needs to be updated
◆ velocity_dof_idx
template<int dim, typename number >
The documentation for this class was generated from the following files: