24#ifndef FUNCTOR_DSL_2D_H
25#define FUNCTOR_DSL_2D_H
32namespace functor_dsl {
35template<
typename T,
typename W>
39template<
typename T,
typename W>
43template<
typename T,
typename W>
47template<
typename T,
typename W>
51template<
typename T,
typename W>
56template<
typename T,
typename W,
typename E>
61template<
typename T,
typename W,
typename B>
62std::shared_ptr<SuperF2D<T,W>>
pow(B base,
66template<
int P,
typename T,
typename W>
71template<
typename T,
typename W,
typename DESCRIPTOR>
76template<
typename T,
typename DESCRIPTOR,
typename FIELD>
77std::enable_if_t<DESCRIPTOR::d == 2, std::shared_ptr<SuperF2D<T>>>
AnalyticalF are applications from DD to XD, where X is set by the constructor.
represents all functors that operate on a SuperStructure<T,2> in general
Super class maintaining block lattices for a cuboid decomposition.
std::enable_if_t< DESCRIPTOR::d==2, std::shared_ptr< SuperF2D< T > > > field(SuperLattice< T, DESCRIPTOR > &sLattice)
Returns external field functor.
std::shared_ptr< SuperF2D< T, W > > lift(SuperF2D< T, W > &f)
Lifts functor reference to std::shared_ptr functor arithmetic.
std::shared_ptr< SuperF2D< T, W > > pow(std::shared_ptr< SuperF2D< T, W > > baseF, std::shared_ptr< SuperF2D< T, W > > exponentF)
Returns baseF raised to the power of exponentF.
std::shared_ptr< SuperF2D< T, W > > norm(std::shared_ptr< SuperF2D< T, W > > f, std::shared_ptr< SuperIndicatorF2D< T > > indicatorF)
Returns Lp norm for a functor f on the subset described by indicatorF.
std::shared_ptr< SuperF2D< T, W > > restrictF(std::shared_ptr< AnalyticalF2D< T, W > > f, SuperLattice< T, DESCRIPTOR > &sLattice)
Returns restriction of a analytical functor f to the lattice sLattice.
Top level namespace for all of OpenLB.