Plugins
|
A Biot problem consists of several element discs plus boundary conditions. More...
#include <biot_tools.h>
Public Types | |
typedef DomainDiscretization< TDomain, TAlgebra > | TDomainDisc |
typedef IElemDisc< TDomain > | TElemDisc |
typedef GridFunction< TDomain, TAlgebra > | TGridFunction |
Public Member Functions | |
virtual void | add_boundary_conditions (SmartPtr< TDomainDisc > dd, bool bSteadyStateMechanics=true) |
This add all boundary conditions. More... | |
virtual void | add_elem_discs (SmartPtr< TDomainDisc > dd, bool bSteadyStateMechanics=true) |
Adding all elem discs to domain disc. More... | |
void | add_subset_parameters (const BiotSubsetParameters &p) |
Add subset parameters. More... | |
void | add_subset_parameters (const char *&json_string) |
Allows adding descriptions. More... | |
virtual void | add_uzawa_discs (SmartPtr< TDomainDisc > dd, bool bSteadyStateMechanics=true) |
Add stabilization to domain disc. More... | |
BiotProblem (const BiotDiscConfig &config, const char *gridname) | |
CTOR (full) More... | |
BiotProblem (const char *uCmp, const char *pCmp, const char *gridname) | |
CTOR (default orders) More... | |
const BiotDiscConfig & | config () const |
virtual double | end_time () |
virtual double | get_char_time () |
Get characteristic time. More... | |
const char * | get_gridname () const |
int | get_porder () const |
int | get_uorder () const |
virtual void | interpolate_start_values (SmartPtr< TGridFunction > u, double t0) |
Initial values. More... | |
virtual bool | post_processing (SmartPtr< TGridFunction > u, size_t step, double time) |
Post-processing (per time step) More... | |
virtual double | start_time () |
virtual | ~BiotProblem () |
DTOR. More... | |
Static Public Attributes | |
static const int | dim = TDomain::dim |
Protected Types | |
typedef ConvectionDiffusionPlugin::ConvectionDiffusionFV1< TDomain > | TConvectionDiffusionFV1 |
typedef ConvectionDiffusionPlugin::ConvectionDiffusionStabFE< TDomain > | TConvectionDiffusionStab |
Protected Member Functions | |
virtual void | add_stab_discs (SmartPtr< TDomainDisc > dd, bool bSteadyStateMechanics=true) |
Add stabilizationto domain disc. More... | |
Protected Attributes | |
BiotDiscConfig | m_config |
const std::string | m_gridname |
std::vector< BiotSubsetParameters > | m_params |
A Biot problem consists of several element discs plus boundary conditions.
For each problem, we can add multiple elemDiscs and boundary conditions.
|
protected |
|
protected |
typedef DomainDiscretization<TDomain, TAlgebra> ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::TDomainDisc |
typedef IElemDisc<TDomain> ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::TElemDisc |
typedef GridFunction<TDomain,TAlgebra> ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::TGridFunction |
|
inline |
CTOR (default orders)
|
inline |
CTOR (full)
|
inlinevirtual |
DTOR.
|
inlinevirtual |
This add all boundary conditions.
Reimplemented in ug::Poroelasticity::BarryMercerProblem< TDomain, TAlgebra >.
|
inlinevirtual |
Adding all elem discs to domain disc.
Reimplemented in ug::Poroelasticity::BarryMercerProblem< TDomain, TAlgebra >.
References ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::config(), ug::Poroelasticity::BiotElemDiscFactory< TDomain >::create_elem_discs(), ug::Poroelasticity::BiotDiscConfig::m_bSteadyStateMechanics, and ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::m_params.
Referenced by ug::Poroelasticity::BarryMercerProblem< TDomain, TAlgebra >::add_elem_discs().
|
inlineprotectedvirtual |
Add stabilizationto domain disc.
References ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::config(), ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::m_params, make_sp(), and UG_ASSERT.
Referenced by ug::Poroelasticity::BarryMercerProblem< TDomain, TAlgebra >::add_elem_discs().
|
inline |
Add subset parameters.
References ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::m_params, and p.
|
inline |
Allows adding descriptions.
References ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::m_params.
|
inlinevirtual |
Add stabilization to domain disc.
References ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::config(), ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::m_params, make_sp(), and UG_ASSERT.
|
inline |
References ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::m_config.
Referenced by ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::add_elem_discs(), ug::Poroelasticity::BarryMercerProblem< TDomain, TAlgebra >::add_elem_discs(), ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::add_stab_discs(), ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::add_uzawa_discs(), ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::get_porder(), and ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::get_uorder().
|
inlinevirtual |
|
inlinevirtual |
Get characteristic time.
References ug::Poroelasticity::DefaultCharTime(), and ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::m_params.
Referenced by ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::end_time(), ug::Poroelasticity::BarryMercerProblem< TDomain, TAlgebra >::end_time(), and ug::Poroelasticity::BarryMercerProblem< TDomain, TAlgebra >::post_processing().
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Initial values.
Reimplemented in ug::Poroelasticity::BarryMercerProblem< TDomain, TAlgebra >.
|
inlinevirtual |
Post-processing (per time step)
Reimplemented in ug::Poroelasticity::BarryMercerProblem< TDomain, TAlgebra >.
|
inlinevirtual |
Reimplemented in ug::Poroelasticity::BarryMercerProblem< TDomain, TAlgebra >.
|
static |
|
protected |
|
protected |
|
protected |
Referenced by ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::add_elem_discs(), ug::Poroelasticity::BarryMercerProblem< TDomain, TAlgebra >::add_elem_discs(), ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::add_stab_discs(), ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::add_subset_parameters(), ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::add_uzawa_discs(), ug::Poroelasticity::BarryMercerProblem< TDomain, TAlgebra >::default_beta(), ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::get_char_time(), ug::Poroelasticity::BarryMercerProblem< TDomain, TAlgebra >::post_processing(), and ug::Poroelasticity::BarryMercerProblem< TDomain, TAlgebra >::set_default_parameters().