ASPECT
|
Public Member Functions | |
MeltInputs (const unsigned int n_points) | |
void | fill (const LinearAlgebra::BlockVector &solution, const FEValuesBase< dim > &fe_values, const Introspection< dim > &introspection) override |
Public Member Functions inherited from aspect::MaterialModel::AdditionalMaterialInputs< dim > | |
virtual | ~AdditionalMaterialInputs ()=default |
Public Attributes | |
std::vector< double > | compaction_pressures |
std::vector< Tensor< 1, dim > > | fluid_velocities |
The MeltInputs provide the compaction pressures and melt (fluid) velocities, so that they can be used as additional inputs in heating or material models.
aspect::MaterialModel::MeltInputs< dim >::MeltInputs | ( | const unsigned int | n_points | ) |
Constructor. When the MeltInputs are created, all properties are initialized with signaling NaNs. This means that individual heating or material models can all attach the plugins they need, and in a later step they will all be filled together (using the fill function).
|
overridevirtual |
Fill the compaction pressures and fluid velocities.
Implements aspect::MaterialModel::AdditionalMaterialInputs< dim >.
std::vector<double> aspect::MaterialModel::MeltInputs< dim >::compaction_pressures |
std::vector<Tensor<1,dim> > aspect::MaterialModel::MeltInputs< dim >::fluid_velocities |