OpenLB 1.7
Loading...
Searching...
No Matches
Apply

Concatenate an analytical functor with any other function.

Concatenate an analytical functor with any other function.

Parameters
_fan analytical functor S^D -> T^n
_ga function T^n -> U^k or T -> U g can be e.g. a lambda expression or a free function. If g: T -> U, then g is applied to each component of the result of f. If g: T* -> U*, then g is applied to the complete vector. The user is responsible for ensuring that the dimensions of f and g fit together.

cosine to linearly transformed values: AnalyticalLinear1D<double,double> f(1.1, 1.5); AnalyticalConcatenation conc(f, std::cos);