ASPECT
|
Static Public Member Functions | |
static void | declare_parameters (ParameterHandler &prm) |
Static Public Member Functions inherited from aspect::Plugins::InterfaceBase | |
static void | declare_parameters (ParameterHandler &prm) |
Static Public Member Functions inherited from aspect::SimulatorAccess< dim > | |
static void | get_composition_values_at_q_point (const std::vector< std::vector< double >> &composition_values, const unsigned int q, std::vector< double > &composition_values_at_q_point) |
Private Member Functions | |
void | copy_required_properties (const unsigned int model_index, const typename Interface< dim >::MaterialModelOutputs &base_output, typename Interface< dim >::MaterialModelOutputs &out) const |
Private Attributes | |
std::map< Property::MaterialProperty, unsigned int > | model_property_map |
std::vector< std::string > | model_names |
std::vector< std::unique_ptr< Interface< dim > > > | models |
Additional Inherited Members | |
Public Types inherited from aspect::MaterialModel::Interface< dim > | |
using | MaterialModelInputs = MaterialModel::MaterialModelInputs< dim > |
using | MaterialModelOutputs = MaterialModel::MaterialModelOutputs< dim > |
Protected Attributes inherited from aspect::MaterialModel::Interface< dim > | |
NonlinearDependence::ModelDependence | model_dependence |
A material model that selects properties from other (non-compositing) material models.
Definition at line 62 of file compositing.h.
|
overridevirtual |
Initialization function. This function is called once at the beginning of the program after parse_parameters() is run and after the SimulatorAccess (if applicable) is initialized.
The default implementation of this function does nothing, but plugins that derive from this class (via the Interface
classes of their respective plugin systems) may overload it if they want something to happen upon startup of the Simulator object to which the plugin contributes.
Reimplemented from aspect::Plugins::InterfaceBase.
|
override |
Function to compute the material properties in out
given the inputs in in
.
|
override |
If this material model can produce additional named outputs that are derived from NamedAdditionalOutputs, create them in here.
|
static |
Declare the parameters the plugin takes through input files. The default implementation of this function does not describe any parameters. Consequently, derived classes do not have to overload this function if they do not take any runtime parameters. On the other hand, most plugins do have run-time parameters, and they may then overload this function.
|
overridevirtual |
Read the parameters this class declares from the parameter file. The default implementation of this function does not read any parameters. Consequently, derived classes do not have to overload this function if they do not take any runtime parameters. On the other hand, most plugins do have run-time parameters, and they may then overload this function.
Reimplemented from aspect::Plugins::InterfaceBase.
|
overridevirtual |
Return whether the model is compressible or not. Incompressibility does not necessarily imply that the density is constant; rather, it may still depend on temperature or pressure. In the current context, compressibility means whether we should solve the continuity equation as \(\nabla \cdot (\rho \mathbf u)=0\) (compressible Stokes) or as \(\nabla \cdot \mathbf{u}=0\) (incompressible Stokes).
Returns value from material model providing compressibility.
Implements aspect::MaterialModel::Interface< dim >.
|
private |
Copy desired properties from material model outputs produced by another material model,
model_index | Internal index for pointer to the material model evaluated |
base_output | Properties generated by the material model specified |
out | MaterialModelOutputs to be used. |
|
private |
Map specifying which material model is responsible for a property.
Definition at line 124 of file compositing.h.
|
private |
Names of and pointers to the material models used for compositing.
Definition at line 130 of file compositing.h.
|
private |
Definition at line 131 of file compositing.h.