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

Public Member Functions

 SeismicAdditionalOutputs (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 > vs
 
std::vector< double > vp
 
- Public Attributes inherited from aspect::MaterialModel::NamedAdditionalMaterialOutputs< dim >
std::vector< std::vector< double > > output_values
 

Detailed Description

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

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

Definition at line 913 of file interface.h.

Constructor & Destructor Documentation

§ SeismicAdditionalOutputs()

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

Member Function Documentation

§ get_nth_output()

template<int dim>
std::vector<double> aspect::MaterialModel::SeismicAdditionalOutputs< 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

§ vs

template<int dim>
std::vector<double> aspect::MaterialModel::SeismicAdditionalOutputs< dim >::vs

Seismic s-wave velocities at the evaluation points passed to the instance of MaterialModel::Interface::evaluate() that fills the current object.

Definition at line 925 of file interface.h.

§ vp

template<int dim>
std::vector<double> aspect::MaterialModel::SeismicAdditionalOutputs< dim >::vp

Seismic p-wave velocities at the evaluation points passed to the instance of MaterialModel::Interface::evaluate() that fills the current object.

Definition at line 932 of file interface.h.


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