ASPECT
Public Member Functions | Public Attributes | List of all members
aspect::internal::Assembly::Scratch::StokesPreconditioner< dim > Struct Template Reference
Inheritance diagram for aspect::internal::Assembly::Scratch::StokesPreconditioner< dim >:
Inheritance graph
[legend]

Public Member Functions

 StokesPreconditioner (const FiniteElement< dim > &finite_element, const Quadrature< dim > &quadrature, const Mapping< dim > &mapping, const UpdateFlags update_flags, const unsigned int n_compositional_fields, const unsigned int stokes_dofs_per_cell, const bool add_compaction_pressure, const bool rebuild_matrix, const bool use_bfbt)
 
 StokesPreconditioner (const StokesPreconditioner &scratch)
 
 ~StokesPreconditioner () override
 
void reinit (const typename DoFHandler< dim >::active_cell_iterator &cell_ref)
 
- Public Member Functions inherited from aspect::internal::Assembly::Scratch::ScratchBase< dim >
 ScratchBase ()
 
 ScratchBase (const ScratchBase &scratch)
 
virtual ~ScratchBase ()=default
 

Public Attributes

FEValues< dim > finite_element_values
 
std::vector< types::global_dof_index > local_dof_indices
 
std::vector< unsigned int > dof_component_indices
 
std::vector< SymmetricTensor< 2, dim > > grads_phi_u
 
std::vector< double > div_phi_u
 
std::vector< double > phi_p
 
std::vector< Tensor< 1, dim > > phi_u
 
std::vector< double > phi_p_c
 
std::vector< Tensor< 1, dim > > grad_phi_p
 
MaterialModel::MaterialModelInputs< dim > material_model_inputs
 
MaterialModel::MaterialModelOutputs< dim > material_model_outputs
 
const bool rebuild_stokes_matrix
 
- Public Attributes inherited from aspect::internal::Assembly::Scratch::ScratchBase< dim >
DoFHandler< dim >::active_cell_iterator cell
 
unsigned face_number
 

Detailed Description

template<int dim>
struct aspect::internal::Assembly::Scratch::StokesPreconditioner< dim >

A scratch object to store all necessary information to assemble the Stokes preconditioner terms.

Definition at line 107 of file simulator.h.

Constructor & Destructor Documentation

§ StokesPreconditioner() [1/2]

template<int dim>
aspect::internal::Assembly::Scratch::StokesPreconditioner< dim >::StokesPreconditioner ( const FiniteElement< dim > &  finite_element,
const Quadrature< dim > &  quadrature,
const Mapping< dim > &  mapping,
const UpdateFlags  update_flags,
const unsigned int  n_compositional_fields,
const unsigned int  stokes_dofs_per_cell,
const bool  add_compaction_pressure,
const bool  rebuild_matrix,
const bool  use_bfbt 
)

§ StokesPreconditioner() [2/2]

§ ~StokesPreconditioner()

Member Function Documentation

§ reinit()

template<int dim>
void aspect::internal::Assembly::Scratch::StokesPreconditioner< dim >::reinit ( const typename DoFHandler< dim >::active_cell_iterator &  cell_ref)

Member Data Documentation

§ finite_element_values

template<int dim>
FEValues<dim> aspect::internal::Assembly::Scratch::StokesPreconditioner< dim >::finite_element_values

Definition at line 109 of file interface.h.

§ local_dof_indices

template<int dim>
std::vector<types::global_dof_index> aspect::internal::Assembly::Scratch::StokesPreconditioner< dim >::local_dof_indices

Definition at line 113 of file interface.h.

§ dof_component_indices

template<int dim>
std::vector<unsigned int> aspect::internal::Assembly::Scratch::StokesPreconditioner< dim >::dof_component_indices

Definition at line 114 of file interface.h.

§ grads_phi_u

template<int dim>
std::vector<SymmetricTensor<2,dim> > aspect::internal::Assembly::Scratch::StokesPreconditioner< dim >::grads_phi_u

Definition at line 115 of file interface.h.

§ div_phi_u

template<int dim>
std::vector<double> aspect::internal::Assembly::Scratch::StokesPreconditioner< dim >::div_phi_u

Definition at line 116 of file interface.h.

§ phi_p

template<int dim>
std::vector<double> aspect::internal::Assembly::Scratch::StokesPreconditioner< dim >::phi_p

Definition at line 117 of file interface.h.

§ phi_u

template<int dim>
std::vector<Tensor<1,dim> > aspect::internal::Assembly::Scratch::StokesPreconditioner< dim >::phi_u

Definition at line 118 of file interface.h.

§ phi_p_c

template<int dim>
std::vector<double> aspect::internal::Assembly::Scratch::StokesPreconditioner< dim >::phi_p_c

Definition at line 119 of file interface.h.

§ grad_phi_p

template<int dim>
std::vector<Tensor<1,dim> > aspect::internal::Assembly::Scratch::StokesPreconditioner< dim >::grad_phi_p

Definition at line 120 of file interface.h.

§ material_model_inputs

Material model inputs and outputs computed at the current linearization point.

Definition at line 126 of file interface.h.

§ material_model_outputs

Definition at line 127 of file interface.h.

§ rebuild_stokes_matrix

template<int dim>
const bool aspect::internal::Assembly::Scratch::StokesPreconditioner< dim >::rebuild_stokes_matrix

Whether the Stokes matrix should be rebuild during this assembly. If the matrix does not change, assembling the right hand side is sufficient.

Definition at line 134 of file interface.h.


The documentation for this struct was generated from the following files: