ASPECT
Public Attributes | List of all members
aspect::Introspection< dim >::BlockIndices Struct Reference

Public Attributes

unsigned int velocities
 
unsigned int pressure
 
unsigned int temperature
 
std::vector< unsigned int > compositional_fields
 
std::vector< unsigned int > compositional_field_sparsity_pattern
 

Detailed Description

template<int dim>
struct aspect::Introspection< dim >::BlockIndices

A structure that enumerates the vector blocks of the finite element that correspond to each of the variables in this problem.

Definition at line 203 of file introspection.h.

Member Data Documentation

§ velocities

template<int dim>
unsigned int aspect::Introspection< dim >::BlockIndices::velocities

Definition at line 205 of file introspection.h.

§ pressure

template<int dim>
unsigned int aspect::Introspection< dim >::BlockIndices::pressure

Definition at line 206 of file introspection.h.

§ temperature

template<int dim>
unsigned int aspect::Introspection< dim >::BlockIndices::temperature

Definition at line 207 of file introspection.h.

§ compositional_fields

template<int dim>
std::vector<unsigned int> aspect::Introspection< dim >::BlockIndices::compositional_fields

Definition at line 208 of file introspection.h.

§ compositional_field_sparsity_pattern

template<int dim>
std::vector<unsigned int> aspect::Introspection< dim >::BlockIndices::compositional_field_sparsity_pattern

This variable contains the block for each compositional field where the matrix/sparsity pattern is copied from when we need to (temporarily) create a matrix. This way, we only need to store a single sparsity pattern and reuse it for all compositional fields (assuming they have an identical FiniteElement).

Definition at line 217 of file introspection.h.


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