ASPECT
Public Member Functions | Static Public Member Functions | List of all members
aspect::BoundaryFluidPressure::Interface< dim > Class Template Referenceabstract
Inheritance diagram for aspect::BoundaryFluidPressure::Interface< dim >:
Inheritance graph
[legend]

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)
 

Detailed Description

template<int dim>
class aspect::BoundaryFluidPressure::Interface< dim >

Base class

Definition at line 47 of file interface.h.

Constructor & Destructor Documentation

§ ~Interface()

template<int dim>
virtual aspect::BoundaryFluidPressure::Interface< dim >::~Interface ( )
virtualdefault

Destructor. Made virtual to enforce that derived classes also have virtual destructors.

Member Function Documentation

§ initialize()

template<int dim>
virtual void aspect::BoundaryFluidPressure::Interface< dim >::initialize ( )
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.

§ fluid_pressure_gradient()

template<int dim>
virtual void aspect::BoundaryFluidPressure::Interface< dim >::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
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.

Parameters
boundary_indicatorThe 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_inputsThe material property inputs.
material_model_outputsThe material property outputs.
normal_vectorsA normal vector for each point.
fluid_pressure_gradient_outputsResult to be filled.

Implemented in aspect::BoundaryFluidPressure::Density< dim >.

§ declare_parameters()

template<int dim>
static void aspect::BoundaryFluidPressure::Interface< dim >::declare_parameters ( ParameterHandler &  prm)
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.

§ parse_parameters()

template<int dim>
virtual void aspect::BoundaryFluidPressure::Interface< dim >::parse_parameters ( ParameterHandler &  prm)
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 >.


The documentation for this class was generated from the following file: