KASKADE 7 development version
Public Types | Public Member Functions | Static Public Attributes | Protected Attributes | Related Functions | List of all members
Kaskade::SemiLinearizationAt< Functional > Class Template Reference

Proxy class for the linearization of semi-linear time stepping schemes. More...

#include <functional_aux.hh>

Detailed Description

template<class Functional>
class Kaskade::SemiLinearizationAt< Functional >

Proxy class for the linearization of semi-linear time stepping schemes.

The sole difference to LinearizationAt is the second linearization point

Template Parameters
Functionala weak formulation of a parabolic equation

Definition at line 906 of file functional_aux.hh.

Inheritance diagram for Kaskade::SemiLinearizationAt< Functional >:
Kaskade::LinearizationAt< Functional >

Public Types

typedef Functional Functional
 
typedef Functional::Scalar Scalar
 
typedef Functional::AnsatzVars AnsatzVars
 
typedef Functional::TestVars TestVars
 
typedef Functional::OriginVars OriginVars
 
typedef Functional::DomainCache DomainCache
 
typedef Functional::BoundaryCache BoundaryCache
 
typedef Functional::OriginVars::VariableSet PointOfLinearization
 Type of variables around which the functional will be linearized. More...
 

Public Member Functions

 SemiLinearizationAt (Functional const &f_, typename Functional::AnsatzVars::VariableSet const &u_, typename Functional::AnsatzVars::VariableSet const &uJ_, typename Functional::AnsatzVars::VariableSet const &du_)
 Constructor. More...
 
Functional::DomainCache createDomainCache (int flags) const
 
Functional::BoundaryCache createBoundaryCache (int flags) const
 
int integrationOrder (Cell const &cell, int shapeFunctionOrder, bool boundary) const
 integration order More...
 
auto makePositiveThreshold () const
 
PointOfLinearization const & getOrigin () const
 Get point of linearization. More...
 
Functional const & getFunctional () const
 Get functional. More...
 
int derivatives () const
 Gives the highest derivative that arises in the weak formulation. More...
 

Static Public Attributes

static ProblemType const type
 

Protected Attributes

Functional const & f
 
PointOfLinearization const & u
 

Related Functions

(Note that these are not member functions.)

template<class Functional >
SemiLinearizationAt< FunctionalsemiLinearization (Functional const &f, typename Functional::AnsatzVars::VariableSet const &u, typename Functional::AnsatzVars::VariableSet const &uJ, typename Functional::AnsatzVars::VariableSet const &du)
 Convenience routine for constructing semi-linearizations. More...
 
LinearizationAt< Functionallinearization (Functional const &f, typename Functional::OriginVars::VariableSet const &u)
 Convenience routine: construct linearization without having to know the type of the functional. More...
 

Member Typedef Documentation

◆ AnsatzVars

typedef Functional::AnsatzVars Kaskade::LinearizationAt< Functional >::AnsatzVars
inherited

Definition at line 622 of file functional_aux.hh.

◆ BoundaryCache

typedef Functional::BoundaryCache Kaskade::LinearizationAt< Functional >::BoundaryCache
inherited

Definition at line 627 of file functional_aux.hh.

◆ DomainCache

typedef Functional::DomainCache Kaskade::LinearizationAt< Functional >::DomainCache
inherited

Definition at line 626 of file functional_aux.hh.

◆ Functional

typedef Functional Kaskade::LinearizationAt< Functional >::Functional
inherited

Definition at line 617 of file functional_aux.hh.

◆ OriginVars

typedef Functional::OriginVars Kaskade::LinearizationAt< Functional >::OriginVars
inherited

Definition at line 624 of file functional_aux.hh.

◆ PointOfLinearization

typedef Functional::OriginVars::VariableSet Kaskade::LinearizationAt< Functional >::PointOfLinearization
inherited

Type of variables around which the functional will be linearized.

The type of "iterate", i.e. the point around which the functional is linearized in the ansatz and test spaces. Note that this can be, but need not be, the ansatz space itself. In any case, it must refer to the same list of FE spaces.

