ASPECT
|
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) |
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.
|
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 >.