ScratchData< Discretization > Struct Template Reference#
|
DiFfRG
|
Public Types |
Public Member Functions |
Public Attributes |
Static Public Attributes |
List of all members
DiFfRG::dDG::internal::ScratchData< Discretization > Struct Template Reference
Class to hold data for each assembly thread, i.e. FEValues for cells, interfaces, as well as pre-allocated data structures for the solutions. More...
#include <ddg.hh>
Public Types | |
| using | NumberType = typename Discretization::NumberType |
Public Member Functions | |
| ScratchData (const Mapping< dim > &mapping, const FiniteElement< dim > &fe, const Quadrature< dim > &quadrature, const Quadrature< dim - 1 > &quadrature_face, const UpdateFlags update_flags=update_values|update_gradients|update_quadrature_points|update_JxW_values|update_hessians, const UpdateFlags interface_update_flags=update_values|update_gradients|update_quadrature_points|update_JxW_values|update_normal_vectors|update_hessians) | |
| ScratchData (const ScratchData< Discretization > &scratch_data) | |
Public Attributes | |
| const uint | n_components |
| FEValues< dim > | fe_values |
| FEInterfaceValues< dim > | fe_interface_values |
| std::vector< Vector< NumberType > > | solution |
| std::vector< std::vector< Tensor< 1, dim, NumberType > > > | solution_grad |
| std::vector< std::vector< Tensor< 2, dim, NumberType > > > | solution_hess |
| std::vector< Vector< NumberType > > | solution_dot |
| array< std::vector< Vector< NumberType > >, 2 > | solution_interface |
| array< std::vector< std::vector< Tensor< 1, dim, NumberType > > >, 2 > | solution_grad_interface |
| array< std::vector< std::vector< Tensor< 2, dim, NumberType > > >, 2 > | solution_hess_interface |
| std::vector< uint > | comp |
| std::vector< double > | cached_shape_values |
| std::vector< Tensor< 1, dim > > | cached_shape_grads |
| std::vector< Tensor< 2, dim > > | cached_shape_hessians |
Static Public Attributes | |
| static constexpr uint | dim = Discretization::dim |
Detailed Description
template<typename Discretization>
struct DiFfRG::dDG::internal::ScratchData< Discretization >
struct DiFfRG::dDG::internal::ScratchData< Discretization >
Class to hold data for each assembly thread, i.e. FEValues for cells, interfaces, as well as pre-allocated data structures for the solutions.
- Template Parameters
-
Model Model describing the assembled problem.
Member Typedef Documentation
◆ NumberType
template<typename Discretization >
| using DiFfRG::dDG::internal::ScratchData< Discretization >::NumberType = typename Discretization::NumberType |
Constructor & Destructor Documentation
◆ ScratchData() [1/2]
template<typename Discretization >
|
inline |
◆ ScratchData() [2/2]
template<typename Discretization >
|
inline |
Member Data Documentation
◆ cached_shape_grads
template<typename Discretization >
| std::vector<Tensor<1, dim> > DiFfRG::dDG::internal::ScratchData< Discretization >::cached_shape_grads |
◆ cached_shape_hessians
template<typename Discretization >
| std::vector<Tensor<2, dim> > DiFfRG::dDG::internal::ScratchData< Discretization >::cached_shape_hessians |
◆ cached_shape_values
template<typename Discretization >
| std::vector<double> DiFfRG::dDG::internal::ScratchData< Discretization >::cached_shape_values |
◆ comp
template<typename Discretization >
| std::vector<uint> DiFfRG::dDG::internal::ScratchData< Discretization >::comp |
◆ dim
template<typename Discretization >
|
staticconstexpr |
◆ fe_interface_values
template<typename Discretization >
| FEInterfaceValues<dim> DiFfRG::dDG::internal::ScratchData< Discretization >::fe_interface_values |
◆ fe_values
template<typename Discretization >
| FEValues<dim> DiFfRG::dDG::internal::ScratchData< Discretization >::fe_values |
◆ n_components
template<typename Discretization >
| const uint DiFfRG::dDG::internal::ScratchData< Discretization >::n_components |
◆ solution
template<typename Discretization >
| std::vector<Vector<NumberType> > DiFfRG::dDG::internal::ScratchData< Discretization >::solution |
◆ solution_dot
template<typename Discretization >
| std::vector<Vector<NumberType> > DiFfRG::dDG::internal::ScratchData< Discretization >::solution_dot |
◆ solution_grad
template<typename Discretization >
| std::vector<std::vector<Tensor<1, dim, NumberType> > > DiFfRG::dDG::internal::ScratchData< Discretization >::solution_grad |
◆ solution_grad_interface
template<typename Discretization >
| array<std::vector<std::vector<Tensor<1, dim, NumberType> > >, 2> DiFfRG::dDG::internal::ScratchData< Discretization >::solution_grad_interface |
◆ solution_hess
template<typename Discretization >
| std::vector<std::vector<Tensor<2, dim, NumberType> > > DiFfRG::dDG::internal::ScratchData< Discretization >::solution_hess |
◆ solution_hess_interface
template<typename Discretization >
| array<std::vector<std::vector<Tensor<2, dim, NumberType> > >, 2> DiFfRG::dDG::internal::ScratchData< Discretization >::solution_hess_interface |
◆ solution_interface
template<typename Discretization >
| array<std::vector<Vector<NumberType> >, 2> DiFfRG::dDG::internal::ScratchData< Discretization >::solution_interface |
The documentation for this struct was generated from the following file:
- /home/runner/work/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/discretization/FEM/assembler/ddg.hh
Generated by