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

Public Member Functions

 AdvectionSystem (const FiniteElement< dim > &finite_element, const FiniteElement< dim > &advection_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 typename Simulator< dim >::AdvectionField &field)
 
 AdvectionSystem (const AdvectionSystem &scratch)
 
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::unique_ptr< FEFaceValues< dim > > face_finite_element_values
 
std::unique_ptr< FEFaceValues< dim > > neighbor_face_finite_element_values
 
std::unique_ptr< FESubfaceValues< dim > > subface_finite_element_values
 
std::vector< types::global_dof_index > local_dof_indices
 
std::vector< double > phi_field
 
std::vector< Tensor< 1, dim > > grad_phi_field
 
std::vector< double > laplacian_phi_field
 
std::vector< double > face_phi_field
 
std::vector< Tensor< 1, dim > > face_grad_phi_field
 
std::vector< double > neighbor_face_phi_field
 
std::vector< Tensor< 1, dim > > neighbor_face_grad_phi_field
 
std::vector< Tensor< 1, dim > > old_velocity_values
 
std::vector< Tensor< 1, dim > > old_old_velocity_values
 
std::vector< double > old_pressure
 
std::vector< double > old_old_pressure
 
std::vector< Tensor< 1, dim > > old_pressure_gradients
 
std::vector< Tensor< 1, dim > > old_old_pressure_gradients
 
std::vector< SymmetricTensor< 2, dim > > old_strain_rates
 
std::vector< SymmetricTensor< 2, dim > > old_old_strain_rates
 
std::vector< double > old_temperature_values
 
std::vector< double > old_old_temperature_values
 
std::vector< double > old_field_values
 
std::vector< double > old_old_field_values
 
std::vector< Tensor< 1, dim > > old_field_grads
 
std::vector< Tensor< 1, dim > > old_old_field_grads
 
std::vector< double > old_field_laplacians
 
std::vector< double > old_old_field_laplacians
 
std::vector< std::vector< double > > old_composition_values
 
std::vector< std::vector< double > > old_old_composition_values
 
std::vector< double > current_temperature_values
 
std::vector< Tensor< 1, dim > > current_velocity_values
 
std::vector< Tensor< 1, dim > > face_current_velocity_values
 
std::vector< Tensor< 1, dim > > mesh_velocity_values
 
std::vector< Tensor< 1, dim > > face_mesh_velocity_values
 
std::vector< SymmetricTensor< 2, dim > > current_strain_rates
 
std::vector< std::vector< double > > current_composition_values
 
std::vector< double > current_velocity_divergences
 
MaterialModel::MaterialModelInputs< dim > material_model_inputs
 
MaterialModel::MaterialModelOutputs< dim > material_model_outputs
 
MaterialModel::MaterialModelInputs< dim > face_material_model_inputs
 
MaterialModel::MaterialModelOutputs< dim > face_material_model_outputs
 
MaterialModel::MaterialModelInputs< dim > neighbor_face_material_model_inputs
 
MaterialModel::MaterialModelOutputs< dim > neighbor_face_material_model_outputs
 
HeatingModel::HeatingModelOutputs heating_model_outputs
 
HeatingModel::HeatingModelOutputs face_heating_model_outputs
 
HeatingModel::HeatingModelOutputs neighbor_face_heating_model_outputs
 
const Simulator< dim >::AdvectionField * advection_field
 
double artificial_viscosity
 
- 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::AdvectionSystem< dim >

A scratch object to store all necessary information to assemble the terms in the advection equations.

Definition at line 109 of file simulator.h.

Constructor & Destructor Documentation

§ AdvectionSystem() [1/2]

template<int dim>
aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::AdvectionSystem ( const FiniteElement< dim > &  finite_element,
const FiniteElement< dim > &  advection_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 typename Simulator< dim >::AdvectionField &  field 
)

§ AdvectionSystem() [2/2]

template<int dim>
aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::AdvectionSystem ( const AdvectionSystem< dim > &  scratch)

