ASPECT
|
Public Member Functions | |
MeltOutputs (const unsigned int n_points, const unsigned int n_comp) | |
void | average (const MaterialAveraging::AveragingOperation operation, const FullMatrix< double > &projection_matrix, const FullMatrix< double > &expansion_matrix) override |
Public Member Functions inherited from aspect::MaterialModel::AdditionalMaterialOutputs< dim > | |
virtual | ~AdditionalMaterialOutputs ()=default |
Public Attributes | |
std::vector< double > | compaction_viscosities |
std::vector< double > | fluid_viscosities |
std::vector< double > | permeabilities |
std::vector< double > | fluid_densities |
std::vector< Tensor< 1, dim > > | fluid_density_gradients |
aspect::MaterialModel::MeltOutputs< dim >::MeltOutputs | ( | const unsigned int | n_points, |
const unsigned int | n_comp | ||
) |
Constructor. When the MeltOutputs are created, all properties are initialized with signaling NaNs. This means that after the call to the material model it can be checked if the material model actually computed the values, by checking if the individual values are finite (using std::isfinite).
|
overridevirtual |
Do the requested averaging operation for the melt outputs. The projection matrix argument is only used if the operation chosen is project_to_Q1.
Reimplemented from aspect::MaterialModel::AdditionalMaterialOutputs< dim >.
std::vector<double> aspect::MaterialModel::MeltOutputs< dim >::compaction_viscosities |
std::vector<double> aspect::MaterialModel::MeltOutputs< dim >::fluid_viscosities |
std::vector<double> aspect::MaterialModel::MeltOutputs< dim >::permeabilities |
std::vector<double> aspect::MaterialModel::MeltOutputs< dim >::fluid_densities |
std::vector<Tensor<1,dim> > aspect::MaterialModel::MeltOutputs< dim >::fluid_density_gradients |