dune-functions 2.9.0
|
Class wrapping any differentiable function as grid function. More...
#include <dune/functions/gridfunctions/analyticgridviewfunction.hh>
Public Types | |
using | Signature = Range(Domain) |
using | RawSignature = typename SignatureTraits< Signature >::RawSignature |
using | DerivativeSignature = typename DerivativeTraits< RawSignature >::Range(Domain) |
using | GridView = GV |
using | EntitySet = GridViewEntitySet< GridView, 0 > |
using | Element = typename EntitySet::Element |
using | Geometry = typename Element::Geometry |
using | DerivativeDummy = DifferentiableFunction< DerivativeSignature > |
using | GlobalRawDerivative = decltype(Imp::derivativeIfImplemented< DerivativeDummy, F >(std::declval< F >())) |
using | Derivative = AnalyticGridViewFunction< DerivativeSignature, GridView, GlobalRawDerivative, DerivativeTraits > |
using | LocalDomain = typename EntitySet::LocalCoordinate |
using | LocalFunction = typename Imp::LocalAnalyticGridViewFunction< Range(LocalDomain), GridView, F, LocalDerivativeTraits< EntitySet, DerivativeTraits >::template Traits > |
Public Member Functions | |
template<class FT > | |
AnalyticGridViewFunction (FT &&f, const GridView &gridView) | |
Create the grid-function by wrapping a function f and create a GridViewEntitySet. More... | |
Range | operator() (const Domain &x) const |
Evaluate the wrapped function f directly in global coordinates x . More... | |
const EntitySet & | entitySet () const |
Return the set of entities this local-function can be bound to. More... | |
Friends | |
Derivative | derivative (const AnalyticGridViewFunction &t) |
Create a derivative grid-function by wrapping the derivative of f . More... | |
LocalFunction | localFunction (const AnalyticGridViewFunction &t) |
Construct the associated local-function. More... | |
Class wrapping any differentiable function as grid function.
using Dune::Functions::AnalyticGridViewFunction< Range(Domain), GV, F, DerivativeTraits >::Derivative = AnalyticGridViewFunction<DerivativeSignature, GridView, GlobalRawDerivative, DerivativeTraits> |
using Dune::Functions::AnalyticGridViewFunction< Range(Domain), GV, F, DerivativeTraits >::DerivativeDummy = DifferentiableFunction<DerivativeSignature> |
using Dune::Functions::AnalyticGridViewFunction< Range(Domain), GV, F, DerivativeTraits >::DerivativeSignature = typename DerivativeTraits<RawSignature>::Range(Domain) |
using Dune::Functions::AnalyticGridViewFunction< Range(Domain), GV, F, DerivativeTraits >::Element = typename EntitySet::Element |
using Dune::Functions::AnalyticGridViewFunction< Range(Domain), GV, F, DerivativeTraits >::EntitySet = GridViewEntitySet<GridView, 0> |
using Dune::Functions::AnalyticGridViewFunction< Range(Domain), GV, F, DerivativeTraits >::Geometry = typename Element::Geometry |
using Dune::Functions::AnalyticGridViewFunction< Range(Domain), GV, F, DerivativeTraits >::GlobalRawDerivative = decltype(Imp::derivativeIfImplemented<DerivativeDummy, F>(std::declval<F>())) |
using Dune::Functions::AnalyticGridViewFunction< Range(Domain), GV, F, DerivativeTraits >::GridView = GV |
using Dune::Functions::AnalyticGridViewFunction< Range(Domain), GV, F, DerivativeTraits >::LocalDomain = typename EntitySet::LocalCoordinate |
using Dune::Functions::AnalyticGridViewFunction< Range(Domain), GV, F, DerivativeTraits >::LocalFunction = typename Imp::LocalAnalyticGridViewFunction<Range(LocalDomain), GridView, F, LocalDerivativeTraits<EntitySet, DerivativeTraits>::template Traits> |
using Dune::Functions::AnalyticGridViewFunction< Range(Domain), GV, F, DerivativeTraits >::RawSignature = typename SignatureTraits<Signature>::RawSignature |
using Dune::Functions::AnalyticGridViewFunction< Range(Domain), GV, F, DerivativeTraits >::Signature = Range(Domain) |
|
inline |
Create the grid-function by wrapping a function f
and create a GridViewEntitySet.
|
inline |
Return the set of entities this local-function can be bound to.
|
inline |
Evaluate the wrapped function f
directly in global coordinates x
.
|
friend |
Create a derivative grid-function by wrapping the derivative of f
.
|
friend |
Construct the associated local-function.