Member Function Documentation

§ reinit()

template<int dim>
void aspect::internal::Assembly::Scratch::AdvectionSystem< 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::AdvectionSystem< dim >::finite_element_values

Definition at line 231 of file interface.h.

§ face_finite_element_values

template<int dim>
std::unique_ptr<FEFaceValues<dim> > aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::face_finite_element_values

Definition at line 235 of file interface.h.

§ neighbor_face_finite_element_values

template<int dim>
std::unique_ptr<FEFaceValues<dim> > aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::neighbor_face_finite_element_values

Definition at line 236 of file interface.h.

§ subface_finite_element_values

template<int dim>
std::unique_ptr<FESubfaceValues<dim> > aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::subface_finite_element_values

Definition at line 237 of file interface.h.

§ local_dof_indices

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

Definition at line 239 of file interface.h.

§ phi_field

template<int dim>
std::vector<double> aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::phi_field

Variables describing the values and gradients of the shape functions at the quadrature points, as they are used in the advection assembly function. note that the sizes of these arrays are equal to the number of shape functions corresponding to the currently advected field (and not all of the existing fields), and that they are also correspondingly indexed.

Definition at line 249 of file interface.h.

§ grad_phi_field

template<int dim>
std::vector<Tensor<1,dim> > aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::grad_phi_field

Definition at line 250 of file interface.h.

§ laplacian_phi_field

template<int dim>
std::vector<double> aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::laplacian_phi_field

Definition at line 251 of file interface.h.

§ face_phi_field

template<int dim>
std::vector<double> aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::face_phi_field

Definition at line 252 of file interface.h.

§ face_grad_phi_field

template<int dim>
std::vector<Tensor<1,dim> > aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::face_grad_phi_field

Definition at line 253 of file interface.h.

§ neighbor_face_phi_field

template<int dim>
std::vector<double> aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::neighbor_face_phi_field

Definition at line 254 of file interface.h.

§ neighbor_face_grad_phi_field

template<int dim>
std::vector<Tensor<1,dim> > aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::neighbor_face_grad_phi_field

Definition at line 255 of file interface.h.

§ old_velocity_values

template<int dim>
std::vector<Tensor<1,dim> > aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::old_velocity_values

Definition at line 257 of file interface.h.

§ old_old_velocity_values

template<int dim>
std::vector<Tensor<1,dim> > aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::old_old_velocity_values

Definition at line 258 of file interface.h.

§ old_pressure

template<int dim>
std::vector<double> aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::old_pressure

Definition at line 260 of file interface.h.

§ old_old_pressure

template<int dim>
std::vector<double> aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::old_old_pressure

Definition at line 261 of file interface.h.

§ old_pressure_gradients

template<int dim>
std::vector<Tensor<1,dim> > aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::old_pressure_gradients

Definition at line 262 of file interface.h.

§ old_old_pressure_gradients

template<int dim>
std::vector<Tensor<1,dim> > aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::old_old_pressure_gradients

Definition at line 263 of file interface.h.

§ old_strain_rates

template<int dim>
std::vector<SymmetricTensor<2,dim> > aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::old_strain_rates

Definition at line 265 of file interface.h.

§ old_old_strain_rates

template<int dim>
std::vector<SymmetricTensor<2,dim> > aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::old_old_strain_rates

Definition at line 266 of file interface.h.

§ old_temperature_values

template<int dim>
std::vector<double> aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::old_temperature_values

Definition at line 268 of file interface.h.

§ old_old_temperature_values

template<int dim>
std::vector<double> aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::old_old_temperature_values

Definition at line 269 of file interface.h.

§ old_field_values

template<int dim>
std::vector<double> aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::old_field_values

Definition at line 271 of file interface.h.

§ old_old_field_values

template<int dim>
std::vector<double> aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::old_old_field_values

Definition at line 272 of file interface.h.

§ old_field_grads

template<int dim>
std::vector<Tensor<1,dim> > aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::old_field_grads