\TODO: Why that? It must have the same number of variables with the same number of components each, but the underlying FE spaces can be different.

Definition at line 641 of file functional_aux.hh.

◆ Scalar

typedef Functional::Scalar Kaskade::LinearizationAt< Functional >::Scalar
inherited

Definition at line 620 of file functional_aux.hh.

◆ TestVars

typedef Functional::TestVars Kaskade::LinearizationAt< Functional >::TestVars
inherited

Definition at line 623 of file functional_aux.hh.

Constructor & Destructor Documentation

◆ SemiLinearizationAt()

template<class Functional >
Kaskade::SemiLinearizationAt< Functional >::SemiLinearizationAt ( Functional const &  f_,
typename Functional::AnsatzVars::VariableSet const &  u_,
typename Functional::AnsatzVars::VariableSet const &  uJ_,
typename Functional::AnsatzVars::VariableSet const &  du_ 
)
inline

Constructor.

Parameters
timedependent functional
u_point of linearization for the time differential operator (i.e. used for Cache::b2)
uJ_point of linearization for spatial differential operator (i.e. used for Cache::d2)
du_correction of last time step

Definition at line 916 of file functional_aux.hh.

Member Function Documentation

◆ createBoundaryCache()

template<class Functional >
Functional::BoundaryCache Kaskade::SemiLinearizationAt< Functional >::createBoundaryCache ( int  flags) const
inline

Definition at line 927 of file functional_aux.hh.

◆ createDomainCache()

template<class Functional >
Functional::DomainCache Kaskade::SemiLinearizationAt< Functional >::createDomainCache ( int  flags) const
inline

Definition at line 922 of file functional_aux.hh.

◆ derivatives()

int Kaskade::LinearizationAt< Functional >::derivatives ( ) const
inlineinherited

Gives the highest derivative that arises in the weak formulation.

Definition at line 703 of file functional_aux.hh.

◆ getFunctional()

Functional const & Kaskade::LinearizationAt< Functional >::getFunctional ( ) const
inlineinherited

Get functional.

Definition at line 695 of file functional_aux.hh.

◆ getOrigin()

PointOfLinearization const & Kaskade::LinearizationAt< Functional >::getOrigin ( ) const
inlineinherited

Get point of linearization.

Definition at line 689 of file functional_aux.hh.

◆ integrationOrder()

int Kaskade::LinearizationAt< Functional >::integrationOrder ( Cell const &  cell,
int  shapeFunctionOrder,
bool  boundary 
) const
inlineinherited

integration order

Definition at line 677 of file functional_aux.hh.

◆ makePositiveThreshold()

auto Kaskade::LinearizationAt< Functional >::makePositiveThreshold ( ) const
inlineinherited

Definition at line 683 of file functional_aux.hh.

Friends And Related Function Documentation

◆ linearization()

LinearizationAt< Functional > linearization ( Functional const &  f,
typename Functional::OriginVars::VariableSet const &  u 
)
related

Convenience routine: construct linearization without having to know the type of the functional.

Definition at line 721 of file functional_aux.hh.

◆ semiLinearization()

template<class Functional >
SemiLinearizationAt< Functional > semiLinearization ( Functional const &  f,
typename Functional::AnsatzVars::VariableSet const &  u,
typename Functional::AnsatzVars::VariableSet const &  uJ,
typename Functional::AnsatzVars::VariableSet const &  du 
)
related

Convenience routine for constructing semi-linearizations.

Definition at line 979 of file functional_aux.hh.

Member Data Documentation

◆ f

Functional const& Kaskade::LinearizationAt< Functional >::f
protectedinherited

Definition at line 709 of file functional_aux.hh.

◆ type

ProblemType const Kaskade::LinearizationAt< Functional >::type
staticinherited

Definition at line 618 of file functional_aux.hh.

◆ u

PointOfLinearization const& Kaskade::LinearizationAt< Functional >::u
protectedinherited

Definition at line 710 of file functional_aux.hh.


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