![]() |
KASKADE 7 development version
|
Proxy class for the linearization of a nonlinear functional. More...
#include <functional_aux.hh>
Classes | |
| struct | D1 |
| Rhs block information. More... | |
| struct | D2 |
| matrix block information More... | |
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. | |
Public Member Functions | |
| LinearizationAt (Functional const &f_, PointOfLinearization const &u_) | |
| Construct a linearization from a given functional. | |
| DomainCache | createDomainCache (int flags) const |
| create a domain cache | |
| BoundaryCache | createBoundaryCache (int flags) const |
| create a boundary cache | |
| template<class Cell> | |
| int | integrationOrder (Cell const &cell, int shapeFunctionOrder, bool boundary) const |
| integration order | |
| template<int row, int col> | |
| auto | makePositiveThreshold () const |
| PointOfLinearization const & | getOrigin () const |
| Get point of linearization. | |
| Functional const & | getFunctional () const |
| Get functional. | |
| int | derivatives () const |
| Gives the highest derivative that arises in the weak formulation. | |
Static Public Attributes | |
| static ProblemType const | type = Functional::type |
Protected Attributes | |
| Functional const & | f |
| PointOfLinearization const & | u |
Related Symbols | |
(Note that these are not member symbols.) | |
| template<class Functional> | |
| LinearizationAt< Functional > | linearization (Functional const &f, typename Functional::OriginVars::VariableSet const &u) |
| Convenience routine: construct linearization without having to know the type of the functional. | |
Proxy class for the linearization of a nonlinear functional.
This adaptor maps the NonlinearVariationalFunctional concept to the VariationalFunctional concept.
According to the following idea: A VariationalFunctional defines a mapping \( F : U \to V \), which can be evaluated and linearized in an appropriate ansatz space \( U_a\subset U \), only if an argument \( u \in U_o \) in a - possibly different - "origin" subspace \( U_o \subset U \) is given.
Hence, from a functional \( f \) and a variable \( u\in U_o \) one has to create a linearization, which is represented by this class.
Definition at line 621 of file functional_aux.hh.
| typedef Functional::AnsatzVars Kaskade::LinearizationAt< Functional_ >::AnsatzVars |
Definition at line 629 of file functional_aux.hh.
| typedef Functional::BoundaryCache Kaskade::LinearizationAt< Functional_ >::BoundaryCache |
Definition at line 634 of file functional_aux.hh.
| typedef Functional::DomainCache Kaskade::LinearizationAt< Functional_ >::DomainCache |
Definition at line 633 of file functional_aux.hh.
| typedef Functional_ Kaskade::LinearizationAt< Functional_ >::Functional |
Definition at line 624 of file functional_aux.hh.
| typedef Functional::OriginVars Kaskade::LinearizationAt< Functional_ >::OriginVars |
Definition at line 631 of file functional_aux.hh.
| typedef Functional::OriginVars::VariableSet Kaskade::LinearizationAt< Functional_ >::PointOfLinearization |
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 648 of file functional_aux.hh.
| typedef Functional::Scalar Kaskade::LinearizationAt< Functional_ >::Scalar |
Definition at line 627 of file functional_aux.hh.
| typedef Functional::TestVars Kaskade::LinearizationAt< Functional_ >::TestVars |
Definition at line 630 of file functional_aux.hh.
|
inline |
Construct a linearization from a given functional.
Definition at line 653 of file functional_aux.hh.
Referenced by Kaskade::SemiLinearizationAt< SemiImplicitEulerStep< EvolutionEquation > >::SemiLinearizationAt().
|
inline |
create a boundary cache
Definition at line 665 of file functional_aux.hh.
|
inline |
create a domain cache
Definition at line 659 of file functional_aux.hh.
|
inline |
Gives the highest derivative that arises in the weak formulation.
Definition at line 710 of file functional_aux.hh.
|
inline |
Get functional.
Definition at line 702 of file functional_aux.hh.
|
inline |
Get point of linearization.
Definition at line 696 of file functional_aux.hh.
|
inline |
integration order
Definition at line 684 of file functional_aux.hh.
|
inline |
Definition at line 690 of file functional_aux.hh.
Referenced by makePositiveThreshold().
|
protected |
Definition at line 716 of file functional_aux.hh.
Referenced by createBoundaryCache(), createDomainCache(), derivatives(), getFunctional(), integrationOrder(), LinearizationAt(), and makePositiveThreshold().
|
static |
Definition at line 625 of file functional_aux.hh.
|
protected |
Definition at line 717 of file functional_aux.hh.
Referenced by createBoundaryCache(), createDomainCache(), getOrigin(), and LinearizationAt().