Definition at line 273 of file interface.h.

§ old_old_field_grads

template<int dim>
std::vector<Tensor<1,dim> > aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::old_old_field_grads

Definition at line 274 of file interface.h.

§ old_field_laplacians

template<int dim>
std::vector<double> aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::old_field_laplacians

Definition at line 275 of file interface.h.

§ old_old_field_laplacians

template<int dim>
std::vector<double> aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::old_old_field_laplacians

Definition at line 276 of file interface.h.

§ old_composition_values

template<int dim>
std::vector<std::vector<double> > aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::old_composition_values

Definition at line 278 of file interface.h.

§ old_old_composition_values

template<int dim>
std::vector<std::vector<double> > aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::old_old_composition_values

Definition at line 279 of file interface.h.

§ current_temperature_values

template<int dim>
std::vector<double> aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::current_temperature_values

Definition at line 281 of file interface.h.

§ current_velocity_values

template<int dim>
std::vector<Tensor<1,dim> > aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::current_velocity_values

Definition at line 282 of file interface.h.

§ face_current_velocity_values

template<int dim>
std::vector<Tensor<1,dim> > aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::face_current_velocity_values

Definition at line 283 of file interface.h.

§ mesh_velocity_values

template<int dim>
std::vector<Tensor<1,dim> > aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::mesh_velocity_values

Definition at line 284 of file interface.h.

§ face_mesh_velocity_values

template<int dim>
std::vector<Tensor<1,dim> > aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::face_mesh_velocity_values

Definition at line 285 of file interface.h.

§ current_strain_rates

template<int dim>
std::vector<SymmetricTensor<2,dim> > aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::current_strain_rates

Definition at line 287 of file interface.h.

§ current_composition_values

template<int dim>
std::vector<std::vector<double> > aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::current_composition_values

Definition at line 288 of file interface.h.

§ current_velocity_divergences

template<int dim>
std::vector<double> aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::current_velocity_divergences

Definition at line 289 of file interface.h.

§ material_model_inputs

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

Definition at line 295 of file interface.h.

§ material_model_outputs

Definition at line 296 of file interface.h.

§ face_material_model_inputs

template<int dim>
MaterialModel::MaterialModelInputs<dim> aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::face_material_model_inputs

Definition at line 298 of file interface.h.

§ face_material_model_outputs

template<int dim>
MaterialModel::MaterialModelOutputs<dim> aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::face_material_model_outputs

Definition at line 299 of file interface.h.

§ neighbor_face_material_model_inputs

template<int dim>
MaterialModel::MaterialModelInputs<dim> aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::neighbor_face_material_model_inputs

Definition at line 301 of file interface.h.

§ neighbor_face_material_model_outputs

template<int dim>
MaterialModel::MaterialModelOutputs<dim> aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::neighbor_face_material_model_outputs

Definition at line 302 of file interface.h.

§ heating_model_outputs

Heating model outputs computed at the quadrature points of the current cell at the time of the current linearization point. As explained in the class documentation of HeatingModel::HeatingModelOutputs each term contains the sum of all enabled heating mechanism contributions.

Definition at line 311 of file interface.h.

§ face_heating_model_outputs

Definition at line 312 of file interface.h.

§ neighbor_face_heating_model_outputs

template<int dim>
HeatingModel::HeatingModelOutputs aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::neighbor_face_heating_model_outputs

Definition at line 313 of file interface.h.

§ advection_field

template<int dim>
const Simulator<dim>::AdvectionField* aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::advection_field

This pointer contains a struct that can be used to identify the advection field that is currently assembled. It can be used to determine between temperature and the available compositional fields. See the documentation of the AdvectionField class for more details.

Definition at line 322 of file interface.h.

§ artificial_viscosity

template<int dim>
double aspect::internal::Assembly::Scratch::AdvectionSystem< dim >::artificial_viscosity

The amount of entropy viscosity that should be applied to the current cell to stabilize the solution of the advection system.

Definition at line 328 of file interface.h.


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