75template <
typename TData>
77 :
public ElmtBlockOp<FieldState::Phys, FieldState::Phys, TData>
99 static std::shared_ptr<DivergenceBlockOp<TData>>
Create(
100 const unsigned int block_idx,
103 const std::string &execStr,
const std::string &implStr)
106 template Create<DivergenceBlockOp>(block_idx, exp, dataWarehouse,
112 static inline const std::string
name =
"BlockDivergence";
Block-level base class, implementation-strategy tags and device launch helpers shared by every elemen...
Per-block interface of the divergence operator: applies the divergence to every element of one block.
DivergenceBlockOp(const unsigned int block_idx, const LocalRegions::ExpansionSharedPtr &exp, LibUtilities::NekDataWarehouseSharedPtr dataWarehouse)
Construct the interface part of a concrete block operator; called by the factory-registered creator f...
static const std::string name
Block-operator base name; Create() appends the execution space and implementation to it to form the f...
~DivergenceBlockOp() override=default
static std::shared_ptr< DivergenceBlockOp< TData > > Create(const unsigned int block_idx, const LocalRegions::ExpansionSharedPtr &exp, LibUtilities::NekDataWarehouseSharedPtr dataWarehouse, const std::string &execStr, const std::string &implStr)
Create one divergence block operator through the block-operator factory under the key "BlockDivergenc...
Base class of the per-family block operators: applies one element operation to every element of one b...
std::shared_ptr< NekDataWarehouse > NekDataWarehouseSharedPtr
std::shared_ptr< Expansion > ExpansionSharedPtr
FieldState
Possible states for Field data.