![]() |
ASPECT
|
Public Member Functions | |
virtual void | melt_fractions (const MaterialModel::MaterialModelInputs< dim > &in, std::vector< double > &melt_fractions) const =0 |
virtual | ~MeltFractionModel ()=default |
Base class for material models that implement a melt fraction function. This is used to compute some statistics about the melt fraction.
|
virtualdefault |
Destructor. Does nothing but is virtual so that derived classes destructors are also virtual.
|
pure virtual |
Compute the equilibrium melt fractions for the given input conditions. in
and melt_fractions
need to have the same size.
in | Object that contains the current conditions. |
melt_fractions | Vector of doubles that is filled with the equilibrium melt fraction for each given input conditions. |
Implemented in aspect::MaterialModel::MeltBoukare< dim >, aspect::MaterialModel::MeltSimple< dim >, aspect::MaterialModel::LatentHeatMelt< dim >, and aspect::MaterialModel::MeltGlobal< dim >.