|
Nektar++
|
Factory-registered whole-field implementation of the PhysTraceExtract operator: one registrable type per execution space. More...
Go to the source code of this file.
Classes | |
| class | Nektar::MultiRegions::detail::PhysTraceExtractOpImpl< ExecSpace, TData > |
| Execution-space instantiation of the whole-field trace extraction; adds no behaviour of its own to PhysTraceExtractOp. More... | |
Namespaces | |
| namespace | Nektar |
| namespace | Nektar::MultiRegions |
| namespace | Nektar::MultiRegions::detail |
Factory-registered whole-field implementation of the PhysTraceExtract operator: one registrable type per execution space.
The whole-field level of this operator carries no execution-space specific behaviour. PhysTraceExtractOp already implements the loop over the element blocks, and every arithmetic decision belongs to the block operators, which are selected independently through the block-operator factory key. This header therefore only supplies the distinct type per execution space that the operator factory needs in order to have something to register.
CMake generates one translation unit per execution space and data type from Common/OpFactoryDec.cpp.in. That unit includes this header and defines PhysTraceExtractOpImpl::className, whose initialiser registers Instantiate() with the operator factory under the key PhysTraceExtractOp::name + <ExecSpace>, which is exactly the key PhysTraceExtractOp::Create() asks for.
Definition in file PhysTraceExtractOpImpl.hpp.