OperationScratchData< dim, number > Struct Template Reference
|
Developer Documentation
|
Scratch data structure for compressible single-phase flow solvers. More...
#include <operation_scratch_data.hpp>
Public Types | |
| using | VectorType = dealii::LinearAlgebra::distributed::Vector< number > |
Public Member Functions | |
| OperationScratchData (const OperationData< number > &flow_data_in, const MaterialPhaseData< number > &material_data_in, const ScratchData< dim, dim, number > &scratch_data_in, const unsigned int dof_idx_in, const unsigned int quad_idx_in, const CutSolverData< number > *cut_data_in=nullptr) | |
| Constructor. | |
| void | reinit (const unsigned solution_history_size) |
| Set up the internal data structures. | |
Public Attributes | |
| const OperationData< number > | flow_data |
| General parameters for the compressible Navier-Stokes operators. | |
| const ScratchData< dim, dim, number > & | scratch_data |
| Mapping-, finite-element-, and quadrature-related parameters. | |
| const Material< dim, number > | material |
| Material parameters and thermodynamic relations. | |
| const CutSolverData< number > * | cut = nullptr |
| Cut-related parameters (only relevant for cut applications) | |
| const unsigned int | dof_idx = 0 |
| DoF index within the matrix-free object. | |
| const unsigned int | quad_idx = 0 |
| Quadrature index within the matrix-free object. | |
| bool | is_viscous = false |
| Boolean variable indicating whether viscosity is present. | |
| BoundaryConditions< dim, number > | boundary_conditions |
| Object taking care of all boundary condition related computations. | |
| dealii::AlignedVector< dealii::VectorizedArray< number > > | interior_penalty_parameter |
| Penalty parameter for the Symmetric Interior Penalty Galerkin (SIPG) method. | |
| TimeIntegration::SolutionHistory< VectorType > | solution_history |
| Solution history object. | |
| std::unique_ptr< dealii::Function< dim > > | body_force |
| Pointer to the body force function. | |
Detailed Description
struct MeltPoolDG::CompressibleFlow::OperationScratchData< dim, number >
Scratch data structure for compressible single-phase flow solvers.
This struct encapsulates all data necessary for the evaluation of local integrals in compressible single-phase flow simulations.
Member Typedef Documentation
◆ VectorType
| using MeltPoolDG::CompressibleFlow::OperationScratchData< dim, number >::VectorType = dealii::LinearAlgebra::distributed::Vector<number> |
Constructor & Destructor Documentation
◆ OperationScratchData()
|
inlineexplicit |
Constructor.
- Parameters
-
flow_data_in Reference to the flow data object. material_data_in Reference to the material data object. scratch_data_in Reference to the scratch data object. dof_idx_in Relevant dof index of the flow solver in the scratch data object. quad_idx_in Relevant quadrature index of the flow solver in the scratch data object. cut_data_in Pointer to the cut data object.
- Note
- The cut data object
- Parameters
-
cut_data_in is optional. For non-cut applications, it does not need to be passed to the constructor.
Member Function Documentation
◆ reinit()
|
inline |
Set up the internal data structures.
Allocate memory for the solution history object and precompute the penalty parameter for the symmetric interior penalty method.
- Parameters
-
solution_history_size Size of the solution history object, i.e. the number of vectors at different concrete times n for which the solution history is responsible.
Member Data Documentation
◆ body_force
| std::unique_ptr<dealii::Function<dim> > MeltPoolDG::CompressibleFlow::OperationScratchData< dim, number >::body_force |
Pointer to the body force function.
◆ boundary_conditions
| BoundaryConditions<dim, number> MeltPoolDG::CompressibleFlow::OperationScratchData< dim, number >::boundary_conditions |
Object taking care of all boundary condition related computations.
◆ cut
| const CutSolverData<number>* MeltPoolDG::CompressibleFlow::OperationScratchData< dim, number >::cut = nullptr |
Cut-related parameters (only relevant for cut applications)
◆ dof_idx
| const unsigned int MeltPoolDG::CompressibleFlow::OperationScratchData< dim, number >::dof_idx = 0 |
DoF index within the matrix-free object.
◆ flow_data
| const OperationData<number> MeltPoolDG::CompressibleFlow::OperationScratchData< dim, number >::flow_data |
General parameters for the compressible Navier-Stokes operators.
◆ interior_penalty_parameter
| dealii::AlignedVector<dealii::VectorizedArray<number> > MeltPoolDG::CompressibleFlow::OperationScratchData< dim, number >::interior_penalty_parameter |
Penalty parameter for the Symmetric Interior Penalty Galerkin (SIPG) method.
◆ is_viscous
| bool MeltPoolDG::CompressibleFlow::OperationScratchData< dim, number >::is_viscous = false |
Boolean variable indicating whether viscosity is present.
◆ material
| const Material<dim, number> MeltPoolDG::CompressibleFlow::OperationScratchData< dim, number >::material |
Material parameters and thermodynamic relations.
◆ quad_idx
| const unsigned int MeltPoolDG::CompressibleFlow::OperationScratchData< dim, number >::quad_idx = 0 |
Quadrature index within the matrix-free object.
◆ scratch_data
| const ScratchData<dim, dim, number>& MeltPoolDG::CompressibleFlow::OperationScratchData< dim, number >::scratch_data |
Mapping-, finite-element-, and quadrature-related parameters.
◆ solution_history
| TimeIntegration::SolutionHistory<VectorType> MeltPoolDG::CompressibleFlow::OperationScratchData< dim, number >::solution_history |
Solution history object.
The documentation for this struct was generated from the following file:
- include/meltpooldg/compressible_flow/operation_scratch_data.hpp
Generated by