Nektar++
Loading...
Searching...
No Matches
Classes | Namespaces
PhysTraceExtractOpImpl.hpp File Reference

Factory-registered whole-field implementation of the PhysTraceExtract operator: one registrable type per execution space. More...

#include <MultiRegions/ElmtOps/PhysTraceExtract/PhysTraceExtractOp.hpp>

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
 

Detailed Description

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.

See also
PhysTraceExtractOp.hpp for what the operator computes and for the layout of the family.
Note
CMake includes this header into the registration translation units it generates for this operator, one per execution space and data type; it should not normally be included by any other translation unit. Other code goes through PhysTraceExtractOp.hpp and the operator factory.

Definition in file PhysTraceExtractOpImpl.hpp.