ASPECT
Public Member Functions | Public Attributes | List of all members
aspect::MaterialModel::PrescribedTemperatureOutputs< dim > Class Template Reference
Inheritance diagram for aspect::MaterialModel::PrescribedTemperatureOutputs< dim >:
Inheritance graph
[legend]

Public Member Functions

 PrescribedTemperatureOutputs (const unsigned int n_points)
 
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< double > prescribed_temperature_outputs
 
- Public Attributes inherited from aspect::MaterialModel::NamedAdditionalMaterialOutputs< dim >
std::vector< std::vector< double > > output_values
 

Detailed Description

template<int dim>
class aspect::MaterialModel::PrescribedTemperatureOutputs< dim >

Additional output fields for prescribed temperature outputs to be added to the MaterialModel::MaterialModelOutputs structure and filled in the MaterialModel::Interface::evaluate() function.

This structure is used if the temperature field is solved using the advection scheme "prescribed field". (See Parameters::AdvectionFieldMethod for more information.) Then, while updating the temperature field, a structure of this type is created, given to the material model, and the material model outputs will finally be interpolated onto the temperature field.

Definition at line 1069 of file interface.h.

Constructor & Destructor Documentation

§ PrescribedTemperatureOutputs()

template<int dim>
aspect::MaterialModel::PrescribedTemperatureOutputs< dim >::PrescribedTemperatureOutputs ( const unsigned int  n_points)

Member Function Documentation

§ get_nth_output()

template<int dim>
std::vector<double> aspect::MaterialModel::PrescribedTemperatureOutputs< dim >::get_nth_output ( const unsigned int  idx) const
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 >.

Member Data Documentation

§ prescribed_temperature_outputs

template<int dim>
std::vector<double> aspect::MaterialModel::PrescribedTemperatureOutputs< dim >::prescribed_temperature_outputs

Prescribed field outputs for the temperature field at the evaluation points that are passed to the instance of MaterialModel::Interface::evaluate() that fills the current object. prescribed_temperature_outputs[q] is the prescribed field output at the evaluation point q for the temperature.

Definition at line 1083 of file interface.h.


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