3.6-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Member Functions | List of all members
Dumux::Experimental::MultiStage::Theta< Scalar > Class Template Reference

A theta time stepping scheme theta=1.0 is an implicit Euler scheme, theta=0.0 an explicit Euler scheme, theta=0.5 is a Cranck-Nicholson scheme. More...

#include <dumux/experimental/timestepping/multistagemethods.hh>

Inheritance diagram for Dumux::Experimental::MultiStage::Theta< Scalar >:

Description

template<class Scalar>
class Dumux::Experimental::MultiStage::Theta< Scalar >

A theta time stepping scheme theta=1.0 is an implicit Euler scheme, theta=0.0 an explicit Euler scheme, theta=0.5 is a Cranck-Nicholson scheme.

Public Member Functions

 Theta (const Scalar theta)
 
bool implicit () const final
 
std::size_t numStages () const final
 
Scalar temporalWeight (std::size_t, std::size_t k) const final
 weights of the temporal operator residual ( \( \alpha_{ik} \)) More...
 
Scalar spatialWeight (std::size_t, std::size_t k) const final
 weights of the spatial operator residual ( \( \beta_{ik} \)) More...
 
Scalar timeStepWeight (std::size_t k) const final
 time step weights for each stage ( \( d_k \)) More...
 
std::string name () const override
 

Constructor & Destructor Documentation

◆ Theta()

template<class Scalar >
Dumux::Experimental::MultiStage::Theta< Scalar >::Theta ( const Scalar  theta)
inlineexplicit

Member Function Documentation

◆ implicit()

template<class Scalar >
bool Dumux::Experimental::MultiStage::Theta< Scalar >::implicit ( ) const
inlinefinalvirtual

◆ name()

template<class Scalar >
std::string Dumux::Experimental::MultiStage::Theta< Scalar >::name ( ) const
inlineoverridevirtual

◆ numStages()

template<class Scalar >
std::size_t Dumux::Experimental::MultiStage::Theta< Scalar >::numStages ( ) const
inlinefinalvirtual

◆ spatialWeight()

template<class Scalar >
Scalar Dumux::Experimental::MultiStage::Theta< Scalar >::spatialWeight ( std::size_t  i,
std::size_t  k 
) const
inlinefinalvirtual

weights of the spatial operator residual ( \( \beta_{ik} \))

Implements Dumux::Experimental::MultiStageMethod< Scalar >.

◆ temporalWeight()

template<class Scalar >
Scalar Dumux::Experimental::MultiStage::Theta< Scalar >::temporalWeight ( std::size_t  i,
std::size_t  k 
) const
inlinefinalvirtual

weights of the temporal operator residual ( \( \alpha_{ik} \))

Implements Dumux::Experimental::MultiStageMethod< Scalar >.

◆ timeStepWeight()

template<class Scalar >
Scalar Dumux::Experimental::MultiStage::Theta< Scalar >::timeStepWeight ( std::size_t  k) const
inlinefinalvirtual

time step weights for each stage ( \( d_k \))

Implements Dumux::Experimental::MultiStageMethod< Scalar >.


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