22 #ifndef _aspect_introspection_h 23 #define _aspect_introspection_h 25 #include <deal.II/base/index_set.h> 26 #include <deal.II/base/quadrature.h> 27 #include <deal.II/fe/component_mask.h> 28 #include <deal.II/fe/fe_values_extractors.h> 29 #include <deal.II/fe/fe.h> 45 std::vector<VariableDeclaration<dim>>
61 chemical_composition = 0,
75 constexpr
static unsigned int n_types = 9;
85 if (input ==
"chemical composition")
87 else if (input ==
"stress")
89 else if (input ==
"strain")
91 else if (input ==
"grain size")
93 else if (input ==
"porosity")
95 else if (input ==
"density")
97 else if (input ==
"entropy")
99 else if (input ==
"generic")
101 else if (input ==
"unspecified")
104 AssertThrow(
false, ExcNotImplemented());
508 const std::vector<unsigned int> &
509 get_composition_base_element_indices()
const;
518 const std::vector<unsigned int> &
519 get_compositional_field_indices_with_base_element(
const unsigned int base_element_index)
const;
530 compositional_index_for_name (
const std::string &name)
const;
539 name_for_compositional_index (
const unsigned int index)
const;
544 const std::vector<std::string> &
545 get_composition_names ()
const;
551 const std::vector<CompositionalFieldDescription> &
552 get_composition_descriptions ()
const;
561 const std::vector<std::string> &
562 chemical_composition_field_names ()
const;
571 const std::vector<unsigned int> &
572 chemical_composition_field_indices ()
const;
582 n_chemical_composition_fields ()
const;
616 compositional_name_exists (
const std::string &name)
const;
622 const std::vector<unsigned int> &
629 const std::vector<std::string> &
647 is_stokes_component (
const unsigned int component_index)
const;
657 is_composition_component (
const unsigned int component_index)
const;
std::vector< IndexSet > system_relevant_partitioning
const std::vector< bool > use_discontinuous_composition_discretization
std::map< unsigned int, std::vector< unsigned int > > compositional_field_indices_with_base_element
Quadrature< dim > compositional_field_max
IndexSet locally_owned_pressure_dofs
std::vector< VariableDeclaration< dim > > construct_default_variables(const Parameters< dim > ¶meters)
Parameters< dim >::AdvectionFieldMethod::Kind temperature_method
IndexSet locally_owned_fluid_pressure_dofs
std::vector< unsigned int > compositional_fields
std::vector< unsigned int > compositional_fields
const unsigned int n_blocks
std::vector< std::vector< unsigned int > > composition_indices_for_type
std::vector< Quadrature< dim > > compositional_fields
::TrilinosWrappers::MPI::Vector Vector
Quadrature< dim-1 > temperature
const BaseElements base_elements
const PolynomialDegree polynomial_degree
Quadrature< dim > velocities
const unsigned int n_components
const Extractors extractors
std::vector< IndexSet > system_partitioning
std::vector< typename Parameters< dim >::AdvectionFieldMethod::Kind > compositional_field_methods
unsigned int max_compositional_field
std::vector< CompositionalFieldDescription > composition_descriptions
Quadrature< dim > temperature
std::vector< std::vector< std::string > > composition_names_for_type
const unsigned int n_compositional_fields
const ComponentIndices component_indices
std::vector< unsigned int > compositional_fields
Quadrature< dim-1 > compositional_fields
Quadrature< dim-1 > system
Quadrature< dim-1 > velocities
std::vector< unsigned int > compositional_fields
const bool use_discontinuous_temperature_discretization
std::array< unsigned int, dim > velocities
ComponentMask compositions
const FaceQuadratures face_quadratures
IndexSet locally_owned_melt_pressure_dofs
const Quadratures quadratures
Quadrature< dim > pressure
Quadrature< dim-1 > pressure
const BlockIndices block_indices
std::vector< unsigned int > compositional_field_sparsity_pattern
const ComponentMasks component_masks
std::vector< types::global_dof_index > system_dofs_per_block
std::vector< unsigned int > composition_base_element_indices
ComponentMask temperature
std::vector< std::string > composition_names
std::vector< ComponentMask > compositional_fields
IndexSet system_relevant_set
std::vector< IndexSet > stokes_partitioning
static Type parse_type(const std::string &input)