Whole-field interface of the backward transform: evaluates a coefficient-space field at the quadrature points of every element.
More...
|
| static std::shared_ptr< BwdTransOp< TData > > | Create (const MultiRegions::ExpListSharedPtr &expansionList, const std::vector< std::string > &components, const std::string &execStr="", const std::string &implStr="") |
| | Create a backward-transform operator through the operator and block-operator factories.
|
| |
| static std::shared_ptr< TOperator< TData > > | Create (const MultiRegions::ExpListSharedPtr &expansionList, const std::vector< std::string > &components, const std::string &execStr="", const std::string &implStr="") |
| | Build a complete element operator: the whole-field interface object plus one block operator per element block.
|
| |
| static std::string | GetOpImpl (const std::string &opName, const std::string &opExecSpace, LibUtilities::SessionReaderSharedPtr session, const StdRegions::StdExpansionSharedPtr &exp=nullptr, const std::string &policyName="") |
| | Return the implementation for an operator.
|
| |
| template<template< typename > typename TOperator> |
| static std::shared_ptr< TOperator< TData > > | Create (const MultiRegions::ExpListSharedPtr &expansionList, const std::vector< std::string > components, const std::string &execStr) |
| | Create a concrete operator instance through the operator factory.
|
| |
| static std::string | GetOpExecSpace (std::shared_ptr< LibUtilities::SessionReader > session, const bool warn=true) |
| | Return the execution space name ("opExecSpace") for an operator.
|
| |
| static const DefaultOpImplRule * | GetDefaultOpImplRule (const StdRegions::StdExpansionSharedPtr &exp, const std::string &execSpace) |
| | Return the row of the default implementation table (DefaultOpImplTable.hpp) that a block of elements takes, or null if none does.
|
| |
| static std::string | GetDefaultOpImpl (const StdRegions::StdExpansionSharedPtr &exp, const std::string &execSpace) |
| | Return the implementation a block of elements takes when neither the command line nor the session names one for its operator.
|
| |
| static std::vector< unsigned int > | GetDefaultInterleaveWidths (const MultiRegions::ExpListSharedPtr &expansionList) |
| | Return the default interleave widths, one per block of expansionList, that persistent Fields (e.g. solution storage, time-integration and linear-solver workspace) built on it should be constructed with.
|
| |
| static bool | IsDiscontinuousProjection (std::shared_ptr< LibUtilities::SessionReader > session) |
| | Return true if the session uses a Discontinuous (DG) projection.
|
| |
template<typename TData>
class Nektar::MultiRegions::BwdTransOp< TData >
Whole-field interface of the backward transform: evaluates a coefficient-space field at the quadrature points of every element.
As with the other element-operator families, this class exists to fix the Apply() parameter types at compile time – input in FieldState::Coeff, output in FieldState::Phys – and to drive the per-block operators: it holds one BwdTransBlockOp per element block, and v_Apply() hands each block of the input and output fields to the matching entry. All numerical work happens in the block operators.
By default Apply() overwrites the output field; after SetAppend(true) it instead accumulates the transform onto the output's existing values.
- Template Parameters
-
| TData | Floating-point type of the field data. |
- See also
- BwdTransBlockOp for the per-block interface and the implementation strategies available per execution space.
Definition at line 99 of file BwdTransOp.hpp.
template<typename TData >
Create a backward-transform operator through the operator and block-operator factories.
Builds the interface object under the factory key "BwdTrans" + execStr and one block operator per element block under "BlockBwdTrans" + execStr + implStr; see ElmtOp::Create for the two-stage construction and for the session defaults used when execStr or implStr are empty.
- Parameters
-
| expansionList | Expansion list the operator acts on. |
| components | Names of the field components the operator is set up for. |
| execStr | Execution space ("Serial", "AVX" or "Device"); session default if empty. |
| implStr | Block implementation ("StdMat", "SumFac", "SumFacTOP" (Device only)); session default if empty. |
- Returns
- The fully assembled operator, ready to Apply().
Definition at line 125 of file BwdTransOp.hpp.
129 {
131 template Create<BwdTransOp, BwdTransBlockOp>(
132 expansionList, components, execStr, implStr);
133 }
Referenced by Nektar::detail::HOPressureBndCondOpImpl< ExecSpace, TData >::BuildBoundaryVelocityData(), Nektar::MultiRegions::detail::LinAdvDiffReactionOpImpl< ExecSpace, TData >::LinAdvDiffReactionOpImpl(), TestBwdTrans< TData >::RunTestCase(), TestPhysLiftProject< TData >::RunVariant(), and Nektar::FilterReynoldsStresses::v_Initialise().