Nektar++
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions
Operator.hpp File Reference

Whole-field operator base class and factory machinery shared by every operator family in the MultiRegions library. More...

#include <string>
#include <vector>
#include <LibUtilities/BasicUtils/ErrorUtil.hpp>
#include <LibUtilities/BasicUtils/NekFactory.hpp>
#include <LibUtilities/BasicUtils/NekInline.hpp>
#include <LibUtilities/BasicUtils/StringUtils.hpp>
#include <LibUtilities/SimdLib/tinysimd.hpp>
#include <MultiRegions/ExpList.h>
#include <MultiRegions/MultiRegionsDeclspec.h>
#include <LibUtilities/BasicUtils/DataWarehouse/NekDataWarehouse.hpp>
#include <LibUtilities/Backends/Backends.hpp>
#include <LibUtilities/Backends/DeviceProperties.hpp>
#include <LibUtilities/BasicUtils/Field/Field.hpp>
#include <MultiRegions/Common/DefaultOpImplTable.hpp>

Go to the source code of this file.

Classes

class  Nektar::MultiRegions::Operator< TData >
 Common base class of the operator family interfaces: holds the expansion list, component names and data warehouse an operator was built with, and provides the family-agnostic Create() and GetOpExecSpace(). More...
 

Namespaces

namespace  Nektar
 
namespace  Nektar::MultiRegions
 

Typedefs

template<typename TData >
using Nektar::MultiRegions::OperatorFactory = LibUtilities::NekFactory< std::string, Operator< TData >, const MultiRegions::ExpListSharedPtr &, const std::vector< std::string > & >
 Factory of Operator<TData> interface objects, keyed by TOperator::name + execStr.
 

Functions

template<typename TData >
OperatorFactory< TData > & Nektar::MultiRegions::GetOperatorFactory ()
 Return the process-wide singleton OperatorFactory<TData>, constructing it on first use.
 

Detailed Description

Whole-field operator base class and factory machinery shared by every operator family in the MultiRegions library.

Operator fixes no input or output field type; it only provides what every family's interface class needs regardless of what kind of operator it is: the expansion list, component names and data warehouse an instance was built with, the factory lookup performed by Create(), and the execution-space default returned by GetOpExecSpace(). Families that act element by element derive their public interface from ElmtOp (ElmtOp.hpp) instead, which adds the per-block factory stage on top of this class.

Definition in file Operator.hpp.