#include <PatchCode.h>
Public Member Functions | |
PatchCode () | |
PatchCode (const Function &function) | |
template<class LHS > | |
PatchCode (const PatchCode< Function > &sc, const LHS &) | |
Constructor to allow PatchCode being used as RelationFunctor. | |
Evaluators | |
Evaluate the PatchCode functor on the fields f1 to fN using the specified evaluation domain. Note that views of the evaluation domain are taken of every field, so domains of the fields should be strictly conforming (in fact, passing views to these operators is a bug unless you really know what you are doing).
The evaluation domain defaults to the physical domain of the first field which should usually be (on of) the left hand side(s). If you want the functor to operate on a different domain use the operators with the explicit specified evaluation domain. | |
template<class F1 > | |
void | operator() (const F1 &f1, const Interval< F1::dimensions > &evalDom) const |
template<class F1 > | |
void | operator() (const F1 &f1) const |
template<class F1 , class F2 > | |
void | operator() (const F1 &f1, const Interval< F1::dimensions > &evalDom, const F2 &f2) const |
template<class F1 , class F2 > | |
void | operator() (const F1 &f1, const F2 &f2) const |
template<class F1 , class F2 , class F3 > | |
void | operator() (const F1 &f1, const Interval< F1::dimensions > &evalDom, const F2 &f2, const F3 &f3) const |
template<class F1 , class F2 , class F3 > | |
void | operator() (const F1 &f1, const F2 &f2, const F3 &f3) const |
template<class F1 , class F2 , class F3 , class F4 > | |
void | operator() (const F1 &f1, const Interval< F1::dimensions > &evalDom, const F2 &f2, const F3 &f3, const F4 &f4) const |
template<class F1 , class F2 , class F3 , class F4 > | |
void | operator() (const F1 &f1, const F2 &f2, const F3 &f3, const F4 &f4) const |
template<class F1 , class F2 , class F3 , class F4 , class F5 > | |
void | operator() (const F1 &f1, const Interval< F1::dimensions > &evalDom, const F2 &f2, const F3 &f3, const F4 &f4, const F5 &f5) const |
template<class F1 , class F2 , class F3 , class F4 , class F5 > | |
void | operator() (const F1 &f1, const F2 &f2, const F3 &f3, const F4 &f4, const F5 &f5) const |
template<class F1 , class F2 , class F3 , class F4 , class F5 , class F6 > | |
void | operator() (const F1 &f1, const Interval< F1::dimensions > &evalDom, const F2 &f2, const F3 &f3, const F4 &f4, const F5 &f5, const F6 &f6) const |
template<class F1 , class F2 , class F3 , class F4 , class F5 , class F6 > | |
void | operator() (const F1 &f1, const F2 &f2, const F3 &f3, const F4 &f4, const F5 &f5, const F6 &f6) const |
template<class F1 , class F2 , class F3 , class F4 , class F5 , class F6 , class F7 > | |
void | operator() (const F1 &f1, const Interval< F1::dimensions > &evalDom, const F2 &f2, const F3 &f3, const F4 &f4, const F5 &f5, const F6 &f6, const F7 &f7) const |
template<class F1 , class F2 , class F3 , class F4 , class F5 , class F6 , class F7 > | |
void | operator() (const F1 &f1, const F2 &f2, const F3 &f3, const F4 &f4, const F5 &f5, const F6 &f6, const F7 &f7) const |
Static Public Member Functions | |
template<class F > | |
static bool | checkValidity (const F &f, WrappedInt< false >) |
template<class F > | |
static bool | checkValidity (const F &f, WrappedInt< true >) |
Public Attributes | |
Function | function_m |
Generally the functor is a local (set of) function(s) which could be described as
(f1..fM) = op(fM+1..fN)
where fM+1 to fN are input fields read from and f1 to fM are output fields written to (this distinction nor its ordering is strictly required, but both will result in the least possible surprises).
PatchCode< Function >::PatchCode | ( | const PatchCode< Function > & | sc, | |
const LHS & | ||||
) | [inline] |
Constructor to allow PatchCode being used as RelationFunctor.
static bool PatchCode< Function >::checkValidity | ( | const F & | f, | |
WrappedInt< false > | ||||
) | [inline, static] |
Referenced by PatchCode< Function >::operator()().
static bool PatchCode< Function >::checkValidity | ( | const F & | f, | |
WrappedInt< true > | ||||
) | [inline, static] |
void PatchCode< Function >::operator() | ( | const F1 & | f1, | |
const Interval< F1::dimensions > & | evalDom | |||
) | const [inline] |
References PatchCode< Function >::checkValidity(), PatchCode< Function >::function_m, and PAssert.
void PatchCode< Function >::operator() | ( | const F1 & | f1 | ) | const [inline] |
void PatchCode< Function >::operator() | ( | const F1 & | f1, | |
const Interval< F1::dimensions > & | evalDom, | |||
const F2 & | f2 | |||
) | const [inline] |
References PatchCode< Function >::checkValidity(), PatchCode< Function >::function_m, and PAssert.
void PatchCode< Function >::operator() | ( | const F1 & | f1, | |
const F2 & | f2 | |||
) | const [inline] |
void PatchCode< Function >::operator() | ( | const F1 & | f1, | |
const Interval< F1::dimensions > & | evalDom, | |||
const F2 & | f2, | |||
const F3 & | f3 | |||
) | const [inline] |
References PatchCode< Function >::checkValidity(), PatchCode< Function >::function_m, and PAssert.
void PatchCode< Function >::operator() | ( | const F1 & | f1, | |
const F2 & | f2, | |||
const F3 & | f3 | |||
) | const [inline] |
void PatchCode< Function >::operator() | ( | const F1 & | f1, | |
const Interval< F1::dimensions > & | evalDom, | |||
const F2 & | f2, | |||
const F3 & | f3, | |||
const F4 & | f4 | |||
) | const [inline] |
References PatchCode< Function >::checkValidity(), PatchCode< Function >::function_m, and PAssert.
void PatchCode< Function >::operator() | ( | const F1 & | f1, | |
const F2 & | f2, | |||
const F3 & | f3, | |||
const F4 & | f4 | |||
) | const [inline] |
void PatchCode< Function >::operator() | ( | const F1 & | f1, | |
const Interval< F1::dimensions > & | evalDom, | |||
const F2 & | f2, | |||
const F3 & | f3, | |||
const F4 & | f4, | |||
const F5 & | f5 | |||
) | const [inline] |
References PatchCode< Function >::checkValidity(), PatchCode< Function >::function_m, and PAssert.
void PatchCode< Function >::operator() | ( | const F1 & | f1, | |
const F2 & | f2, | |||
const F3 & | f3, | |||
const F4 & | f4, | |||
const F5 & | f5 | |||
) | const [inline] |
void PatchCode< Function >::operator() | ( | const F1 & | f1, | |
const Interval< F1::dimensions > & | evalDom, | |||
const F2 & | f2, | |||
const F3 & | f3, | |||
const F4 & | f4, | |||
const F5 & | f5, | |||
const F6 & | f6 | |||
) | const [inline] |
References PatchCode< Function >::checkValidity(), PatchCode< Function >::function_m, and PAssert.
void PatchCode< Function >::operator() | ( | const F1 & | f1, | |
const F2 & | f2, | |||
const F3 & | f3, | |||
const F4 & | f4, | |||
const F5 & | f5, | |||
const F6 & | f6 | |||
) | const [inline] |
void PatchCode< Function >::operator() | ( | const F1 & | f1, | |
const Interval< F1::dimensions > & | evalDom, | |||
const F2 & | f2, | |||
const F3 & | f3, | |||
const F4 & | f4, | |||
const F5 & | f5, | |||
const F6 & | f6, | |||
const F7 & | f7 | |||
) | const [inline] |
References PatchCode< Function >::checkValidity(), PatchCode< Function >::function_m, and PAssert.
void PatchCode< Function >::operator() | ( | const F1 & | f1, | |
const F2 & | f2, | |||
const F3 & | f3, | |||
const F4 & | f4, | |||
const F5 & | f5, | |||
const F6 & | f6, | |||
const F7 & | f7 | |||
) | const [inline] |
Function PatchCode< Function >::function_m |
Referenced by PatchCode< Function >::operator()().