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

Public Member Functions

virtual void stokes_solution (const Point< dim > &p, Vector< double > &value) const =0
 
- Public Member Functions inherited from aspect::Plugins::InterfaceBase
virtual ~InterfaceBase ()=default
 
virtual void initialize ()
 
virtual void update ()
 
virtual void parse_parameters (ParameterHandler &prm)
 

Additional Inherited Members

- Static Public Member Functions inherited from aspect::Plugins::InterfaceBase
static void declare_parameters (ParameterHandler &prm)
 

Detailed Description

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

This plugin allows the user to prescribe a Stokes solution and can be thought of as velocity and pressure's equivalent of the initial conditions plugin.

Note: This can only be used if the nonlinear solver scheme is `single Advection, no Stokes'.

Definition at line 56 of file interface.h.

Member Function Documentation

§ stokes_solution()

template<int dim>
virtual void aspect::PrescribedStokesSolution::Interface< dim >::stokes_solution ( const Point< dim > &  p,
Vector< double > &  value 
) const
pure virtual

Given a position p, fill in desired velocity and pressure at that point into value, which will have dim+1 components. In value, the velocity components come first, followed by the pressure component.

Implemented in aspect::PrescribedStokesSolution::AsciiData< dim >, aspect::PrescribedStokesSolution::Function< dim >, and aspect::PrescribedStokesSolution::Circle< dim >.


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