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

Public Member Functions

 StokesPreconditioner (const unsigned int stokes_dofs_per_cell)
 
 StokesPreconditioner (const StokesPreconditioner &data)
 
 ~StokesPreconditioner () override=default
 
StokesPreconditioner< dim > & operator= (const StokesPreconditioner< dim > &data)=default
 
void extract_stokes_dof_indices (const std::vector< types::global_dof_index > &all_dof_indices, const Introspection< dim > &introspection, const FiniteElement< dim > &finite_element)
 
- Public Member Functions inherited from aspect::internal::Assembly::CopyData::CopyDataBase< dim >
virtual ~CopyDataBase ()=default
 

Public Attributes

FullMatrix< double > local_matrix
 
Vector< double > local_inverse_lumped_mass_matrix
 
std::vector< types::global_dof_index > local_dof_indices
 

Detailed Description

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

The Stokes preconditioner object only requires the bare minimum of copy data objects. Matrix contributions and degrees of freedom this cell corresponds to.

Definition at line 114 of file simulator.h.

Constructor & Destructor Documentation

§ StokesPreconditioner() [1/2]

template<int dim>
aspect::internal::Assembly::CopyData::StokesPreconditioner< dim >::StokesPreconditioner ( const unsigned int  stokes_dofs_per_cell)

§ StokesPreconditioner() [2/2]

§ ~StokesPreconditioner()

Member Function Documentation

§ operator=()

template<int dim>
StokesPreconditioner<dim>& aspect::internal::Assembly::CopyData::StokesPreconditioner< dim >::operator= ( const StokesPreconditioner< dim > &  data)
default

§ extract_stokes_dof_indices()

template<int dim>
void aspect::internal::Assembly::CopyData::StokesPreconditioner< dim >::extract_stokes_dof_indices ( const std::vector< types::global_dof_index > &  all_dof_indices,
const Introspection< dim > &  introspection,
const FiniteElement< dim > &  finite_element 
)

Extract the values listed in all_dof_indices only if it corresponds to the Stokes component and copy it to the variable local_dof_indices declared above in the same class as this function

Member Data Documentation

§ local_matrix

template<int dim>
FullMatrix<double> aspect::internal::Assembly::CopyData::StokesPreconditioner< dim >::local_matrix

Definition at line 374 of file interface.h.

§ local_inverse_lumped_mass_matrix

template<int dim>
Vector<double> aspect::internal::Assembly::CopyData::StokesPreconditioner< dim >::local_inverse_lumped_mass_matrix

Definition at line 375 of file interface.h.

§ local_dof_indices

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

Definition at line 376 of file interface.h.


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