NiHu
2.0
|
Class representing a collection of FMM operators. More...
#include <fmm_operator_collection.hpp>
Classes | |
struct | op_type |
Metafunction for retreiving operator type for a given tag. More... | |
Public Member Functions | |
fmm_operator_collection (Ops &&... ops) | |
Constructor. More... | |
template<typename FmmTag > | |
auto | get (FmmTag tag) const |
Retrieve operator from the collection. More... | |
template<class ... OpsRhs> | |
auto | operator| (fmm_operator_collection< OpsRhs... > &&rhs) const |
Concatenate (create union of) two operator collections. More... | |
template<class Operator > | |
auto | operator| (Operator &&rhs) const |
Concatenate (create union of) a collection and an operator. More... | |
template<class F > | |
auto | transform (F f) |
Transform collection. More... | |
Class representing a collection of FMM operators.
...Ops | Contained operator types |
The operator collection enables performing the same manipulations, such as integration, indexing and precomputing on a group of FMM operators at the same time.
Definition at line 22 of file fmm_operator_collection.hpp.
|
inline |
Constructor.
[in] | ... | Operators contained in the collection |
Definition at line 80 of file fmm_operator_collection.hpp.
|
inline |
Retrieve operator from the collection.
FmmTag | Operator type tag |
[in] | tag | Tag instance to identify operator type |
Static assertion guarantees that a compilation error occurs if the requested operator is not found in the collection.
Definition at line 96 of file fmm_operator_collection.hpp.
|
inline |
Concatenate (create union of) two operator collections.
...OpsRhs | Operators of the right hand side collection |
Definition at line 113 of file fmm_operator_collection.hpp.
|
inline |
Concatenate (create union of) a collection and an operator.
Operator | Operator added to the collection |
Definition at line 124 of file fmm_operator_collection.hpp.
|
inline |
Transform collection.
F | Functor type of transformation |
[in] | f | Functor instance |
Definition at line 151 of file fmm_operator_collection.hpp.