Plugins
ug::Poroelasticity::BiotProblem< TDomain, TAlgebra > Class Template Reference

A Biot problem consists of several element discs plus boundary conditions. More...

#include <biot_tools.h>

+ Inheritance diagram for ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >:

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 BiotDiscConfigconfig () 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< BiotSubsetParametersm_params
 

Detailed Description

template<typename TDomain, typename TAlgebra>
class ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >

A Biot problem consists of several element discs plus boundary conditions.

For each problem, we can add multiple elemDiscs and boundary conditions.

Member Typedef Documentation

◆ TConvectionDiffusionFV1

template<typename TDomain , typename TAlgebra >
typedef ConvectionDiffusionPlugin::ConvectionDiffusionFV1<TDomain> ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::TConvectionDiffusionFV1
protected

◆ TConvectionDiffusionStab

template<typename TDomain , typename TAlgebra >
typedef ConvectionDiffusionPlugin::ConvectionDiffusionStabFE<TDomain> ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::TConvectionDiffusionStab
protected

◆ TDomainDisc

template<typename TDomain , typename TAlgebra >
typedef DomainDiscretization<TDomain, TAlgebra> ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::TDomainDisc

◆ TElemDisc

template<typename TDomain , typename TAlgebra >
typedef IElemDisc<TDomain> ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::TElemDisc

◆ TGridFunction

template<typename TDomain , typename TAlgebra >
typedef GridFunction<TDomain,TAlgebra> ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::TGridFunction

Constructor & Destructor Documentation

◆ BiotProblem() [1/2]

template<typename TDomain , typename TAlgebra >
ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::BiotProblem ( const char *  uCmp,
const char *  pCmp,
const char *  gridname 
)
inline

CTOR (default orders)

◆ BiotProblem() [2/2]

template<typename TDomain , typename TAlgebra >
ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::BiotProblem ( const BiotDiscConfig config,
const char *  gridname 
)
inline

CTOR (full)

◆ ~BiotProblem()

template<typename TDomain , typename TAlgebra >
virtual ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::~BiotProblem ( )
inlinevirtual

DTOR.

Member Function Documentation

◆ add_boundary_conditions()

template<typename TDomain , typename TAlgebra >
virtual void ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::add_boundary_conditions ( SmartPtr< TDomainDisc dd,
bool  bSteadyStateMechanics = true 
)
inlinevirtual

This add all boundary conditions.

Reimplemented in ug::Poroelasticity::BarryMercerProblem< TDomain, TAlgebra >.

◆ add_elem_discs()

◆ add_stab_discs()

template<typename TDomain , typename TAlgebra >
virtual void ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::add_stab_discs ( SmartPtr< TDomainDisc dd,
bool  bSteadyStateMechanics = true 
)
inlineprotectedvirtual

◆ add_subset_parameters() [1/2]

template<typename TDomain , typename TAlgebra >
void ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::add_subset_parameters ( const BiotSubsetParameters p)
inline

Add subset parameters.

References ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::m_params, and p.

◆ add_subset_parameters() [2/2]

template<typename TDomain , typename TAlgebra >
void ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::add_subset_parameters ( const char *&  json_string)
inline

Allows adding descriptions.

References ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::m_params.

◆ add_uzawa_discs()

template<typename TDomain , typename TAlgebra >
virtual void ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::add_uzawa_discs ( SmartPtr< TDomainDisc dd,
bool  bSteadyStateMechanics = true 
)
inlinevirtual

◆ config()

◆ end_time()

template<typename TDomain , typename TAlgebra >
virtual double ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::end_time ( )
inlinevirtual

◆ get_char_time()

◆ get_gridname()

template<typename TDomain , typename TAlgebra >
const char* ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::get_gridname ( ) const
inline

◆ get_porder()

template<typename TDomain , typename TAlgebra >
int ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::get_porder ( ) const
inline

◆ get_uorder()

template<typename TDomain , typename TAlgebra >
int ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::get_uorder ( ) const
inline

◆ interpolate_start_values()

template<typename TDomain , typename TAlgebra >
virtual void ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::interpolate_start_values ( SmartPtr< TGridFunction u,
double  t0 
)
inlinevirtual

◆ post_processing()

template<typename TDomain , typename TAlgebra >
virtual bool ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::post_processing ( SmartPtr< TGridFunction u,
size_t  step,
double  time 
)
inlinevirtual

Post-processing (per time step)

Reimplemented in ug::Poroelasticity::BarryMercerProblem< TDomain, TAlgebra >.

◆ start_time()

template<typename TDomain , typename TAlgebra >
virtual double ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::start_time ( )
inlinevirtual

Member Data Documentation

◆ dim

template<typename TDomain , typename TAlgebra >
const int ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::dim = TDomain::dim
static

◆ m_config

template<typename TDomain , typename TAlgebra >
BiotDiscConfig ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::m_config
protected

◆ m_gridname

template<typename TDomain , typename TAlgebra >
const std::string ug::Poroelasticity::BiotProblem< TDomain, TAlgebra >::m_gridname
protected

◆ m_params


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