OpenLB 1.7
Loading...
Searching...
No Matches
Namespaces | Functions
functorDsl2D.hh File Reference
#include "functorPtr.h"
#include "functors/lattice/superBaseF2D.h"
#include "functors/lattice/indicator/superIndicatorF2D.h"
#include "functors/lattice/integral/superLpNorm2D.h"
+ Include dependency graph for functorDsl2D.hh:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  olb
 Top level namespace for all of OpenLB.
 
namespace  olb::functor_dsl
 Helper functions for building functors via composition.
 

Functions

template<typename T , typename W >
std::shared_ptr< SuperF2D< T, W > > olb::functor_dsl::lift (SuperF2D< T, W > &f)
 Lifts functor reference to std::shared_ptr functor arithmetic.
 
template<typename T , typename W >
std::shared_ptr< SuperF2D< T, W > > olb::functor_dsl::lift (SuperF2D< T, W > *f)
 Lifts functor pointer to std::shared_ptr functor arithmetic.
 
template<typename T , typename W >
std::shared_ptr< AnalyticalF2D< T, W > > olb::functor_dsl::lift (AnalyticalF2D< T, W > &f)
 Lifts functor reference to std::shared_ptr functor arithmetic.
 
template<typename T , typename W >
std::shared_ptr< AnalyticalF2D< T, W > > olb::functor_dsl::lift (AnalyticalF2D< T, W > *f)
 Lifts functor pointer to std::shared_ptr functor arithmetic.
 
template<typename T , typename W >
std::shared_ptr< SuperF2D< T, W > > olb::functor_dsl::pow (std::shared_ptr< SuperF2D< T, W > > baseF, std::shared_ptr< SuperF2D< T, W > > exponentF)
 Returns baseF raised to the power of exponentF.
 
template<typename T , typename W , typename E >
std::shared_ptr< SuperF2D< T, W > > olb::functor_dsl::pow (std::shared_ptr< SuperF2D< T, W > > baseF, E exponent)
 Returns baseF raised to the power of exponent.
 
template<typename T , typename W , typename B >
std::shared_ptr< SuperF2D< T, W > > olb::functor_dsl::pow (B base, std::shared_ptr< SuperF2D< T, W > > exponentF)
 Returns base raised to the power of exponentF.
 
template<int P, typename T , typename W >
std::shared_ptr< SuperF2D< T, W > > olb::functor_dsl::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.
 
template<typename T , typename W , typename DESCRIPTOR >
std::shared_ptr< SuperF2D< T, W > > olb::functor_dsl::restrictF (std::shared_ptr< AnalyticalF2D< T, W > > f, SuperLattice< T, DESCRIPTOR > &sLattice)
 Returns restriction of a analytical functor f to the lattice sLattice.
 
template<typename T , typename DESCRIPTOR , typename FIELD >
std::enable_if_t< DESCRIPTOR::d==2, std::shared_ptr< SuperF2D< T > > > olb::functor_dsl::field (SuperLattice< T, DESCRIPTOR > &sLattice)
 Returns external field functor.