OpenLB 1.7
|
Concatenate an analytical functor with any other function.
Concatenate an analytical functor with any other function.
_f | an analytical functor S^D -> T^n |
_g | a 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);