version 3.8.0
Loading...
Searching...
No Matches
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.

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

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

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} \))
 
Scalar spatialWeight (std::size_t, std::size_t k) const final
 weights of the spatial operator residual ( \( \beta_{ik} \))
 
Scalar timeStepWeight (std::size_t k) const final
 time step weights for each stage ( \( d_k \))
 
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

◆ temporalWeight()

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

◆ timeStepWeight()

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

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