![]() |
ASPECT
|
Public Member Functions | |
virtual | ~Interface ()=default |
virtual void | initialize () |
virtual void | fluid_pressure_gradient (const types::boundary_id boundary_indicator, const MaterialModel::MaterialModelInputs< dim > &material_model_inputs, const MaterialModel::MaterialModelOutputs< dim > &material_model_outputs, const std::vector< Tensor< 1, dim >> &normal_vectors, std::vector< double > &fluid_pressure_gradient_outputs) const =0 |
virtual void | parse_parameters (ParameterHandler &prm) |
Static Public Member Functions | |
static void | declare_parameters (ParameterHandler &prm) |
Base class
Definition at line 47 of file interface.h.
|
virtualdefault |
Destructor. Made virtual to enforce that derived classes also have virtual destructors.
|
virtual |
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.
|
pure virtual |
Compute the component of the gradient of the fluid pressure in the direction normal to a boundary for a list of quadrature points.
The return value can typically contain material_model_outputs.fluid_densities
[q] or material_model_outputs.densities
[q], multiplied by the gravity vector and dotted with the normal. If the solid density is used, fluid is only flowing in or out due to differences in dynamic pressure, if the fluid density is used, melt flows in with the same velocity as inflowing solid material.
boundary_indicator | The boundary indicator of the part of the boundary of the domain on which the point is located at which we are requesting the fluid pressure gradients. |
material_model_inputs | The material property inputs. |
material_model_outputs | The material property outputs. |
normal_vectors | A normal vector for each point. |
fluid_pressure_gradient_outputs | Result to be filled. |
Implemented in aspect::BoundaryFluidPressure::Density< dim >.
|
static |
Declare the parameters this class 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.
|
virtual |
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.
Reimplemented in aspect::BoundaryFluidPressure::Density< dim >.