Plugins
|
! Factory for creating elem discs. More...
#include <richards_elem_disc.h>
Public Types | |
typedef IRichardsLinker< dim > | TConductivity |
typedef ConstUserNumber< dim > | TConstUserNumber |
typedef ConstUserVector< dim > | TConstUserVector |
typedef ug::ConvectionDiffusionPlugin::ConvectionDiffusionFV1< TDomain > | TConvDiff |
typedef IElemDisc< TDomain > | TElemDisc |
typedef CplUserData< number, dim > | TNumberData |
typedef RichardsElemDisc< TDomain > | TRichards |
typedef IRichardsLinker< dim > | TSaturation |
typedef ScaleAddLinker< number, dim, number > | TScaleAddLinkerNumber |
typedef ScaleAddLinker< MathVector< dim >, dim, number > | TScaleAddLinkerVector |
typedef CplUserData< MathVector< dim >, dim > | TVectorData |
Public Member Functions | |
SmartPtr< TRichards > | create_richards (const char *subsets) |
Create classic Richards equation. More... | |
const char * | get_disc_type () |
RichardsElemDiscFactory () | |
void | set_abs_conductivity (SmartPtr< TNumberData > data) |
void | set_conductivity (SmartPtr< TConductivity > data) |
void | set_function (const char *functions) |
void | set_gravity (number g) |
void | set_saturation (SmartPtr< TSaturation > data) |
Static Public Attributes | |
static const int | dim = TDomain::dim |
Protected Attributes | |
number | m_dGravity |
std::string | m_functions |
SmartPtr< TNumberData > | m_spAbsConductivity |
SmartPtr< TConductivity > | m_spRelConductivity |
SmartPtr< TSaturation > | m_spSaturation |
! Factory for creating elem discs.
typedef IRichardsLinker<dim> ug::Richards::RichardsElemDiscFactory< TDomain >::TConductivity |
typedef ConstUserNumber<dim> ug::Richards::RichardsElemDiscFactory< TDomain >::TConstUserNumber |
typedef ConstUserVector<dim> ug::Richards::RichardsElemDiscFactory< TDomain >::TConstUserVector |
typedef ug::ConvectionDiffusionPlugin::ConvectionDiffusionFV1<TDomain> ug::Richards::RichardsElemDiscFactory< TDomain >::TConvDiff |
typedef IElemDisc<TDomain> ug::Richards::RichardsElemDiscFactory< TDomain >::TElemDisc |
typedef CplUserData<number, dim> ug::Richards::RichardsElemDiscFactory< TDomain >::TNumberData |
typedef RichardsElemDisc<TDomain> ug::Richards::RichardsElemDiscFactory< TDomain >::TRichards |
typedef IRichardsLinker<dim> ug::Richards::RichardsElemDiscFactory< TDomain >::TSaturation |
typedef ScaleAddLinker<number, dim, number> ug::Richards::RichardsElemDiscFactory< TDomain >::TScaleAddLinkerNumber |
typedef ScaleAddLinker<MathVector<dim>, dim, number> ug::Richards::RichardsElemDiscFactory< TDomain >::TScaleAddLinkerVector |
typedef CplUserData<MathVector<dim>, dim> ug::Richards::RichardsElemDiscFactory< TDomain >::TVectorData |
|
inline |
|
inline |
Create classic Richards equation.
Element discretization for: \frac{\partial S(-h)}{\partial t} + \nabla \cdot [- C \nabla (h+z)] = 0
Input parameters: saturation S, conductivity C = Cabs*Crel, gravity $\nabla z$
Create elem disc.
References ug::Richards::RichardsElemDiscFactory< TDomain >::dim, ug::Richards::RichardsElemDiscFactory< TDomain >::m_dGravity, ug::Richards::RichardsElemDiscFactory< TDomain >::m_functions, ug::Richards::RichardsElemDiscFactory< TDomain >::m_spAbsConductivity, ug::Richards::RichardsElemDiscFactory< TDomain >::m_spRelConductivity, ug::Richards::RichardsElemDiscFactory< TDomain >::m_spSaturation, and UG_ASSERT.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |