ASPECT
|
Public Member Functions | |
PrescribedFieldOutputs (const unsigned int n_points, const unsigned int n_comp) | |
std::vector< double > | get_nth_output (const unsigned int idx) const override |
Public Member Functions inherited from aspect::MaterialModel::NamedAdditionalMaterialOutputs< dim > | |
NamedAdditionalMaterialOutputs (const std::vector< std::string > &output_names) | |
NamedAdditionalMaterialOutputs (const std::vector< std::string > &output_names, const unsigned int n_points) | |
~NamedAdditionalMaterialOutputs () override | |
const std::vector< std::string > & | get_names () const |
void | average (const MaterialAveraging::AveragingOperation, const FullMatrix< double > &, const FullMatrix< double > &) override |
Public Member Functions inherited from aspect::MaterialModel::AdditionalMaterialOutputs< dim > | |
virtual | ~AdditionalMaterialOutputs ()=default |
Public Attributes | |
std::vector< std::vector< double > > | prescribed_field_outputs |
Public Attributes inherited from aspect::MaterialModel::NamedAdditionalMaterialOutputs< dim > | |
std::vector< std::vector< double > > | output_values |
Additional output fields for prescribed field outputs to be added to the MaterialModel::MaterialModelOutputs structure and filled in the MaterialModel::Interface::evaluate() function.
This structure is used if for one of the compositional fields employed by a simulation, the advection scheme "prescribed field" is selected. (See Parameters::AdvectionFieldMethod for more information.) Then, while updating the compositional field, a structure of this type is created, given to the material model, and the material model outputs will finally be interpolated onto the corresponding compositional field.
Definition at line 1037 of file interface.h.
aspect::MaterialModel::PrescribedFieldOutputs< dim >::PrescribedFieldOutputs | ( | const unsigned int | n_points, |
const unsigned int | n_comp | ||
) |
|
overridevirtual |
Given an index as input argument, return a reference the to vector of values of the additional output with that index.
Reimplemented from aspect::MaterialModel::NamedAdditionalMaterialOutputs< dim >.
std::vector<std::vector<double> > aspect::MaterialModel::PrescribedFieldOutputs< dim >::prescribed_field_outputs |
Prescribed field outputs for all compositional fields at the evaluation points that are passed to the instance of MaterialModel::Interface::evaluate() that fills the current object. prescribed_field_outputs[q][c] is the prescribed field output at the evaluation point q for the compositional field with the index c.
Definition at line 1052 of file interface.h.