ASPECT
|
Public Member Functions | |
StokesSystem (const FiniteElement< dim > &finite_element, const Mapping< dim > &mapping, const Quadrature< dim > &quadrature, const Quadrature< dim-1 > &face_quadrature, const UpdateFlags update_flags, const UpdateFlags face_update_flags, const unsigned int n_compositional_fields, const unsigned int stokes_dofs_per_cell, const bool add_compaction_pressure, const bool use_reference_density_profile, const bool rebuild_stokes_matrix, const bool rebuild_newton_stokes_matrix, const bool use_bfbt) | |
StokesSystem (const StokesSystem< dim > &scratch) | |
void | reinit (const typename DoFHandler< dim >::active_cell_iterator &cell_ref, const unsigned face_number_ref) |
Public Member Functions inherited from 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 (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 |
A scratch object to store all necessary information to assemble the terms in the Stokes equations. We derive the StokesSystem scratch class from the StokesPreconditioner class, because all the objects that are necessary for the assembly of the preconditioner are also needed for the actual system matrix and right hand side, plus some extra data that we need for the time stepping and traction boundaries on the right hand side.
Definition at line 108 of file simulator.h.
aspect::internal::Assembly::Scratch::StokesSystem< dim >::StokesSystem | ( | const FiniteElement< dim > & | finite_element, |
const Mapping< dim > & | mapping, | ||
const Quadrature< dim > & | quadrature, | ||
const Quadrature< dim-1 > & | face_quadrature, | ||
const UpdateFlags | update_flags, | ||
const UpdateFlags | face_update_flags, | ||
const unsigned int | n_compositional_fields, | ||
const unsigned int | stokes_dofs_per_cell, | ||
const bool | add_compaction_pressure, | ||
const bool | use_reference_density_profile, | ||
const bool | rebuild_stokes_matrix, | ||
const bool | rebuild_newton_stokes_matrix, | ||
const bool | use_bfbt | ||
) |
aspect::internal::Assembly::Scratch::StokesSystem< dim >::StokesSystem | ( | const StokesSystem< dim > & | scratch | ) |
void aspect::internal::Assembly::Scratch::StokesSystem< dim >::reinit | ( | const typename DoFHandler< dim >::active_cell_iterator & | cell_ref, |
const unsigned | face_number_ref | ||
) |
FEFaceValues<dim> aspect::internal::Assembly::Scratch::StokesSystem< dim >::face_finite_element_values |
Definition at line 168 of file interface.h.
std::vector<Tensor<1,dim> > aspect::internal::Assembly::Scratch::StokesSystem< dim >::phi_u |
Definition at line 175 of file interface.h.
std::vector<Tensor<1,dim> > aspect::internal::Assembly::Scratch::StokesSystem< dim >::velocity_values |
Definition at line 176 of file interface.h.
std::vector<double> aspect::internal::Assembly::Scratch::StokesSystem< dim >::velocity_divergence |
Definition at line 177 of file interface.h.
std::vector<Tensor<1,dim> > aspect::internal::Assembly::Scratch::StokesSystem< dim >::temperature_gradients |
Definition at line 178 of file interface.h.
MaterialModel::MaterialModelInputs<dim> aspect::internal::Assembly::Scratch::StokesSystem< dim >::face_material_model_inputs |
Material model inputs and outputs computed at the current linearization point.
In contrast to the variables above, the following two variables are used in the assembly at quadrature points on faces, not on cells.
Definition at line 188 of file interface.h.
MaterialModel::MaterialModelOutputs<dim> aspect::internal::Assembly::Scratch::StokesSystem< dim >::face_material_model_outputs |
Definition at line 189 of file interface.h.
std::vector<double> aspect::internal::Assembly::Scratch::StokesSystem< dim >::reference_densities |
In some approximations of the Stokes equations the density used for the mass conservation (/continuity) equation is some form of reference density, while the density used for calculating the buoyancy force is the full density. In case such a formulation is used the reference density (and its derivative in depth direction) is queried from the adiabatic conditions plugin and is stored in these variables.
Definition at line 200 of file interface.h.
std::vector<double> aspect::internal::Assembly::Scratch::StokesSystem< dim >::reference_densities_depth_derivative |
Definition at line 201 of file interface.h.
const bool aspect::internal::Assembly::Scratch::StokesSystem< dim >::rebuild_newton_stokes_matrix |
Whether the Newton solver Stokes matrix should be rebuild during this assembly. If the matrix does not change, assembling the right hand side is sufficient.
Definition at line 208 of file interface.h.