Nektar++
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
Nektar::LibUtilities Namespace Reference

Namespaces

namespace  CheckCastUnitTest
 
namespace  CompressData
 
namespace  H5
 
namespace  StdHexData
 
namespace  StdPrismData
 
namespace  StdPyrData
 
namespace  StdQuadData
 
namespace  StdSegData
 
namespace  StdTetData
 
namespace  StdTriData
 

Classes

class  AdamsBashforthOrder1TimeIntegrationScheme
 
class  AdamsBashforthOrder2TimeIntegrationScheme
 
class  AdamsBashforthOrder3TimeIntegrationScheme
 
class  AdamsBashforthOrder4TimeIntegrationScheme
 
class  AdamsBashforthTimeIntegrationScheme
 
class  AdamsMoultonOrder1TimeIntegrationScheme
 
class  AdamsMoultonOrder2TimeIntegrationScheme
 
class  AdamsMoultonOrder3TimeIntegrationScheme
 
class  AdamsMoultonOrder4TimeIntegrationScheme
 
class  AdamsMoultonTimeIntegrationScheme
 
class  BackwardEulerTimeIntegrationScheme
 
class  Basis
 Represents a basis of a given type. More...
 
class  BasisKey
 Describes the specification for a Basis. More...
 
class  BDFImplicitOrder1TimeIntegrationScheme
 
class  BDFImplicitOrder2TimeIntegrationScheme
 
class  BDFImplicitOrder3TimeIntegrationScheme
 
class  BDFImplicitOrder4TimeIntegrationScheme
 
class  BDFImplicitTimeIntegrationScheme
 
class  BLPoints
 
class  ClassicalRungeKutta4TimeIntegrationScheme
 
struct  CmdLineArg
 
class  CNABTimeIntegrationScheme
 
class  Comm
 Base communications class. More...
 
class  CommCwipi
 A global linear system. More...
 
class  CommDataTypeTraits
 
class  CommDataTypeTraits< Array< OneD, elemT > >
 
class  CommDataTypeTraits< std::vector< elemT > >
 
class  CommMpi
 A global linear system. More...
 
class  CommRequest
 Class for communicator request type. More...
 
class  CommRequestMpi
 Class for communicator request type. More...
 
class  CommSerial
 A global linear system. More...
 
class  CsvIO
 
class  DataSource
 
struct  defOpLessCreator
 
class  DIRKOrder1TimeIntegrationScheme
 
class  DIRKOrder2TimeIntegrationScheme
 
class  DIRKOrder3_ES5TimeIntegrationScheme
 
class  DIRKOrder3TimeIntegrationScheme
 
class  DIRKOrder4_ES6TimeIntegrationScheme
 
class  DIRKTimeIntegrationScheme
 
struct  DomainRange
 
class  Equation
 
class  EulerExponentialTimeIntegrationScheme
 
class  EulerTimeIntegrationScheme
 
class  ExplicitTimeIntegrationSchemeSDC
 
struct  FieldDefinitions
 Metadata that describes the storage properties of field output. More...
 
class  FieldIO
 Class for operating on Nektar++ input/output files. More...
 
class  FieldIOHdf5
 
class  FieldIOXml
 
class  ForwardEulerTimeIntegrationScheme
 
class  FourierPoints
 
class  FourierSingleModePoints
 
class  FractionalInTimeIntegrationScheme
 Class for fractional-in-time integration. More...
 
struct  func
 
struct  functions
 
struct  FunctionVariableDefinition
 
class  GaussPoints
 
class  GitConsts
 
class  Graph
 
class  GraphEdgeObject
 
class  GraphVertexObject
 
class  H5DataSource
 
class  H5TagWriter
 
class  IMEXdirk_1_1_1TimeIntegrationScheme
 
class  IMEXdirk_1_2_1TimeIntegrationScheme
 
class  IMEXdirk_1_2_2TimeIntegrationScheme
 
class  IMEXdirk_2_2_2TimeIntegrationScheme
 
class  IMEXdirk_2_3_2TimeIntegrationScheme
 
class  IMEXdirk_2_3_3TimeIntegrationScheme
 
class  IMEXdirk_3_4_3TimeIntegrationScheme
 
class  IMEXdirk_4_4_3TimeIntegrationScheme
 
class  IMEXdirkTimeIntegrationScheme
 
class  IMEXGearTimeIntegrationScheme
 
class  IMEXOrder1TimeIntegrationScheme
 
class  IMEXOrder2TimeIntegrationScheme
 
class  IMEXOrder3TimeIntegrationScheme
 
class  IMEXOrder4TimeIntegrationScheme
 
class  IMEXTimeIntegrationScheme
 
class  IMEXTimeIntegrationSchemeSDC
 
class  ImplicitTimeIntegrationSchemeSDC
 
class  Interpolator
 A class that contains algorithms for interpolation between pts fields, expansions and different meshes. More...
 
class  Interpreter
 Interpreter class for the evaluation of mathematical expressions. More...
 
class  MCNABTimeIntegrationScheme
 
class  NekFactory
 Provides a generic Factory class. More...
 
class  NekFFTW
 
class  NekLinSysIter
 
class  NekLinSysIterCG
 
class  NekLinSysIterCGLoc
 
class  NekLinSysIterFixedpointJacobi
 
class  NekLinSysIterGMRES
 
class  NekLinSysIterGMRESLoc
 
class  NekManager
 
class  NekNonlinSys
 
class  NekNonlinSysNewton
 
class  NekSys
 
class  NekSysKey
 
class  NekSysOperators
 
class  NektarFFT
 
class  NodalHexElec
 
class  NodalPrismElec
 
class  NodalPrismEvenlySpaced
 
class  NodalPrismSPI
 
class  NodalQuadElec
 
class  NodalTetElec
 
class  NodalTetEvenlySpaced
 
class  NodalTetSPI
 
class  NodalTriElec
 
class  NodalTriEvenlySpaced
 
class  NodalTriFekete
 
class  NodalTriSPI
 
class  NodalUtil
 A class to assist in the construction of nodal simplex and hybrid elements in two and three dimensions. More...
 
class  NodalUtilHex
 Specialisation of the NodalUtil class to support nodal hex elements. More...
 
class  NodalUtilPrism
 Specialisation of the NodalUtil class to support nodal prismatic elements. More...
 
class  NodalUtilQuad
 Specialisation of the NodalUtil class to support nodal quad elements. More...
 
class  NodalUtilTetrahedron
 Specialisation of the NodalUtil class to support nodal tetrahedral elements. More...
 
class  NodalUtilTriangle
 Specialisation of the NodalUtil class to support nodal triangular elements. More...
 
class  Points
 Stores a set of points of datatype DataT, defined by a PointKey. More...
 
class  PointsKey
 Defines a specification for a set of points. More...
 
class  PolyEPoints
 
class  PtsField
 
class  PtsIO
 
class  RungeKutta1TimeIntegrationScheme
 
class  RungeKutta2_ImprovedEulerTimeIntegrationScheme
 
class  RungeKutta2_SSPTimeIntegrationScheme
 
class  RungeKutta2TimeIntegrationScheme
 
class  RungeKutta3_SSPTimeIntegrationScheme
 
class  RungeKutta3TimeIntegrationScheme
 
class  RungeKutta4TimeIntegrationScheme
 
class  RungeKutta5TimeIntegrationScheme
 
class  RungeKuttaTimeIntegrationScheme
 
class  SessionReader
 Reads and parses information from a Nektar++ XML session file. More...
 
class  TagWriter
 Base class for writing hierarchical data (XML or HDF5). More...
 
class  TimeIntegrationAlgorithmGLM
 
class  TimeIntegrationScheme
 Base class for time integration schemes. More...
 
class  TimeIntegrationSchemeGEM
 Class for spectral deferred correction integration. More...
 
class  TimeIntegrationSchemeGLM
 Base class for GLM time integration schemes. More...
 
class  TimeIntegrationSchemeOperators
 Binds a set of functions for use by time integration schemes. More...
 
class  TimeIntegrationSchemeSDC
 Class for spectral deferred correction integration. More...
 
class  TimeIntegrationSolutionGLM
 
struct  TimeIntScheme
 
class  Timer
 
class  Transposition
 
class  XmlDataSource
 
class  XmlTagWriter
 

Typedefs

typedef std::shared_ptr< CsvIOCsvIOSharedPtr
 
typedef std::shared_ptr< DomainRangeDomainRangeShPtr
 
typedef std::shared_ptr< EquationEquationSharedPtr
 
typedef std::map< std::string, std::string > FieldMetaDataMap
 
typedef std::shared_ptr< TagWriterTagWriterSharedPtr
 
typedef std::shared_ptr< DataSourceDataSourceSharedPtr
 
typedef std::shared_ptr< FieldDefinitionsFieldDefinitionsSharedPtr
 
typedef LibUtilities::NekFactory< std::string, FieldIO, LibUtilities::CommSharedPtr, bool > FieldIOFactory
 Datatype of the NekFactory used to instantiate classes. More...
 
typedef std::shared_ptr< FieldIOFieldIOSharedPtr
 
typedef std::shared_ptr< H5DataSourceH5DataSourceSharedPtr
 
typedef std::shared_ptr< H5TagWriterH5TagWriterSharedPtr
 
typedef std::shared_ptr< XmlDataSourceXmlDataSourceSharedPtr
 
typedef std::shared_ptr< XmlTagWriterXmlTagWriterSharedPtr
 
typedef std::shared_ptr< InterpolatorInterpolatorSharedPtr
 
typedef std::shared_ptr< PtsFieldPtsFieldSharedPtr
 
typedef std::map< std::string, std::string > PtsMetaDataMap
 
typedef std::shared_ptr< PtsIOPtsIOSharedPtr
 
typedef std::map< std::string, std::string > SolverInfoMap
 
typedef std::map< std::string, NekDoubleParameterMap
 
typedef std::map< std::string, std::string > GeometricInfoMap
 
typedef std::vector< std::string > VariableList
 
typedef std::map< std::string, std::string > TagMap
 
typedef std::map< std::string, std::string > FilterParams
 
typedef std::vector< std::pair< std::string, FilterParams > > FilterMap
 
typedef std::map< std::string, CmdLineArgCmdLineArgMap
 
typedef std::map< std::string, int > EnumMap
 
typedef std::map< std::string, EnumMapEnumMapList
 
typedef std::map< std::string, std::string > GloSysInfoMap
 
typedef std::map< std::string, GloSysInfoMapGloSysSolnInfoList
 
typedef std::map< std::pair< std::string, int >, FunctionVariableDefinitionFunctionVariableMap
 
typedef std::map< std::string, FunctionVariableMapFunctionMap
 
typedef std::shared_ptr< SessionReaderSessionReaderSharedPtr
 
typedef std::shared_ptr< CommCommSharedPtr
 Pointer to a Communicator object. More...
 
typedef LibUtilities::NekFactory< std::string, Comm, int, char ** > CommFactory
 Datatype of the NekFactory used to instantiate classes derived from the EquationSystem class. More...
 
typedef std::shared_ptr< CommRequestCommRequestSharedPtr
 
typedef std::shared_ptr< CommCwipiCommCwipiSharedPtr
 Pointer to a Communicator object. More...
 
typedef unsigned int CommDataType
 
typedef std::shared_ptr< CommMpiCommMpiSharedPtr
 Pointer to a Communicator object. More...
 
typedef std::shared_ptr< CommRequestMpiCommRequestMpiSharedPtr
 
typedef std::shared_ptr< CommSerialCommSerialSharedPtr
 Pointer to a Communicator object. More...
 
typedef std::shared_ptr< TranspositionTranspositionSharedPtr
 
typedef std::shared_ptr< NekFFTWNekFFTWSharedPtr
 
typedef std::shared_ptr< NektarFFTNektarFFTSharedPtr
 
typedef LibUtilities::NekFactory< std::string, NektarFFT, int > NektarFFTFactory
 Datatype of the NekFactory used to instantiate classes derived from the NektarFFT class. More...
 
typedef std::vector< BasisKeyBasisKeyVector
 Name for a vector of BasisKeys. More...
 
typedef std::shared_ptr< BasisBasisSharedPtr
 
typedef std::vector< BasisSharedPtrBasisVector
 
typedef Points< NekDoublePointsBaseType
 
typedef std::shared_ptr< Points< NekDouble > > PointsSharedPtr
 
typedef size_t GraphVertexID
 
typedef NekManager< PointsKey, Points< NekDouble >, PointsKey::opLessPointsManagerT
 
typedef NekManager< BasisKey, Basis, BasisKey::opLessBasisManagerT
 
typedef std::shared_ptr< NekMatrix< NekDouble > > SharedMatrix
 
typedef std::vector< PointsKeyPointsKeyVector
 
typedef NekDouble(* PFD) ()
 
typedef NekDouble(* PFD1) (NekDouble)
 
typedef NekDouble(* PFD2) (NekDouble, NekDouble)
 
typedef NekDouble(* PFD3) (NekDouble, NekDouble, NekDouble)
 
typedef NekDouble(* PFD4) (NekDouble, NekDouble, NekDouble, NekDouble)
 
typedef std::shared_ptr< InterpreterInterpreterSharedPtr
 
typedef std::shared_ptr< NekLinSysIterNekLinSysIterSharedPtr
 
typedef LibUtilities::NekFactory< std::string, NekLinSysIter, const LibUtilities::SessionReaderSharedPtr &, const LibUtilities::CommSharedPtr &, const int, const NekSysKey & > NekLinSysIterFactory
 
typedef std::shared_ptr< NekLinSysIterCGNekLinSysIterCGSharedPtr
 
typedef std::shared_ptr< NekLinSysIterCGLocNekLinSysIterCGLocSharedPtr
 
typedef std::shared_ptr< NekLinSysIterFixedpointJacobiNekLinSysIterFixedpointJacobiSharedPtr
 
typedef std::shared_ptr< NekNonlinSysNekNonlinSysSharedPtr
 
typedef LibUtilities::NekFactory< std::string, NekNonlinSys, const LibUtilities::SessionReaderSharedPtr &, const LibUtilities::CommSharedPtr &, const int, const NekSysKey & > NekNonlinSysFactory
 
typedef std::shared_ptr< NekSysNekSysSharedPtr
 
typedef NekFactory< std::string, TimeIntegrationScheme, std::string, size_t, std::vector< NekDouble > > TimeIntegrationSchemeFactory
 Datatype of the NekFactory used to instantiate classes derived from the EquationSystem class. More...
 
typedef std::shared_ptr< TimeIntegrationSchemeOperatorsTimeIntegrationSchemeOperatorsSharedPtr
 
template<class T >
using AT = Array< OneD, T >
 
typedef const AT< const AT< AT< NekDouble > > > ConstTripleArray
 
typedef AT< AT< AT< NekDouble > > > TripleArray
 
typedef const AT< const AT< NekDouble > > ConstDoubleArray
 
typedef AT< AT< NekDouble > > DoubleArray
 
typedef const AT< const NekDoubleConstSingleArray
 
typedef AT< NekDoubleSingleArray
 
typedef AT< AT< AT< std::complex< NekDouble > > > > ComplexTripleArray
 
typedef const AT< const AT< std::complex< NekDouble > > > ConstComplexDoubleArray
 
typedef AT< AT< std::complex< NekDouble > > > ComplexDoubleArray
 
typedef const AT< const std::complex< NekDouble > > ConstComplexSingleArray
 
typedef AT< std::complex< NekDouble > > ComplexSingleArray
 
typedef std::shared_ptr< TimeIntegrationSchemeTimeIntegrationSchemeSharedPtr
 
typedef std::vector< TimeIntegrationSchemeSharedPtrTimeIntegrationSchemeVector
 
typedef std::shared_ptr< FractionalInTimeIntegrationSchemeFractionalInTimeIntegrationSchemeSharedPtr
 
typedef std::vector< FractionalInTimeIntegrationSchemeSharedPtrFractionalInTimeIntegrationSchemeVector
 
typedef std::shared_ptr< TimeIntegrationSchemeGLMTimeIntegrationSchemeGLMSharedPtr
 
typedef std::vector< TimeIntegrationSchemeGLMSharedPtrTimeIntegrationSchemeGLMVector
 
typedef std::shared_ptr< TimeIntegrationAlgorithmGLMTimeIntegrationAlgorithmGLMSharedPtr
 
typedef std::vector< TimeIntegrationAlgorithmGLMSharedPtrTimeIntegrationAlgorithmGLMVector
 
typedef std::shared_ptr< TimeIntegrationSolutionGLMTimeIntegrationSolutionGLMSharedPtr
 
typedef std::vector< TimeIntegrationSolutionGLMSharedPtrTimeIntegrationSolutionGLMVector
 
typedef std::shared_ptr< TimeIntegrationSchemeGEMTimeIntegrationSchemeGEMSharedPtr
 
typedef std::vector< TimeIntegrationSchemeGEMSharedPtrTimeIntegrationSchemeGEMVector
 
typedef std::shared_ptr< TimeIntegrationSchemeSDCTimeIntegrationSchemeSDCSharedPtr
 
typedef std::vector< TimeIntegrationSchemeSDCSharedPtrTimeIntegrationSchemeSDCVector
 

Enumerations

enum  EndianType {
  eEndianUnknown , eEndianBig , eEndianLittle , eEndianBigWord ,
  eEndianLittleWord
}
 
enum  FieldIOType { eXML , eHDF5 }
 Enumerator for auto-detection of FieldIO types. More...
 
enum  InterpMethod {
  eNoMethod , eNearestNeighbour , eQuadratic , eShepard ,
  eGauss
}
 
enum  PtsType {
  ePtsFile , ePtsLine , ePtsPlane , ePtsBox ,
  ePtsSegBlock , ePtsTriBlock , ePtsTetBlock
}
 
enum  PtsInfo { eIsEquiSpacedData , ePtsPerElmtEdge }
 
enum  FunctionType { eFunctionTypeExpression , eFunctionTypeFile , eFunctionTypeTransientFile , eSIZE_FunctionType }
 
enum  ShapeType {
  eNoShapeType , ePoint , eSegment , eTriangle ,
  eQuadrilateral , eTetrahedron , ePyramid , ePrism ,
  eHexahedron , SIZE_ShapeType , Point = ePoint , Seg = eSegment ,
  Tri = eTriangle , Quad = eQuadrilateral , Tet = eTetrahedron , Pyr = ePyramid ,
  Prism = ePrism , Hex = eHexahedron
}
 
enum  ReduceOperator { ReduceSum , ReduceMax , ReduceMin , SIZE_ReduceOperator }
 Type of operation to perform in AllReduce. More...
 
enum  TranspositionDir {
  eXYtoZ , eZtoXY , eXtoYZ , eYZtoX ,
  eYZtoZY , eZYtoYZ , eXtoY , eYtoZ ,
  eZtoX , eNoTrans
}
 
enum  BasisType {
  eNoBasisType , eOrtho_A , eOrtho_B , eOrtho_C ,
  eModified_A , eModified_B , eModified_C , eOrthoPyr_C ,
  eModifiedPyr_C , eFourier , eGLL_Lagrange , eGauss_Lagrange ,
  h_p , eChebyshev , P , eFourierSingleMode ,
  eFourierHalfModeRe , eFourierHalfModeIm , SIZE_BasisType
}
 
enum  PointsType {
  eNoPointsType , eGaussGaussLegendre , eGaussRadauMLegendre , eGaussRadauPLegendre ,
  eGaussLobattoLegendre , eGaussGaussChebyshev , eGaussRadauMChebyshev , eGaussRadauPChebyshev ,
  eGaussLobattoChebyshev , eGaussRadauMAlpha0Beta1 , beta , beta ,
  beta , beta , eGaussRadauKronrodMLegendre , eGaussRadauKronrodMAlpha1Beta0 ,
  eGaussLobattoKronrodLegendre , ePolyEvenlySpaced , eFourierEvenlySpaced , eFourierSingleModeSpaced ,
  eBoundaryLayerPoints , eBoundaryLayerPointsRev , eNodalTriElec , eNodalTriFekete ,
  eNodalTriEvenlySpaced , eNodalTetEvenlySpaced , eNodalTetElec , eNodalPrismEvenlySpaced ,
  eNodalPrismElec , eNodalTriSPI , eNodalTetSPI , eNodalPrismSPI ,
  eNodalQuadElec , eNodalHexElec , SIZE_PointsType
}
 
enum  TimeIntegrationSchemeType {
  eNoTimeIntegrationSchemeType , eExplicit , eDiagonallyImplicit , eIMEX ,
  eImplicit , eExponential , eFractionalInTime
}
 

Functions

template<class To , class Ti , class = typename std::enable_if< std::is_floating_point< typename std::remove_reference<Ti>::type>::value && std::is_integral< typename std::remove_reference<To>::type>::value>::type>
To checked_cast (const Ti param)
 checked cast from float types only to int types More...
 
EndianType Endianness (void)
 
FieldIOFactoryGetFieldIOFactory ()
 Returns the FieldIO factory. More...
 
void Write (const std::string &outFile, std::vector< FieldDefinitionsSharedPtr > &fielddefs, std::vector< std::vector< NekDouble > > &fielddata, const FieldMetaDataMap &fieldinfomap, const bool backup)
 This function allows for data to be written to an FLD file when a session and/or communicator is not instantiated. Typically used in utilities which do not take XML input and operate in serial only. More...
 
void Import (const std::string &infilename, std::vector< FieldDefinitionsSharedPtr > &fielddefs, std::vector< std::vector< NekDouble > > &fielddata, FieldMetaDataMap &fieldinfomap, const Array< OneD, int > &ElementIDs)
 This function allows for data to be imported from an FLD file when a session and/or communicator is not instantiated. Typically used in utilities which only operate in serial. More...
 
std::string PortablePath (const boost::filesystem::path &path)
 create portable path on different platforms for boost::filesystem path More...
 
int PrintProgressbar (const int position, const int goal, const std::string message, int lastprogress=-1)
 Prints a progressbar. More...
 
template<class T1 , class T2 , class = typename std::enable_if< std::is_floating_point<typename std::remove_cv< typename std::remove_reference<T1>::type>::type>::value && std::is_same<typename std::remove_cv< typename std::remove_reference<T1>::type>::type, typename std::remove_cv<typename std::remove_reference< T2>::type>::type>::value>::type>
bool IsRealEqual (T1 &&lhs, T2 &&rhs, const unsigned int factor=NekConstants::kNekFloatCompFact)
 compare reals of same type with relative tolerance More...
 
template<class T1 , class T2 , class = typename std::enable_if< std::is_floating_point<typename std::remove_cv< typename std::remove_reference<T1>::type>::type>::value && std::is_same<typename std::remove_cv< typename std::remove_reference<T1>::type>::type, typename std::remove_cv<typename std::remove_reference< T2>::type>::type>::value>::type>
bool IsRealClose (T1 &&lhs, T2 &&rhs, const NekDouble tol=NekConstants::kNekMachineEpsilon)
 compare reals of same type with absolute tolerance More...
 
TiXmlElement * GetChildElementOrThrow (const std::string &filename, std::string elementName, const TiXmlHandle &docHandle)
 
int GetNumberOfCoefficients (ShapeType shape, std::vector< unsigned int > &modes, int offset=0)
 
int GetNumberOfCoefficients (ShapeType shape, int na, int nb=0, int nc=0)
 
CommFactoryGetCommFactory ()
 
int CommDataTypeGetSize (CommDataType dt)
 Return the size in bytes of a data type dt. More...
 
NektarFFTFactoryGetNektarFFTFactory ()
 
bool operator< (const BasisKey &lhs, const BasisKey &rhs)
 
bool operator> (const BasisKey &lhs, const BasisKey &rhs)
 
std::ostream & operator<< (std::ostream &os, const BasisKey &rhs)
 
bool operator== (const BasisKey &x, const BasisKey &y)
 
bool operator== (const BasisKey *x, const BasisKey &y)
 
bool operator== (const BasisKey &x, const BasisKey *y)
 
bool operator!= (const BasisKey &x, const BasisKey &y)
 
bool operator!= (const BasisKey *x, const BasisKey &y)
 
bool operator!= (const BasisKey &x, const BasisKey *y)
 
static const BasisKey NullBasisKey (eNoBasisType, 0, NullPointsKey)
 Defines a null basis with no type or points. More...
 
bool operator== (const GraphVertexObject &x, const GraphVertexObject &y)
 
bool operator!= (const GraphVertexObject &x, const GraphVertexObject &y)
 
void Interp1D (const BasisKey &fbasis0, const Array< OneD, const NekDouble > &from, const BasisKey &tbasis0, Array< OneD, NekDouble > &to)
 this function interpolates a 1D function \(f\) evaluated at the quadrature points of the basis fbasis0 to the function values at the quadrature points of the basis tbasis0 More...
 
void Interp1D (const PointsKey &fpoints0, const Array< OneD, const NekDouble > &from, const PointsKey &tpoints0, Array< OneD, NekDouble > &to)
 
void Interp1D (const BasisKey &fbasis0, const NekDouble *from, const BasisKey &tbasis0, NekDouble *to)
 
void Interp1D (const PointsKey &fpoints0, const NekDouble *from, const PointsKey &tpoints0, NekDouble *to)
 
void Interp2D (const BasisKey &fbasis0, const BasisKey &fbasis1, const Array< OneD, const NekDouble > &from, const BasisKey &tbasis0, const BasisKey &tbasis1, Array< OneD, NekDouble > &to)
 this function interpolates a 2D function \(f\) evaluated at the quadrature points of the 2D basis, constructed by fbasis0 and fbasis1, to the function values at the quadrature points of the 2D basis, constructed by tbasis0 and tbasis1 More...
 
void Interp2D (const PointsKey &fpoints0, const PointsKey &fpoints1, const Array< OneD, const NekDouble > &from, const PointsKey &tpoints0, const PointsKey &tpoints1, Array< OneD, NekDouble > &to)
 
void Interp2D (const PointsKey &fpoints0, const PointsKey &fpoints1, const NekDouble *from, const PointsKey &tpoints0, const PointsKey &tpoints1, NekDouble *to)
 
void Interp3D (const BasisKey &fbasis0, const BasisKey &fbasis1, const BasisKey &fbasis2, const Array< OneD, const NekDouble > &from, const BasisKey &tbasis0, const BasisKey &tbasis1, const BasisKey &tbasis2, Array< OneD, NekDouble > &to)
 this function interpolates a 3D function \(f\) evaluated at the quadrature points of the 3D basis, constructed by fbasis0, fbasis1, and fbasis2 to the function values at the quadrature points of the 3D basis, constructed by tbasis0, tbasis1, and tbasis2. More...
 
void Interp3D (const PointsKey &fpoints0, const PointsKey &fpoints1, const PointsKey &fpoints2, const Array< OneD, const NekDouble > &from, const PointsKey &tpoints0, const PointsKey &tpoints1, const PointsKey &tpoints2, Array< OneD, NekDouble > &to)
 
void Interp3D (const PointsKey &fpoints0, const PointsKey &fpoints1, const PointsKey &fpoints2, const NekDouble *from, const PointsKey &tpoints0, const PointsKey &tpoints1, const PointsKey &tpoints2, NekDouble *to)
 
void InterpCoeff1D (const BasisKey &fbasis0, const Array< OneD, const NekDouble > &from, const BasisKey &tbasis0, Array< OneD, NekDouble > &to)
 
void InterpCoeff2D (const BasisKey &fbasis0, const BasisKey &fbasis1, const Array< OneD, const NekDouble > &from, const BasisKey &tbasis0, const BasisKey &tbasis1, Array< OneD, NekDouble > &to)
 
void InterpCoeff2D (const BasisKey &fbasis0, const BasisKey &fbasis1, const NekDouble *from, const BasisKey &tbasis0, const BasisKey &tbasis1, NekDouble *to)
 
void InterpCoeff3D (const BasisKey &fbasis0, const BasisKey &fbasis1, const BasisKey &fbasis2, const Array< OneD, const NekDouble > &from, const BasisKey &tbasis0, const BasisKey &tbasis1, const BasisKey &tbasis2, Array< OneD, NekDouble > &to)
 
void InterpCoeff3D (const BasisKey &fbasis0, const BasisKey &fbasis1, const BasisKey &fbasis2, const NekDouble *from, const BasisKey &tbasis0, const BasisKey &tbasis1, const BasisKey &tbasis2, NekDouble *to)
 
PointsManagerTPointsManager (void)
 
BasisManagerTBasisManager (void)
 
void PhysGalerkinProject1D (const BasisKey &fbasis0, const Array< OneD, const NekDouble > &from, const BasisKey &tbasis0, Array< OneD, NekDouble > &to)
 
void PhysGalerkinProject1D (const PointsKey &fpoints0, const Array< OneD, const NekDouble > &from, const PointsKey &tpoints0, Array< OneD, NekDouble > &to)
 
void PhysGalerkinProject1D (const BasisKey &fbasis0, const NekDouble *from, const BasisKey &tbasis0, NekDouble *to)
 
void PhysGalerkinProject1D (const PointsKey &fpoints0, const NekDouble *from, const PointsKey &tpoints0, NekDouble *to)
 
void PhysGalerkinProject2D (const BasisKey &fbasis0, const BasisKey &fbasis1, const Array< OneD, const NekDouble > &from, const BasisKey &tbasis0, const BasisKey &tbasis1, Array< OneD, NekDouble > &to)
 
void PhysGalerkinProject2D (const PointsKey &fpoints0, const PointsKey &fpoints1, const Array< OneD, const NekDouble > &from, const PointsKey &tpoints0, const PointsKey &tpoints1, Array< OneD, NekDouble > &to)
 
void PhysGalerkinProject2D (const PointsKey &fpoints0, const PointsKey &fpoints1, const NekDouble *from, const PointsKey &tpoints0, const PointsKey &tpoints1, NekDouble *to)
 
void PhysGalerkinProject3D (const BasisKey &fbasis0, const BasisKey &fbasis1, const BasisKey &fbasis2, const Array< OneD, const NekDouble > &from, const BasisKey &tbasis0, const BasisKey &tbasis1, const BasisKey &tbasis2, Array< OneD, NekDouble > &to)
 
void PhysGalerkinProject3D (const PointsKey &fpoints0, const PointsKey &fpoints1, const PointsKey &fpoints2, const Array< OneD, const NekDouble > &from, const PointsKey &tpoints0, const PointsKey &tpoints1, const PointsKey &tpoints2, Array< OneD, NekDouble > &to)
 
void PhysGalerkinProject3D (const PointsKey &fpoints0, const PointsKey &fpoints1, const PointsKey &fpoints2, const NekDouble *from, const PointsKey &tpoints0, const PointsKey &tpoints1, const PointsKey &tpoints2, NekDouble *to)
 
bool operator== (const PointsKey &lhs, const PointsKey &rhs)
 
bool operator< (const PointsKey &lhs, const PointsKey &rhs)
 
std::ostream & operator<< (std::ostream &os, const PointsKey &rhs)
 
static const PointsKey NullPointsKey (0, eNoPointsType)
 
NekDouble sign (NekDouble arg)
 
NekDouble awgn (NekDouble sigma)
 
static NekDouble rad (NekDouble x, NekDouble y)
 
static NekDouble ang (NekDouble x, NekDouble y)
 
NekLinSysIterFactoryGetNekLinSysIterFactory ()
 
NekNonlinSysFactoryGetNekNonlinSysFactory ()
 
 FACTORYREGISTER (AdamsBashforth)
 
 FACTORYREGISTER (AdamsBashforthOrder1)
 
 SESSIONREGISTER (AdamsBashforthOrder1)
 
 FACTORYREGISTER (AdamsBashforthOrder2)
 
 SESSIONREGISTER (AdamsBashforthOrder2)
 
 FACTORYREGISTER (AdamsBashforthOrder3)
 
 SESSIONREGISTER (AdamsBashforthOrder3)
 
 FACTORYREGISTER (AdamsBashforthOrder4)
 
 SESSIONREGISTER (AdamsBashforthOrder4)
 
 FACTORYREGISTER (AdamsMoulton)
 
 FACTORYREGISTER (AdamsMoultonOrder1)
 
 SESSIONREGISTER (AdamsMoultonOrder1)
 
 FACTORYREGISTER (AdamsMoultonOrder2)
 
 SESSIONREGISTER (AdamsMoultonOrder2)
 
 FACTORYREGISTER (AdamsMoultonOrder3)
 
 SESSIONREGISTER (AdamsMoultonOrder3)
 
 FACTORYREGISTER (AdamsMoultonOrder4)
 
 SESSIONREGISTER (AdamsMoultonOrder4)
 
 FACTORYREGISTER (BDFImplicit)
 
 FACTORYREGISTER (BDFImplicitOrder1)
 
 SESSIONREGISTER (BDFImplicitOrder1)
 
 FACTORYREGISTER (BDFImplicitOrder2)
 
 SESSIONREGISTER (BDFImplicitOrder2)
 
 FACTORYREGISTER (BDFImplicitOrder3)
 
 SESSIONREGISTER (BDFImplicitOrder3)
 
 FACTORYREGISTER (BDFImplicitOrder4)
 
 SESSIONREGISTER (BDFImplicitOrder4)
 
 FACTORYREGISTER (Euler)
 
 FACTORYREGISTER (BackwardEuler)
 
 SESSIONREGISTER (BackwardEuler)
 
 FACTORYREGISTER (ForwardEuler)
 
 SESSIONREGISTER (ForwardEuler)
 
 FACTORYREGISTER (EulerExponential)
 
 FACTORYREGISTER (CNAB)
 
 SESSIONREGISTER (CNAB)
 
 FACTORYREGISTER (DIRK)
 
 FACTORYREGISTER (DIRKOrder1)
 
 SESSIONREGISTER (DIRKOrder1)
 
 FACTORYREGISTER (DIRKOrder2)
 
 SESSIONREGISTER (DIRKOrder2)
 
 FACTORYREGISTER (DIRKOrder3)
 
 SESSIONREGISTER (DIRKOrder3)
 
 FACTORYREGISTER (DIRKOrder3_ES5)
 
 SESSIONREGISTER (DIRKOrder3_ES5)
 
 FACTORYREGISTER (DIRKOrder4_ES6)
 
 SESSIONREGISTER (DIRKOrder4_ES6)
 
 FACTORYREGISTER (IMEXdirk)
 
 FACTORYREGISTER (IMEXdirk_1_1_1)
 
 SESSIONREGISTER (IMEXdirk_1_1_1)
 
 FACTORYREGISTER (IMEXdirk_1_2_1)
 
 SESSIONREGISTER (IMEXdirk_1_2_1)
 
 FACTORYREGISTER (IMEXdirk_1_2_2)
 
 SESSIONREGISTER (IMEXdirk_1_2_2)
 
 FACTORYREGISTER (IMEXdirk_2_2_2)
 
 SESSIONREGISTER (IMEXdirk_2_2_2)
 
 FACTORYREGISTER (IMEXdirk_2_3_2)
 
 SESSIONREGISTER (IMEXdirk_2_3_2)
 
 FACTORYREGISTER (IMEXdirk_2_3_3)
 
 SESSIONREGISTER (IMEXdirk_2_3_3)
 
 FACTORYREGISTER (IMEXdirk_3_4_3)
 
 SESSIONREGISTER (IMEXdirk_3_4_3)
 
 FACTORYREGISTER (IMEXdirk_4_4_3)
 
 SESSIONREGISTER (IMEXdirk_4_4_3)
 
 FACTORYREGISTER (IMEXGear)
 
 SESSIONREGISTER (IMEXGear)
 
 FACTORYREGISTER (IMEX)
 
 FACTORYREGISTER (IMEXOrder1)
 
 SESSIONREGISTER (IMEXOrder1)
 
 FACTORYREGISTER (IMEXOrder2)
 
 SESSIONREGISTER (IMEXOrder2)
 
 FACTORYREGISTER (IMEXOrder3)
 
 SESSIONREGISTER (IMEXOrder3)
 
 FACTORYREGISTER (IMEXOrder4)
 
 SESSIONREGISTER (IMEXOrder4)
 
 FACTORYREGISTER (MCNAB)
 
 SESSIONREGISTER (MCNAB)
 
 FACTORYREGISTER (RungeKutta)
 
 FACTORYREGISTER (RungeKutta1)
 
 SESSIONREGISTER (RungeKutta1)
 
 FACTORYREGISTER (RungeKutta2)
 
 SESSIONREGISTER (RungeKutta2)
 
 FACTORYREGISTER (RungeKutta2_ImprovedEuler)
 
 SESSIONREGISTER (RungeKutta2_ImprovedEuler)
 
 FACTORYREGISTER (RungeKutta2_SSP)
 
 SESSIONREGISTER (RungeKutta2_SSP)
 
 FACTORYREGISTER (RungeKutta3)
 
 SESSIONREGISTER (RungeKutta3)
 
 FACTORYREGISTER (RungeKutta3_SSP)
 
 SESSIONREGISTER (RungeKutta3_SSP)
 
 FACTORYREGISTER (ClassicalRungeKutta4)
 
 SESSIONREGISTER (ClassicalRungeKutta4)
 
 FACTORYREGISTER (RungeKutta4)
 
 SESSIONREGISTER (RungeKutta4)
 
 FACTORYREGISTER (RungeKutta5)
 
 SESSIONREGISTER (RungeKutta5)
 
std::ostream & operator<< (std::ostream &os, const TimeIntegrationAlgorithmGLMSharedPtr &rhs)
 
std::ostream & operator<< (std::ostream &os, const TimeIntegrationAlgorithmGLM &rhs)
 
TimeIntegrationSchemeFactoryGetTimeIntegrationSchemeFactory ()
 
std::ostream & operator<< (std::ostream &os, const TimeIntegrationScheme &rhs)
 
std::ostream & operator<< (std::ostream &os, const TimeIntegrationSchemeSharedPtr &rhs)
 
std::ostream & operator<< (std::ostream &os, const FractionalInTimeIntegrationScheme &rhs)
 
std::ostream & operator<< (std::ostream &os, const FractionalInTimeIntegrationSchemeSharedPtr &rhs)
 
std::ostream & operator<< (std::ostream &os, const TimeIntegrationSchemeGEM &rhs)
 
std::ostream & operator<< (std::ostream &os, const TimeIntegrationSchemeGEMSharedPtr &rhs)
 
std::ostream & operator<< (std::ostream &os, const TimeIntegrationSchemeGLM &rhs)
 
std::ostream & operator<< (std::ostream &os, const TimeIntegrationSchemeGLMSharedPtr &rhs)
 
std::ostream & operator<< (std::ostream &os, const TimeIntegrationSchemeSDC &rhs)
 
std::ostream & operator<< (std::ostream &os, const TimeIntegrationSchemeSDCSharedPtr &rhs)
 

Variables

const std::string EndianTypeMap []
 
static DomainRangeShPtr NullDomainRangeShPtr
 
std::string fldCmdFormat
 
static FieldMetaDataMap NullFieldMetaDataMap
 
static std::map< PtsInfo, int > NullPtsInfoMap
 
static PtsFieldSharedPtr NullPtsField
 
static PtsMetaDataMap NullPtsMetaDataMap
 
const char *const FunctionTypeMap []
 
const char *const ShapeTypeMap [SIZE_ShapeType]
 
constexpr unsigned int ShapeTypeDimMap [SIZE_ShapeType]
 
static std::vector< NekDoubleNullNekDoubleVector
 
static std::vector< unsigned int > NullUnsignedIntVector
 
static std::vector< std::vector< NekDouble > > NullVectorNekDoubleVector
 
const char *const ReduceOperatorMap [] = {"ReduceSum", "ReduceMax", "ReduceMin"}
 
static BasisSharedPtr NullBasisSharedPtr
 
static Array< OneD, BasisSharedPtrNullBasisSharedPtr1DArray
 
const char *const BasisTypeMap []
 
const std::string kPointsTypeStr []
 
static const size_t perm4_3d [4][4]
 
static const size_t perm6_3d [6][4]
 
static const size_t perm12A_3d [12][4]
 
static const size_t perm12B_3d [12][4]
 
static const size_t perm12C_3d [12][4]
 
static const size_t perm24_3d [24][4]
 
const size_t NodalTetElecAvailable = 10
 
static const size_t NodalTetElecNPTS [NodalTetElecAvailable]
 
static const NekDouble NodalTetElecData [][9]
 
const size_t NodalTetSPIAvailable = 10
 
static const size_t NodalTetSPINPTS [NodalTetSPIAvailable]
 
static const NekDouble NodalTetSPIData [][4]
 
static const size_t perm3A_2d [3][3]
 
static const size_t perm3B_2d [3][3]
 
static const size_t perm6_2d [6][3]
 
const size_t NodalTriElecAvailable = 16
 
static const size_t NodalTriElecNPTS [NodalTriElecAvailable]
 
static const NekDouble NodalTriElecData [][6]
 
static const size_t perm3A_2d [3][3]
 
static const size_t perm3B_2d [3][3]
 
static const size_t perm3C_2d [3][3]
 
static const size_t perm6_2d [6][3]
 
const size_t NodalTriFeketeAvailable = 16
 
static const size_t NodalTriFeketeNPTS [NodalTriFeketeAvailable]
 
static const NekDouble NodalTriFeketeData [][6]
 
const size_t NodalTriSPIAvailable = 10
 
static const size_t NodalTriSPINPTS [NodalTriSPIAvailable]
 
static const NekDouble NodalTriSPIData [][3]
 
static std::vector< LibUtilities::PointsTypeNullPointsTypeVector
 
Nektar::LibUtilities::functions functions_p
 

Typedef Documentation

◆ AT

template<class T >
using Nektar::LibUtilities::AT = typedef Array<OneD, T>

Definition at line 47 of file TimeIntegrationTypes.hpp.

◆ BasisKeyVector

Name for a vector of BasisKeys.

Definition at line 70 of file FoundationsFwd.hpp.

◆ BasisManagerT

Definition at line 49 of file ManagerAccess.h.

◆ BasisSharedPtr

typedef std::shared_ptr<Basis> Nektar::LibUtilities::BasisSharedPtr

Definition at line 71 of file FoundationsFwd.hpp.

◆ BasisVector

Definition at line 72 of file FoundationsFwd.hpp.

◆ CmdLineArgMap

typedef std::map<std::string, CmdLineArg> Nektar::LibUtilities::CmdLineArgMap

Definition at line 73 of file SessionReader.h.

◆ CommCwipiSharedPtr

Pointer to a Communicator object.

Definition at line 52 of file CommCwipi.h.

◆ CommDataType

typedef unsigned int Nektar::LibUtilities::CommDataType

Definition at line 70 of file CommDataType.h.

◆ CommFactory

Datatype of the NekFactory used to instantiate classes derived from the EquationSystem class.

Definition at line 61 of file Comm.h.

◆ CommMpiSharedPtr

Pointer to a Communicator object.

Definition at line 58 of file CommMpi.h.

◆ CommRequestMpiSharedPtr

Definition at line 88 of file CommMpi.h.

◆ CommRequestSharedPtr

Definition at line 86 of file Comm.h.

◆ CommSerialSharedPtr

Pointer to a Communicator object.

Definition at line 51 of file CommSerial.h.

◆ CommSharedPtr

typedef std::shared_ptr<Comm> Nektar::LibUtilities::CommSharedPtr

Pointer to a Communicator object.

Definition at line 57 of file Comm.h.

◆ ComplexDoubleArray

Definition at line 59 of file TimeIntegrationTypes.hpp.

◆ ComplexSingleArray

Definition at line 61 of file TimeIntegrationTypes.hpp.

◆ ComplexTripleArray

Definition at line 57 of file TimeIntegrationTypes.hpp.

◆ ConstComplexDoubleArray

typedef const AT<const AT< std::complex<NekDouble> > > Nektar::LibUtilities::ConstComplexDoubleArray

Definition at line 58 of file TimeIntegrationTypes.hpp.

◆ ConstComplexSingleArray

typedef const AT< const std::complex<NekDouble> > Nektar::LibUtilities::ConstComplexSingleArray

Definition at line 60 of file TimeIntegrationTypes.hpp.

◆ ConstDoubleArray

Definition at line 52 of file TimeIntegrationTypes.hpp.

◆ ConstSingleArray

Definition at line 54 of file TimeIntegrationTypes.hpp.

◆ ConstTripleArray

Definition at line 50 of file TimeIntegrationTypes.hpp.

◆ CsvIOSharedPtr

typedef std::shared_ptr<CsvIO> Nektar::LibUtilities::CsvIOSharedPtr

Definition at line 80 of file CsvIO.h.

◆ DataSourceSharedPtr

Definition at line 90 of file FieldIO.h.

◆ DomainRangeShPtr

Definition at line 66 of file DomainRange.h.

◆ DoubleArray

Definition at line 53 of file TimeIntegrationTypes.hpp.

◆ EnumMap

typedef std::map<std::string, int> Nektar::LibUtilities::EnumMap

Definition at line 75 of file SessionReader.h.

◆ EnumMapList

typedef std::map<std::string, EnumMap> Nektar::LibUtilities::EnumMapList

Definition at line 76 of file SessionReader.h.

◆ EquationSharedPtr

Definition at line 129 of file Equation.h.

◆ FieldDefinitionsSharedPtr

Definition at line 186 of file FieldIO.h.

◆ FieldIOFactory

Datatype of the NekFactory used to instantiate classes.

Definition at line 207 of file FieldIO.h.

◆ FieldIOSharedPtr

Definition at line 327 of file FieldIO.h.

◆ FieldMetaDataMap

typedef std::map<std::string, std::string> Nektar::LibUtilities::FieldMetaDataMap

Definition at line 52 of file FieldIO.h.

◆ FilterMap

typedef std::vector<std::pair<std::string, FilterParams> > Nektar::LibUtilities::FilterMap

Definition at line 64 of file SessionReader.h.

◆ FilterParams

typedef std::map<std::string, std::string> Nektar::LibUtilities::FilterParams

Definition at line 63 of file SessionReader.h.

◆ FractionalInTimeIntegrationSchemeSharedPtr

Definition at line 75 of file TimeIntegrationTypes.hpp.

◆ FractionalInTimeIntegrationSchemeVector

Definition at line 78 of file TimeIntegrationTypes.hpp.

◆ FunctionMap

Definition at line 112 of file SessionReader.h.

◆ FunctionVariableMap

typedef std::map<std::pair<std::string, int>, FunctionVariableDefinition> Nektar::LibUtilities::FunctionVariableMap

Definition at line 111 of file SessionReader.h.

◆ GeometricInfoMap

typedef std::map<std::string, std::string> Nektar::LibUtilities::GeometricInfoMap

Definition at line 60 of file SessionReader.h.

◆ GloSysInfoMap

typedef std::map< std::string, std::string > Nektar::LibUtilities::GloSysInfoMap

Definition at line 78 of file SessionReader.h.

◆ GloSysSolnInfoList

typedef std::map< std::string, GloSysInfoMap > Nektar::LibUtilities::GloSysSolnInfoList

Definition at line 79 of file SessionReader.h.

◆ GraphVertexID

Definition at line 76 of file FoundationsFwd.hpp.

◆ H5DataSourceSharedPtr

Definition at line 88 of file FieldIOHdf5.h.

◆ H5TagWriterSharedPtr

Definition at line 119 of file FieldIOHdf5.h.

◆ InterpolatorSharedPtr

Definition at line 225 of file LibUtilities/BasicUtils/Interpolator.h.

◆ InterpreterSharedPtr

Definition at line 324 of file Interpreter.h.

◆ NekFFTWSharedPtr

Definition at line 57 of file NekFFTW.h.

◆ NekLinSysIterCGLocSharedPtr

Definition at line 47 of file NekLinSysIterCGLoc.h.

◆ NekLinSysIterCGSharedPtr

Definition at line 47 of file NekLinSysIterCG.h.

◆ NekLinSysIterFactory

Definition at line 53 of file NekLinSysIter.h.

◆ NekLinSysIterFixedpointJacobiSharedPtr

Definition at line 48 of file NekLinSysIterFixedpointJacobi.h.

◆ NekLinSysIterSharedPtr

Definition at line 48 of file NekLinSysIter.h.

◆ NekNonlinSysFactory

Definition at line 53 of file NekNonlinSys.h.

◆ NekNonlinSysSharedPtr

Definition at line 48 of file NekNonlinSys.h.

◆ NekSysSharedPtr

Definition at line 239 of file NekSys.h.

◆ NektarFFTFactory

Datatype of the NekFactory used to instantiate classes derived from the NektarFFT class.

Definition at line 62 of file NektarFFT.h.

◆ NektarFFTSharedPtr

Definition at line 58 of file NektarFFT.h.

◆ ParameterMap

typedef std::map<std::string, NekDouble> Nektar::LibUtilities::ParameterMap

Definition at line 59 of file SessionReader.h.

◆ PFD

typedef NekDouble(* Nektar::LibUtilities::PFD) ()

Definition at line 100 of file Interpreter/Interpreter.cpp.

◆ PFD1

typedef NekDouble(* Nektar::LibUtilities::PFD1) (NekDouble)

Definition at line 101 of file Interpreter/Interpreter.cpp.

◆ PFD2

typedef NekDouble(* Nektar::LibUtilities::PFD2) (NekDouble, NekDouble)

Definition at line 102 of file Interpreter/Interpreter.cpp.

◆ PFD3

typedef NekDouble(* Nektar::LibUtilities::PFD3) (NekDouble, NekDouble, NekDouble)

Definition at line 103 of file Interpreter/Interpreter.cpp.

◆ PFD4

typedef NekDouble(* Nektar::LibUtilities::PFD4) (NekDouble, NekDouble, NekDouble, NekDouble)

Definition at line 104 of file Interpreter/Interpreter.cpp.

◆ PointsBaseType

Definition at line 74 of file FoundationsFwd.hpp.

◆ PointsKeyVector

Definition at line 236 of file Points.h.

◆ PointsManagerT

Definition at line 48 of file ManagerAccess.h.

◆ PointsSharedPtr

Definition at line 75 of file FoundationsFwd.hpp.

◆ PtsFieldSharedPtr

Definition at line 190 of file PtsField.h.

◆ PtsIOSharedPtr

typedef std::shared_ptr<PtsIO> Nektar::LibUtilities::PtsIOSharedPtr

Definition at line 96 of file PtsIO.h.

◆ PtsMetaDataMap

typedef std::map<std::string, std::string> Nektar::LibUtilities::PtsMetaDataMap

Definition at line 58 of file PtsIO.h.

◆ SessionReaderSharedPtr

Definition at line 115 of file SessionReader.h.

◆ SharedMatrix

Definition at line 51 of file NodalUtil.h.

◆ SingleArray

Definition at line 55 of file TimeIntegrationTypes.hpp.

◆ SolverInfoMap

typedef std::map<std::string, std::string> Nektar::LibUtilities::SolverInfoMap

Definition at line 58 of file SessionReader.h.

◆ TagMap

typedef std::map<std::string, std::string> Nektar::LibUtilities::TagMap

Definition at line 62 of file SessionReader.h.

◆ TagWriterSharedPtr

Definition at line 80 of file FieldIO.h.

◆ TimeIntegrationAlgorithmGLMSharedPtr

Definition at line 93 of file TimeIntegrationTypes.hpp.

◆ TimeIntegrationAlgorithmGLMVector

Definition at line 96 of file TimeIntegrationTypes.hpp.

◆ TimeIntegrationSchemeFactory

typedef NekFactory<std::string, TimeIntegrationScheme, std::string, size_t, std::vector<NekDouble> > Nektar::LibUtilities::TimeIntegrationSchemeFactory

Datatype of the NekFactory used to instantiate classes derived from the EquationSystem class.

Definition at line 65 of file TimeIntegrationScheme.h.

◆ TimeIntegrationSchemeGEMSharedPtr

Definition at line 111 of file TimeIntegrationTypes.hpp.

◆ TimeIntegrationSchemeGEMVector

Definition at line 114 of file TimeIntegrationTypes.hpp.

◆ TimeIntegrationSchemeGLMSharedPtr

Definition at line 84 of file TimeIntegrationTypes.hpp.

◆ TimeIntegrationSchemeGLMVector

Definition at line 87 of file TimeIntegrationTypes.hpp.

◆ TimeIntegrationSchemeOperatorsSharedPtr

Definition at line 60 of file TimeIntegrationSchemeOperators.h.

◆ TimeIntegrationSchemeSDCSharedPtr

Definition at line 120 of file TimeIntegrationTypes.hpp.

◆ TimeIntegrationSchemeSDCVector

Definition at line 123 of file TimeIntegrationTypes.hpp.

◆ TimeIntegrationSchemeSharedPtr

Definition at line 67 of file TimeIntegrationTypes.hpp.

◆ TimeIntegrationSchemeVector

Definition at line 69 of file TimeIntegrationTypes.hpp.

◆ TimeIntegrationSolutionGLMSharedPtr

Definition at line 102 of file TimeIntegrationTypes.hpp.

◆ TimeIntegrationSolutionGLMVector

Definition at line 105 of file TimeIntegrationTypes.hpp.

◆ TranspositionSharedPtr

Definition at line 165 of file Transposition.h.

◆ TripleArray

Definition at line 51 of file TimeIntegrationTypes.hpp.

◆ VariableList

typedef std::vector<std::string> Nektar::LibUtilities::VariableList

Definition at line 61 of file SessionReader.h.

◆ XmlDataSourceSharedPtr

Definition at line 111 of file FieldIOXml.h.

◆ XmlTagWriterSharedPtr

Definition at line 169 of file FieldIOXml.h.

Enumeration Type Documentation

◆ BasisType

Enumerator
eNoBasisType 
eOrtho_A 

Principle Orthogonal Functions \(\widetilde{\psi}^a_p(z_i)\).

eOrtho_B 

Principle Orthogonal Functions \(\widetilde{\psi}^b_{pq}(z_i)\).

eOrtho_C 

Principle Orthogonal Functions \(\widetilde{\psi}^c_{pqr}(z_i)\).

eModified_A 

Principle Modified Functions \( \phi^a_p(z_i) \).

eModified_B 

Principle Modified Functions \( \phi^b_{pq}(z_i) \).

eModified_C 

Principle Modified Functions \( \phi^c_{pqr}(z_i) \).

eOrthoPyr_C 

Principle Orthogonal Functions \(\widetilde{\psi}^c_{pqr}(z_i) for Pyramids\).

eModifiedPyr_C 

Principle Modified Functions.

eFourier 

Fourier Expansion \( \exp(i p\pi z_i)\).

eGLL_Lagrange 

Lagrange for SEM basis \( h_p(z_i) \).

eGauss_Lagrange 

Lagrange Polynomials using the Gauss points.

h_p 

Legendre Polynomials \( L_p(z_i) = P^{0,0}_p(z_i)\). Same as Ortho_A.

eChebyshev 

Chebyshev Polynomials.

Monomial polynomials \( L_p(z_i) = z_i^{p}\).

eFourierSingleMode 

Fourier ModifiedExpansion with just the first mode \( \exp(i \pi z_i)\).

eFourierHalfModeRe 

Fourier Modified expansions with just the real part of the first mode \( Re[\exp(i \pi z_i)]\).

eFourierHalfModeIm 

Fourier Modified expansions with just the imaginary part of the first mode \( Im[\exp(i \pi z_i)]\).

SIZE_BasisType 

Length of enum list.

Definition at line 41 of file BasisType.h.

42{
44 eOrtho_A, //!< Principle Orthogonal Functions
45 //!< \f$\widetilde{\psi}^a_p(z_i)\f$
46 eOrtho_B, //!< Principle Orthogonal Functions
47 //!< \f$\widetilde{\psi}^b_{pq}(z_i)\f$
48 eOrtho_C, //!< Principle Orthogonal Functions
49 //!< \f$\widetilde{\psi}^c_{pqr}(z_i)\f$
50 eModified_A, //!< Principle Modified Functions \f$ \phi^a_p(z_i) \f$
51 eModified_B, //!< Principle Modified Functions \f$ \phi^b_{pq}(z_i) \f$
52 eModified_C, //!< Principle Modified Functions \f$ \phi^c_{pqr}(z_i) \f$
53 eOrthoPyr_C, //!< Principle Orthogonal Functions
54 //!< \f$\widetilde{\psi}^c_{pqr}(z_i) for Pyramids\f$
55 eModifiedPyr_C, //!< Principle Modified Functions \f$ \phi^c_{pqr}(z_i) for
56 //!< Pyramids\f$
57 eFourier, //!< Fourier Expansion \f$ \exp(i p\pi z_i)\f$
58 eGLL_Lagrange, //!< Lagrange for SEM basis \f$ h_p(z_i) \f$
59 eGauss_Lagrange, //!< Lagrange Polynomials using the Gauss points \f$
60 //!< h_p(z_i) \f$
61 eLegendre, //!< Legendre Polynomials \f$ L_p(z_i) = P^{0,0}_p(z_i)\f$. Same
62 //!< as Ortho_A
63 eChebyshev, //!< Chebyshev Polynomials \f$ T_p(z_i) =
64 //!< P^{-1/2,-1/2}_p(z_i)\f$
65 eMonomial, //!< Monomial polynomials \f$ L_p(z_i) = z_i^{p}\f$
66 eFourierSingleMode, //!< Fourier ModifiedExpansion with just the first mode
67 //!< \f$ \exp(i \pi z_i)\f$
68 eFourierHalfModeRe, //!< Fourier Modified expansions with just the real part
69 //!< of the first mode \f$ Re[\exp(i \pi z_i)]\f$
70 eFourierHalfModeIm, //!< Fourier Modified expansions with just the imaginary
71 //!< part of the first mode \f$ Im[\exp(i \pi z_i)]\f$
72 SIZE_BasisType //!< Length of enum list
73};
@ eModified_B
Principle Modified Functions .
Definition: BasisType.h:51
@ eGauss_Lagrange
Lagrange Polynomials using the Gauss points.
Definition: BasisType.h:59
@ eOrtho_A
Principle Orthogonal Functions .
Definition: BasisType.h:44
@ eModified_C
Principle Modified Functions .
Definition: BasisType.h:52
@ eGLL_Lagrange
Lagrange for SEM basis .
Definition: BasisType.h:58
@ SIZE_BasisType
Length of enum list.
Definition: BasisType.h:72
@ eFourierSingleMode
Fourier ModifiedExpansion with just the first mode .
Definition: BasisType.h:66
@ eChebyshev
Chebyshev Polynomials.
Definition: BasisType.h:63
@ eOrtho_C
Principle Orthogonal Functions .
Definition: BasisType.h:48
@ eModifiedPyr_C
Principle Modified Functions.
Definition: BasisType.h:55
@ eOrtho_B
Principle Orthogonal Functions .
Definition: BasisType.h:46
@ eModified_A
Principle Modified Functions .
Definition: BasisType.h:50
@ eFourierHalfModeIm
Fourier Modified expansions with just the imaginary part of the first mode .
Definition: BasisType.h:70
@ eFourierHalfModeRe
Fourier Modified expansions with just the real part of the first mode .
Definition: BasisType.h:68
@ eOrthoPyr_C
Principle Orthogonal Functions .
Definition: BasisType.h:53
@ eFourier
Fourier Expansion .
Definition: BasisType.h:57

◆ EndianType

Enumerator
eEndianUnknown 
eEndianBig 
eEndianLittle 
eEndianBigWord 
eEndianLittleWord 

Definition at line 50 of file CompressData.h.

51{
55 eEndianBigWord, /* Middle-endian, Honeywell 316 style */
56 eEndianLittleWord /* Middle-endian, PDP-11 style */
57};

◆ FieldIOType

Enumerator for auto-detection of FieldIO types.

Enumerator
eXML 
eHDF5 

Definition at line 79 of file FieldIO.cpp.

◆ FunctionType

Enumerator
eFunctionTypeExpression 
eFunctionTypeFile 
eFunctionTypeTransientFile 
eSIZE_FunctionType 

Definition at line 92 of file SessionReader.h.

◆ InterpMethod

◆ PointsType

Enumerator
eNoPointsType 
eGaussGaussLegendre 

1D Gauss-Gauss-Legendre quadrature points

eGaussRadauMLegendre 

1D Gauss-Radau-Legendre quadrature points, pinned at x=-1

eGaussRadauPLegendre 

1D Gauss-Radau-Legendre quadrature points, pinned at x=1

eGaussLobattoLegendre 

1D Gauss-Lobatto-Legendre quadrature points

eGaussGaussChebyshev 

1D Gauss-Gauss-Chebyshev quadrature points

eGaussRadauMChebyshev 

1D Gauss-Radau-Chebyshev quadrature points, pinned at x=-1

eGaussRadauPChebyshev 

1D Gauss-Radau-Chebyshev quadrature points, pinned at x=1

eGaussLobattoChebyshev 

1D Gauss-Lobatto-Legendre quadrature points

eGaussRadauMAlpha0Beta1 

Gauss Radau pinned at x=-1,.

beta 

Gauss Radau pinned at x=-1,.

1D Gauss-Kronrod-Legendre quadrature points

beta 

Gauss Radau pinned at x=-1,.

1D Gauss-Kronrod-Legendre quadrature points

beta 

Gauss Radau pinned at x=-1,.

1D Gauss-Kronrod-Legendre quadrature points

beta 

Gauss Radau pinned at x=-1,.

1D Gauss-Kronrod-Legendre quadrature points

eGaussRadauKronrodMLegendre 

1D Gauss-Radau-Kronrod-Legendre quadrature points, pinned at x=-1

eGaussRadauKronrodMAlpha1Beta0 

1D Gauss-Radau-Kronrod-Legendre pinned at x=-1,

eGaussLobattoKronrodLegendre 

1D Lobatto Kronrod quadrature points

ePolyEvenlySpaced 

1D Evenly-spaced points using Lagrange polynomial

eFourierEvenlySpaced 

1D Evenly-spaced points using Fourier Fit

eFourierSingleModeSpaced 

1D Non Evenly-spaced points for Single Mode analysis

eBoundaryLayerPoints 

1D power law distribution for boundary layer points

eBoundaryLayerPointsRev 

1D power law distribution for boundary layer points

eNodalTriElec 

2D Nodal Electrostatic Points on a Triangle

eNodalTriFekete 

2D Nodal Fekete Points on a Triangle

eNodalTriEvenlySpaced 

2D Evenly-spaced points on a Triangle

eNodalTetEvenlySpaced 

3D Evenly-spaced points on a Tetrahedron

eNodalTetElec 

3D Nodal Electrostatic Points on a Tetrahedron

eNodalPrismEvenlySpaced 

3D Evenly-spaced points on a Prism

eNodalPrismElec 

3D electrostatically spaced points on a Prism

eNodalTriSPI 

2D Nodal Symmetric positive internal triangle (Whitherden, Vincent)

eNodalTetSPI 

3D Nodal Symmetric positive internal tet (Whitherden, Vincent)

eNodalPrismSPI 

3D prism SPI

eNodalQuadElec 

2D GLL for quad

eNodalHexElec 

3D GLL for hex

SIZE_PointsType 

Length of enum list.

Definition at line 45 of file PointsType.h.

46{
48 eGaussGaussLegendre, //!< 1D Gauss-Gauss-Legendre quadrature points
49 eGaussRadauMLegendre, //!< 1D Gauss-Radau-Legendre quadrature points,
50 //!< pinned at x=-1
51 eGaussRadauPLegendre, //!< 1D Gauss-Radau-Legendre quadrature points,
52 //!< pinned at x=1
53 eGaussLobattoLegendre, //!< 1D Gauss-Lobatto-Legendre quadrature points
54 eGaussGaussChebyshev, //!< 1D Gauss-Gauss-Chebyshev quadrature points
55 eGaussRadauMChebyshev, //!< 1D Gauss-Radau-Chebyshev quadrature points,
56 //!< pinned at x=-1
57 eGaussRadauPChebyshev, //!< 1D Gauss-Radau-Chebyshev quadrature points,
58 //!< pinned at x=1
59 eGaussLobattoChebyshev, //!< 1D Gauss-Lobatto-Legendre quadrature points
60 eGaussRadauMAlpha0Beta1, //!< Gauss Radau pinned at x=-1, \f$ \alpha = 0,
61 //!< \beta = 1 \f$
62 eGaussRadauMAlpha0Beta2, //!< Gauss Radau pinned at x=-1, \f$ \alpha = 0,
63 //!< \beta = 2 \f$
64 eGaussRadauMAlpha1Beta0, //!< Gauss Radau pinned at x=-1, \f$ \alpha = 1,
65 //!< \beta = 0 \f$
66 eGaussRadauMAlpha2Beta0, //!< Gauss Radau pinned at x=-1, \f$ \alpha = 2,
67 //!< \beta = 0 \f$
68 eGaussKronrodLegendre, //!< 1D Gauss-Kronrod-Legendre quadrature points
69 eGaussRadauKronrodMLegendre, //!< 1D Gauss-Radau-Kronrod-Legendre
70 //!< quadrature points, pinned at x=-1
71 eGaussRadauKronrodMAlpha1Beta0, //!< 1D Gauss-Radau-Kronrod-Legendre pinned
72 //!< at x=-1, \f$ \alpha = 1, \beta = 0
73 //!< \f$
74 eGaussLobattoKronrodLegendre, //!< 1D Lobatto Kronrod quadrature points
75 ePolyEvenlySpaced, //!< 1D Evenly-spaced points using Lagrange polynomial
76 eFourierEvenlySpaced, //!< 1D Evenly-spaced points using Fourier Fit
77 eFourierSingleModeSpaced, //!< 1D Non Evenly-spaced points for Single Mode
78 //!< analysis
79 eBoundaryLayerPoints, //!< 1D power law distribution for boundary layer
80 //!< points
81 eBoundaryLayerPointsRev, //!< 1D power law distribution for boundary layer
82 //!< points
83 eNodalTriElec, //!< 2D Nodal Electrostatic Points on a Triangle
84 eNodalTriFekete, //!< 2D Nodal Fekete Points on a Triangle
85 eNodalTriEvenlySpaced, //!< 2D Evenly-spaced points on a Triangle
86 eNodalTetEvenlySpaced, //!< 3D Evenly-spaced points on a Tetrahedron
87 eNodalTetElec, //!< 3D Nodal Electrostatic Points on a Tetrahedron
88 eNodalPrismEvenlySpaced, //!< 3D Evenly-spaced points on a Prism
89 eNodalPrismElec, //!< 3D electrostatically spaced points on a Prism
90 eNodalTriSPI, //!< 2D Nodal Symmetric positive internal triangle
91 //!< (Whitherden, Vincent)
92 eNodalTetSPI, //!< 3D Nodal Symmetric positive internal tet (Whitherden,
93 //!< Vincent)
94 eNodalPrismSPI, //!< 3D prism SPI
95 eNodalQuadElec, //!< 2D GLL for quad
96 eNodalHexElec, //!< 3D GLL for hex
97 SIZE_PointsType //!< Length of enum list
98};
@ eNodalPrismEvenlySpaced
3D Evenly-spaced points on a Prism
Definition: PointsType.h:88
@ SIZE_PointsType
Length of enum list.
Definition: PointsType.h:97
@ eNodalTriFekete
2D Nodal Fekete Points on a Triangle
Definition: PointsType.h:84
@ eGaussRadauMLegendre
1D Gauss-Radau-Legendre quadrature points, pinned at x=-1
Definition: PointsType.h:49
@ eNodalPrismSPI
3D prism SPI
Definition: PointsType.h:94
@ eBoundaryLayerPoints
1D power law distribution for boundary layer points
Definition: PointsType.h:79
@ eGaussRadauMAlpha0Beta1
Gauss Radau pinned at x=-1,.
Definition: PointsType.h:60
@ eGaussRadauKronrodMLegendre
1D Gauss-Radau-Kronrod-Legendre quadrature points, pinned at x=-1
Definition: PointsType.h:69
@ eGaussLobattoChebyshev
1D Gauss-Lobatto-Legendre quadrature points
Definition: PointsType.h:59
@ eFourierEvenlySpaced
1D Evenly-spaced points using Fourier Fit
Definition: PointsType.h:76
@ eNodalTriElec
2D Nodal Electrostatic Points on a Triangle
Definition: PointsType.h:83
@ eGaussRadauPChebyshev
1D Gauss-Radau-Chebyshev quadrature points, pinned at x=1
Definition: PointsType.h:57
@ eNodalTriEvenlySpaced
2D Evenly-spaced points on a Triangle
Definition: PointsType.h:85
@ eNodalHexElec
3D GLL for hex
Definition: PointsType.h:96
@ eGaussRadauMChebyshev
1D Gauss-Radau-Chebyshev quadrature points, pinned at x=-1
Definition: PointsType.h:55
@ eGaussRadauKronrodMAlpha1Beta0
1D Gauss-Radau-Kronrod-Legendre pinned at x=-1,
Definition: PointsType.h:71
@ eGaussLobattoLegendre
1D Gauss-Lobatto-Legendre quadrature points
Definition: PointsType.h:53
@ eNodalQuadElec
2D GLL for quad
Definition: PointsType.h:95
@ eNodalTetEvenlySpaced
3D Evenly-spaced points on a Tetrahedron
Definition: PointsType.h:86
@ eGaussGaussChebyshev
1D Gauss-Gauss-Chebyshev quadrature points
Definition: PointsType.h:54
@ eNodalTetSPI
3D Nodal Symmetric positive internal tet (Whitherden, Vincent)
Definition: PointsType.h:92
@ eBoundaryLayerPointsRev
1D power law distribution for boundary layer points
Definition: PointsType.h:81
@ ePolyEvenlySpaced
1D Evenly-spaced points using Lagrange polynomial
Definition: PointsType.h:75
@ eGaussLobattoKronrodLegendre
1D Lobatto Kronrod quadrature points
Definition: PointsType.h:74
@ eGaussGaussLegendre
1D Gauss-Gauss-Legendre quadrature points
Definition: PointsType.h:48
@ eFourierSingleModeSpaced
1D Non Evenly-spaced points for Single Mode analysis
Definition: PointsType.h:77
@ eNodalPrismElec
3D electrostatically spaced points on a Prism
Definition: PointsType.h:89
@ eNodalTetElec
3D Nodal Electrostatic Points on a Tetrahedron
Definition: PointsType.h:87
@ eGaussRadauPLegendre
1D Gauss-Radau-Legendre quadrature points, pinned at x=1
Definition: PointsType.h:51
@ eNodalTriSPI
2D Nodal Symmetric positive internal triangle (Whitherden, Vincent)
Definition: PointsType.h:90

◆ PtsInfo

Enumerator
eIsEquiSpacedData 
ePtsPerElmtEdge 

Definition at line 64 of file PtsField.h.

◆ PtsType

Enumerator
ePtsFile 
ePtsLine 
ePtsPlane 
ePtsBox 
ePtsSegBlock 
ePtsTriBlock 
ePtsTetBlock 

Definition at line 53 of file PtsField.h.

◆ ReduceOperator

Type of operation to perform in AllReduce.

Enumerator
ReduceSum 
ReduceMax 
ReduceMin 
SIZE_ReduceOperator 

Definition at line 66 of file Comm.h.

◆ ShapeType

Enumerator
eNoShapeType 
ePoint 
eSegment 
eTriangle 
eQuadrilateral 
eTetrahedron 
ePyramid 
ePrism 
eHexahedron 
SIZE_ShapeType 
Point 
Seg 
Tri 
Quad 
Tet 
Pyr 
Prism 
Hex 

Definition at line 55 of file ShapeType.hpp.

56{
58 ePoint,
64 ePrism,
67
68 // These are the short names used for MatrixFree operators
69 Point = ePoint,
70 Seg = eSegment,
71 Tri = eTriangle,
74 Pyr = ePyramid,
75 Prism = ePrism,
77};

◆ TimeIntegrationSchemeType

Enumerator
eNoTimeIntegrationSchemeType 
eExplicit 

Formally explicit scheme.

eDiagonallyImplicit 

Diagonally implicit scheme (e.g. the DIRK schemes)

eIMEX 

Implicit Explicit General Linear Method.

eImplicit 

Fully implicit scheme.

eExponential 

Exponential scheme.

eFractionalInTime 

Fractional in Time scheme.

Definition at line 126 of file TimeIntegrationTypes.hpp.

127{
129 eExplicit, //!< Formally explicit scheme
130 eDiagonallyImplicit, //!< Diagonally implicit scheme (e.g. the DIRK schemes)
131 eIMEX, //!< Implicit Explicit General Linear Method
132 eImplicit, //!< Fully implicit scheme
133 eExponential, //!< Exponential scheme
134 eFractionalInTime, //!< Fractional in Time scheme
135};
@ eFractionalInTime
Fractional in Time scheme.
@ eImplicit
Fully implicit scheme.
@ eExplicit
Formally explicit scheme.
@ eExponential
Exponential scheme.
@ eDiagonallyImplicit
Diagonally implicit scheme (e.g. the DIRK schemes)
@ eIMEX
Implicit Explicit General Linear Method.

◆ TranspositionDir

Enumerator
eXYtoZ 
eZtoXY 
eXtoYZ 
eYZtoX 
eYZtoZY 
eZYtoYZ 
eXtoY 
eYtoZ 
eZtoX 
eNoTrans 

Definition at line 54 of file Transposition.h.

Function Documentation

◆ ang()

static NekDouble Nektar::LibUtilities::ang ( NekDouble  x,
NekDouble  y 
)
static

◆ awgn()

NekDouble Nektar::LibUtilities::awgn ( NekDouble  sigma)

Definition at line 78 of file Interpreter/Interpreter.cpp.

79{
80 boost::mt19937 rng;
81 boost::variate_generator<boost::mt19937 &, boost::normal_distribution<>>
82 _normal(rng, boost::normal_distribution<>(0, sigma));
83 return _normal();
84}

Referenced by Nektar::LibUtilities::functions::functions().

◆ BasisManager()

BasisManagerT & Nektar::LibUtilities::BasisManager ( void  )

◆ checked_cast()

template<class To , class Ti , class = typename std::enable_if< std::is_floating_point< typename std::remove_reference<Ti>::type>::value && std::is_integral< typename std::remove_reference<To>::type>::value>::type>
To Nektar::LibUtilities::checked_cast ( const Ti  param)
inline

checked cast from float types only to int types

Definition at line 53 of file CheckedCast.hpp.

54{
55 Ti min = std::numeric_limits<To>::min();
56 Ti max = std::numeric_limits<To>::max();
57 ASSERTL0(param >= min, "Casting would narrow (underflow).");
58 ASSERTL0(param <= max, "Casting would narrow (overflow).");
59 return static_cast<To>(param);
60}
#define ASSERTL0(condition, msg)
Definition: ErrorUtil.hpp:215

References ASSERTL0.

◆ CommDataTypeGetSize()

int Nektar::LibUtilities::CommDataTypeGetSize ( CommDataType  dt)

Return the size in bytes of a data type dt.

Parameters
dtData type
Returns
Size of dt in bytes.

Definition at line 54 of file CommDataType.cpp.

55{
56#ifdef NEKTAR_USE_MPI
57 int size;
58 MPI_Type_size(dt, &size);
59 return size;
60#elif NEKTAR_USING_PETSC
61 if (dt == MPI_CHAR)
62 return sizeof(char);
63 else if (dt == MPI_INT)
64 return sizeof(int);
65 else if (dt == MPI_UNSIGNED)
66 return sizeof(unsigned);
67 else if (dt == MPI_LONG)
68 return sizeof(long);
69 else if (dt == MPI_UNSIGNED_LONG)
70 return sizeof(unsigned long);
71 else if (dt == MPI_LONG_LONG)
72 return sizeof(long long);
73 else if (dt == MPI_UNSIGNED_LONG_LONG)
74 return sizeof(unsigned long long);
75 else if (dt == MPI_FLOAT)
76 return sizeof(float);
77 else if (dt == MPI_DOUBLE)
78 return sizeof(double);
79 else if (dt == MPI_LONG_DOUBLE)
80 return sizeof(long double);
81 return sizeof(int);
82#else
83 switch (dt)
84 {
85 case MPI_CHAR:
86 return sizeof(char);
87 case MPI_INT:
88 return sizeof(int);
89 case MPI_UNSIGNED:
90 return sizeof(unsigned);
91 case MPI_LONG:
92 return sizeof(long);
94 return sizeof(unsigned long);
95 case MPI_LONG_LONG:
96 return sizeof(long long);
98 return sizeof(unsigned long long);
99 case MPI_FLOAT:
100 return sizeof(float);
101 case MPI_DOUBLE:
102 return sizeof(double);
103 case MPI_LONG_DOUBLE:
104 return sizeof(long double);
105 default:
106 ASSERTL0(false, "Unrecognised datatype!");
107 }
108 return sizeof(int);
109#endif
110}
#define MPI_UNSIGNED_LONG_LONG
Definition: CommDataType.h:97
#define MPI_INT
Definition: CommDataType.h:77
#define MPI_FLOAT
Definition: CommDataType.h:101
#define MPI_UNSIGNED_LONG
Definition: CommDataType.h:89
#define MPI_DOUBLE
Definition: CommDataType.h:105
#define MPI_LONG
Definition: CommDataType.h:85
#define MPI_CHAR
Definition: CommDataType.h:73
#define MPI_UNSIGNED
Definition: CommDataType.h:81
#define MPI_LONG_LONG
Definition: CommDataType.h:93
#define MPI_LONG_DOUBLE
Definition: CommDataType.h:109

References ASSERTL0, MPI_CHAR, MPI_DOUBLE, MPI_FLOAT, MPI_INT, MPI_LONG, MPI_LONG_DOUBLE, MPI_LONG_LONG, MPI_UNSIGNED, MPI_UNSIGNED_LONG, and MPI_UNSIGNED_LONG_LONG.

Referenced by Nektar::LibUtilities::CommSerial::v_Gather(), and Nektar::LibUtilities::CommSerial::v_Scatter().

◆ Endianness()

EndianType Nektar::LibUtilities::Endianness ( void  )

run time determination of endianness, returning an EndianType

Definition at line 67 of file CompressData.cpp.

68{
69 union
70 {
71 std::uint32_t value;
72 std::uint8_t data[sizeof(std::uint32_t)];
73 } number;
74
75 number.data[0] = 0x00;
76 number.data[1] = 0x01;
77 number.data[2] = 0x02;
78 number.data[3] = 0x03;
79
80 switch (number.value)
81 {
82 case UINT32_C(0x00010203):
83 return eEndianBig;
84 case UINT32_C(0x03020100):
85 return eEndianLittle;
86 case UINT32_C(0x02030001):
87 return eEndianBigWord;
88 case UINT32_C(0x01000302):
89 return eEndianLittleWord;
90 default:
91 return eEndianUnknown;
92 }
93}

References eEndianBig, eEndianBigWord, eEndianLittle, eEndianLittleWord, and eEndianUnknown.

Referenced by Nektar::LibUtilities::CompressData::GetCompressString(), and Nektar::FieldUtils::InputSemtex::v_Process().

◆ FACTORYREGISTER() [1/52]

Nektar::LibUtilities::FACTORYREGISTER ( AdamsBashforth  )

◆ FACTORYREGISTER() [2/52]

Nektar::LibUtilities::FACTORYREGISTER ( AdamsBashforthOrder1  )

◆ FACTORYREGISTER() [3/52]

Nektar::LibUtilities::FACTORYREGISTER ( AdamsBashforthOrder2  )

◆ FACTORYREGISTER() [4/52]

Nektar::LibUtilities::FACTORYREGISTER ( AdamsBashforthOrder3  )

◆ FACTORYREGISTER() [5/52]

Nektar::LibUtilities::FACTORYREGISTER ( AdamsBashforthOrder4  )

◆ FACTORYREGISTER() [6/52]

Nektar::LibUtilities::FACTORYREGISTER ( AdamsMoulton  )

◆ FACTORYREGISTER() [7/52]

Nektar::LibUtilities::FACTORYREGISTER ( AdamsMoultonOrder1  )

◆ FACTORYREGISTER() [8/52]

Nektar::LibUtilities::FACTORYREGISTER ( AdamsMoultonOrder2  )

◆ FACTORYREGISTER() [9/52]

Nektar::LibUtilities::FACTORYREGISTER ( AdamsMoultonOrder3  )

◆ FACTORYREGISTER() [10/52]

Nektar::LibUtilities::FACTORYREGISTER ( AdamsMoultonOrder4  )

◆ FACTORYREGISTER() [11/52]

Nektar::LibUtilities::FACTORYREGISTER ( BackwardEuler  )

◆ FACTORYREGISTER() [12/52]

Nektar::LibUtilities::FACTORYREGISTER ( BDFImplicit  )

◆ FACTORYREGISTER() [13/52]

Nektar::LibUtilities::FACTORYREGISTER ( BDFImplicitOrder1  )

◆ FACTORYREGISTER() [14/52]

Nektar::LibUtilities::FACTORYREGISTER ( BDFImplicitOrder2  )

◆ FACTORYREGISTER() [15/52]

Nektar::LibUtilities::FACTORYREGISTER ( BDFImplicitOrder3  )

◆ FACTORYREGISTER() [16/52]

Nektar::LibUtilities::FACTORYREGISTER ( BDFImplicitOrder4  )

◆ FACTORYREGISTER() [17/52]

Nektar::LibUtilities::FACTORYREGISTER ( ClassicalRungeKutta4  )

◆ FACTORYREGISTER() [18/52]

Nektar::LibUtilities::FACTORYREGISTER ( CNAB  )

◆ FACTORYREGISTER() [19/52]

Nektar::LibUtilities::FACTORYREGISTER ( DIRK  )

◆ FACTORYREGISTER() [20/52]

Nektar::LibUtilities::FACTORYREGISTER ( DIRKOrder1  )

◆ FACTORYREGISTER() [21/52]

Nektar::LibUtilities::FACTORYREGISTER ( DIRKOrder2  )

◆ FACTORYREGISTER() [22/52]

Nektar::LibUtilities::FACTORYREGISTER ( DIRKOrder3  )

◆ FACTORYREGISTER() [23/52]

Nektar::LibUtilities::FACTORYREGISTER ( DIRKOrder3_ES5  )

◆ FACTORYREGISTER() [24/52]

Nektar::LibUtilities::FACTORYREGISTER ( DIRKOrder4_ES6  )

◆ FACTORYREGISTER() [25/52]

Nektar::LibUtilities::FACTORYREGISTER ( Euler  )

◆ FACTORYREGISTER() [26/52]

Nektar::LibUtilities::FACTORYREGISTER ( EulerExponential  )

◆ FACTORYREGISTER() [27/52]

Nektar::LibUtilities::FACTORYREGISTER ( ForwardEuler  )

◆ FACTORYREGISTER() [28/52]

Nektar::LibUtilities::FACTORYREGISTER ( IMEX  )

◆ FACTORYREGISTER() [29/52]

Nektar::LibUtilities::FACTORYREGISTER ( IMEXdirk  )

◆ FACTORYREGISTER() [30/52]

Nektar::LibUtilities::FACTORYREGISTER ( IMEXdirk_1_1_1  )

◆ FACTORYREGISTER() [31/52]

Nektar::LibUtilities::FACTORYREGISTER ( IMEXdirk_1_2_1  )

◆ FACTORYREGISTER() [32/52]

Nektar::LibUtilities::FACTORYREGISTER ( IMEXdirk_1_2_2  )

◆ FACTORYREGISTER() [33/52]

Nektar::LibUtilities::FACTORYREGISTER ( IMEXdirk_2_2_2  )

◆ FACTORYREGISTER() [34/52]

Nektar::LibUtilities::FACTORYREGISTER ( IMEXdirk_2_3_2  )

◆ FACTORYREGISTER() [35/52]

Nektar::LibUtilities::FACTORYREGISTER ( IMEXdirk_2_3_3  )

◆ FACTORYREGISTER() [36/52]

Nektar::LibUtilities::FACTORYREGISTER ( IMEXdirk_3_4_3  )

◆ FACTORYREGISTER() [37/52]

Nektar::LibUtilities::FACTORYREGISTER ( IMEXdirk_4_4_3  )

◆ FACTORYREGISTER() [38/52]

Nektar::LibUtilities::FACTORYREGISTER ( IMEXGear  )

◆ FACTORYREGISTER() [39/52]

Nektar::LibUtilities::FACTORYREGISTER ( IMEXOrder1  )

◆ FACTORYREGISTER() [40/52]

Nektar::LibUtilities::FACTORYREGISTER ( IMEXOrder2  )

◆ FACTORYREGISTER() [41/52]

Nektar::LibUtilities::FACTORYREGISTER ( IMEXOrder3  )

◆ FACTORYREGISTER() [42/52]

Nektar::LibUtilities::FACTORYREGISTER ( IMEXOrder4  )

◆ FACTORYREGISTER() [43/52]

Nektar::LibUtilities::FACTORYREGISTER ( MCNAB  )

◆ FACTORYREGISTER() [44/52]

Nektar::LibUtilities::FACTORYREGISTER ( RungeKutta  )

◆ FACTORYREGISTER() [45/52]

Nektar::LibUtilities::FACTORYREGISTER ( RungeKutta1  )

◆ FACTORYREGISTER() [46/52]

Nektar::LibUtilities::FACTORYREGISTER ( RungeKutta2  )

◆ FACTORYREGISTER() [47/52]

Nektar::LibUtilities::FACTORYREGISTER ( RungeKutta2_ImprovedEuler  )

◆ FACTORYREGISTER() [48/52]

Nektar::LibUtilities::FACTORYREGISTER ( RungeKutta2_SSP  )

◆ FACTORYREGISTER() [49/52]

Nektar::LibUtilities::FACTORYREGISTER ( RungeKutta3  )

◆ FACTORYREGISTER() [50/52]

Nektar::LibUtilities::FACTORYREGISTER ( RungeKutta3_SSP  )

◆ FACTORYREGISTER() [51/52]

Nektar::LibUtilities::FACTORYREGISTER ( RungeKutta4  )

◆ FACTORYREGISTER() [52/52]

Nektar::LibUtilities::FACTORYREGISTER ( RungeKutta5  )

◆ GetChildElementOrThrow()

TiXmlElement * Nektar::LibUtilities::GetChildElementOrThrow ( const std::string &  filename,
std::string  elementName,
const TiXmlHandle &  docHandle 
)

Helper function that gets a pointer to a child element, or throws an exception if no such element exists

Definition at line 2635 of file BasicUtils/SessionReader.cpp.

2638{
2639 TiXmlElement *element = docHandle.FirstChildElement(elementName).Element();
2640 if (element)
2641 {
2642 return element;
2643 }
2644 else
2645 {
2646 NEKERROR(ErrorUtil::efatal, "Unable to find '" + elementName +
2647 "' XML node in " + filename);
2648 return nullptr; // Never reached; purely to keep gcc happy...
2649 }
2650}
#define NEKERROR(type, msg)
Assert Level 0 – Fundamental assert which is used whether in FULLDEBUG, DEBUG or OPT compilation mode...
Definition: ErrorUtil.hpp:209

References Nektar::ErrorUtil::efatal, and NEKERROR.

Referenced by Nektar::LibUtilities::SessionReader::MergeDoc().

◆ GetCommFactory()

CommFactory & Nektar::LibUtilities::GetCommFactory ( )

◆ GetFieldIOFactory()

FieldIOFactory & Nektar::LibUtilities::GetFieldIOFactory ( )

◆ GetNekLinSysIterFactory()

NekLinSysIterFactory & Nektar::LibUtilities::GetNekLinSysIterFactory ( )

◆ GetNekNonlinSysFactory()

NekNonlinSysFactory & Nektar::LibUtilities::GetNekNonlinSysFactory ( )

Definition at line 49 of file NekNonlinSys.cpp.

50{
51 static NekNonlinSysFactory instance;
52 return instance;
53}

Referenced by Nektar::CFSImplicit::InitialiseNonlinSysSolver().

◆ GetNektarFFTFactory()

NektarFFTFactory & Nektar::LibUtilities::GetNektarFFTFactory ( )

◆ GetNumberOfCoefficients() [1/2]

int Nektar::LibUtilities::GetNumberOfCoefficients ( ShapeType  shape,
int  na,
int  nb = 0,
int  nc = 0 
)
inline

Definition at line 350 of file ShapeType.hpp.

352{
353 int returnval = 0;
354 switch (shape)
355 {
356 case eSegment:
357 returnval = na;
358 break;
359 case eTriangle:
360 returnval = StdTriData::getNumberOfCoefficients(na, nb);
361 break;
362 case eQuadrilateral:
363 returnval = na * nb;
364 break;
365 case eTetrahedron:
366 returnval = StdTetData::getNumberOfCoefficients(na, nb, nc);
367 break;
368 case ePyramid:
369 returnval = StdPyrData::getNumberOfCoefficients(na, nb, nc);
370 break;
371 case ePrism:
372 returnval = StdPrismData::getNumberOfCoefficients(na, nb, nc);
373 break;
374 case eHexahedron:
375 returnval = na * nb * nc;
376 break;
377 default:
378 NEKERROR(ErrorUtil::efatal, "Unknown Shape Type");
379 break;
380 }
381
382 return returnval;
383}
int getNumberOfCoefficients(int Na, int Nb, int Nc)
Definition: ShapeType.hpp:284

References Nektar::ErrorUtil::efatal, eHexahedron, ePrism, ePyramid, eQuadrilateral, eSegment, eTetrahedron, eTriangle, Nektar::LibUtilities::StdTriData::getNumberOfCoefficients(), Nektar::LibUtilities::StdTetData::getNumberOfCoefficients(), Nektar::LibUtilities::StdPyrData::getNumberOfCoefficients(), Nektar::LibUtilities::StdPrismData::getNumberOfCoefficients(), and NEKERROR.

◆ GetNumberOfCoefficients() [2/2]

int Nektar::LibUtilities::GetNumberOfCoefficients ( ShapeType  shape,
std::vector< unsigned int > &  modes,
int  offset = 0 
)
inline

Definition at line 310 of file ShapeType.hpp.

313{
314 int returnval = 0;
315 switch (shape)
316 {
317 case eSegment:
318 returnval = modes[offset];
319 break;
320 case eTriangle:
321 returnval = StdTriData::getNumberOfCoefficients(modes[offset],
322 modes[offset + 1]);
323 break;
324 case eQuadrilateral:
325 returnval = modes[offset] * modes[offset + 1];
326 break;
327 case eTetrahedron:
329 modes[offset], modes[offset + 1], modes[offset + 2]);
330 break;
331 case ePyramid:
333 modes[offset], modes[offset + 1], modes[offset + 2]);
334 break;
335 case ePrism:
337 modes[offset], modes[offset + 1], modes[offset + 2]);
338 break;
339 case eHexahedron:
340 returnval = modes[offset] * modes[offset + 1] * modes[offset + 2];
341 break;
342 default:
343 NEKERROR(ErrorUtil::efatal, "Unknown Shape Type");
344 break;
345 }
346
347 return returnval;
348}

References Nektar::ErrorUtil::efatal, eHexahedron, ePrism, ePyramid, eQuadrilateral, eSegment, eTetrahedron, eTriangle, Nektar::LibUtilities::StdTriData::getNumberOfCoefficients(), Nektar::LibUtilities::StdTetData::getNumberOfCoefficients(), Nektar::LibUtilities::StdPyrData::getNumberOfCoefficients(), Nektar::LibUtilities::StdPrismData::getNumberOfCoefficients(), CG_Iterations::modes, and NEKERROR.

Referenced by Nektar::StdRegions::StdExpansion::PhysInterpToSimplexEquiSpaced(), Nektar::MultiRegions::ExpList::v_ExtractDataToCoeffs(), Nektar::MultiRegions::ExpListHomogeneous1D::v_ExtractDataToCoeffs(), and Nektar::FieldUtils::ProcessHalfModeToFourier::v_Process().

◆ GetTimeIntegrationSchemeFactory()

LUE TimeIntegrationSchemeFactory & Nektar::LibUtilities::GetTimeIntegrationSchemeFactory ( )

◆ Import()

void Nektar::LibUtilities::Import ( const std::string &  infilename,
std::vector< FieldDefinitionsSharedPtr > &  fielddefs,
std::vector< std::vector< NekDouble > > &  fielddata,
FieldMetaDataMap fieldinfomap,
const Array< OneD, int > &  ElementIDs 
)

This function allows for data to be imported from an FLD file when a session and/or communicator is not instantiated. Typically used in utilities which only operate in serial.

Parameters
infilenameInput filename (or directory if parallel format)
fielddefsOn return contains field definitions as read from the input.
fielddataOn return, contains binary field data that stores the input corresponding to fielddefs.
fieldinfoOn returnm, contains the associated field metadata map.
ElementIDsElement IDs that lie on this processor, which can be optionally supplied to avoid reading the entire file on each processor.

Definition at line 290 of file FieldIO.cpp.

295{
296#ifdef NEKTAR_USE_MPI
297 int size;
298 int init;
299 MPI_Initialized(&init);
300
301 // If MPI has been initialised we can check the number of processes
302 // and, if > 1, tell the user he should not be running this
303 // function in parallel. If it is not initialised, we do not
304 // initialise it here, and assume the user knows what they are
305 // doing.
306 if (init)
307 {
308 MPI_Comm_size(MPI_COMM_WORLD, &size);
309 ASSERTL0(size == 1,
310 "This static function is not available in parallel. Please"
311 "instantiate a FieldIO object for parallel use.");
312 }
313#endif
314 CommSharedPtr c = GetCommFactory().CreateInstance("Serial", 0, 0);
315 const std::string iofmt = FieldIO::GetFileType(infilename, c);
317 f->Import(infilename, fielddefs, fielddata, fieldinfomap, ElementIDs);
318}
tBaseSharedPtr CreateInstance(tKey idKey, tParam... args)
Create an instance of the class referred to by idKey.
Definition: NekFactory.hpp:144
std::shared_ptr< FieldIO > FieldIOSharedPtr
Definition: FieldIO.h:327
FieldIOFactory & GetFieldIOFactory()
Returns the FieldIO factory.
Definition: FieldIO.cpp:72
CommFactory & GetCommFactory()
std::shared_ptr< Comm > CommSharedPtr
Pointer to a Communicator object.
Definition: Comm.h:57

References ASSERTL0, Nektar::LibUtilities::NekFactory< tKey, tBase, tParam >::CreateInstance(), GetCommFactory(), GetFieldIOFactory(), and Nektar::LibUtilities::FieldIO::GetFileType().

Referenced by GetStreakLocation(), Nektar::SolverUtils::EquationSystem::ImportFldToMultiDomains(), and main().

◆ Interp1D() [1/4]

void Nektar::LibUtilities::Interp1D ( const BasisKey fbasis0,
const Array< OneD, const NekDouble > &  from,
const BasisKey tbasis0,
Array< OneD, NekDouble > &  to 
)

this function interpolates a 1D function \(f\) evaluated at the quadrature points of the basis fbasis0 to the function values at the quadrature points of the basis tbasis0

Given a function \( f\) evaluated at the Q quadrature points of the basis fbasis0, this routine calculates, using (Q-1)th order polynomial interpolation, the function values at the Q2 quadrature points of the basis tbasis0.

Parameters
fbasis0the basis at which's quadrature points the function is given
fromthe array containg the function \( f\) evaluated at the quadrature points of fbasis0
tbasis0the basis to which's quadrature points the function should be interpolated
tothe array containg the function \( f\) evaluated at the quadrature points of tbasis0 (output of the function)

Definition at line 49 of file Interp.cpp.

51{
52 Interp1D(fbasis0.GetPointsKey(), from, tbasis0.GetPointsKey(), to);
53}
PointsKey GetPointsKey() const
Return distribution of points.
Definition: Basis.h:139
void Interp1D(const PointsKey &fpoints0, const NekDouble *from, const PointsKey &tpoints0, NekDouble *to)
Definition: Interp.cpp:82

References Nektar::LibUtilities::BasisKey::GetPointsKey(), and Interp1D().

Referenced by Nektar::MultiRegions::ExpList::GetElmtNormalLength(), Nektar::SpatialDomains::GeomFactors::Interp(), Interp1D(), Nektar::LocalRegions::NodalTriExp::v_ComputeTraceNormal(), Nektar::LocalRegions::QuadExp::v_ComputeTraceNormal(), Nektar::LocalRegions::TriExp::v_ComputeTraceNormal(), Nektar::LocalRegions::SegExp::v_ExtractDataToCoeffs(), Nektar::LocalRegions::TriExp::v_FwdTransBndConstrained(), Nektar::LocalRegions::Expansion2D::v_GenMatrix(), Nektar::LocalRegions::Expansion::v_GetCoords(), Nektar::MultiRegions::ExpList::v_GetNormals(), Nektar::LocalRegions::QuadExp::v_GetTracePhysVals(), and Nektar::LocalRegions::TriExp::v_GetTracePhysVals().

◆ Interp1D() [2/4]

void Nektar::LibUtilities::Interp1D ( const BasisKey fbasis0,
const NekDouble from,
const BasisKey tbasis0,
NekDouble to 
)

Definition at line 76 of file Interp.cpp.

78{
79 Interp1D(fbasis0.GetPointsKey(), from, tbasis0.GetPointsKey(), to);
80}

References Nektar::LibUtilities::BasisKey::GetPointsKey(), and Interp1D().

◆ Interp1D() [3/4]

void Nektar::LibUtilities::Interp1D ( const PointsKey fpoints0,
const Array< OneD, const NekDouble > &  from,
const PointsKey tpoints0,
Array< OneD, NekDouble > &  to 
)

Definition at line 55 of file Interp.cpp.

58{
59 if (fpoints0 == tpoints0) // check to see if the same
60 {
61 Vmath::Vcopy(fpoints0.GetNumPoints(), from, 1, to, 1);
62 }
63 else // interpolate
64 {
66
67 I0 = PointsManager()[fpoints0]->GetI(tpoints0);
68
69 NekVector<NekDouble> in(fpoints0.GetNumPoints(), from, eWrapper);
70 NekVector<NekDouble> out(tpoints0.GetNumPoints(), to, eWrapper);
71
72 out = (*I0) * in;
73 }
74}
size_t GetNumPoints() const
Definition: Points.h:90
PointsManagerT & PointsManager(void)
std::shared_ptr< DNekMat > DNekMatSharedPtr
Definition: NekTypeDefs.hpp:75
void Vcopy(int n, const T *x, const int incx, T *y, const int incy)
Definition: Vmath.cpp:1191

References Nektar::eWrapper, Nektar::LibUtilities::PointsKey::GetNumPoints(), PointsManager(), and Vmath::Vcopy().

◆ Interp1D() [4/4]

void Nektar::LibUtilities::Interp1D ( const PointsKey fpoints0,
const NekDouble from,
const PointsKey tpoints0,
NekDouble to 
)

Definition at line 82 of file Interp.cpp.

84{
85 if (fpoints0 == tpoints0) // check to see if the same
86 {
87 Vmath::Vcopy(fpoints0.GetNumPoints(), from, 1, to, 1);
88 }
89 else // interpolate
90 {
91
93
94 I0 = PointsManager()[fpoints0]->GetI(tpoints0);
95
96 Blas::Dgemv('N', tpoints0.GetNumPoints(), fpoints0.GetNumPoints(), 1.0,
97 I0->GetPtr().get(), tpoints0.GetNumPoints(), from, 1, 0.0,
98 to, 1);
99 }
100}
static void Dgemv(const char &trans, const int &m, const int &n, const double &alpha, const double *a, const int &lda, const double *x, const int &incx, const double &beta, double *y, const int &incy)
BLAS level 2: Matrix vector multiply y = alpha A x plus beta y where A[m x n].
Definition: Blas.hpp:213

References Blas::Dgemv(), Nektar::LibUtilities::PointsKey::GetNumPoints(), PointsManager(), and Vmath::Vcopy().

◆ Interp2D() [1/3]

void Nektar::LibUtilities::Interp2D ( const BasisKey fbasis0,
const BasisKey fbasis1,
const Array< OneD, const NekDouble > &  from,
const BasisKey tbasis0,
const BasisKey tbasis1,
Array< OneD, NekDouble > &  to 
)

this function interpolates a 2D function \(f\) evaluated at the quadrature points of the 2D basis, constructed by fbasis0 and fbasis1, to the function values at the quadrature points of the 2D basis, constructed by tbasis0 and tbasis1

Given a function \( f\) evaluated at the Q quadrature points of the first expansion basis, this routine calculates, using (Q-1)th order polynomial interpolation, the function values at the Q2 quadrature points of the second basis.

Parameters
fbasis0the basis at which's quadrature points the function is given
fromthe array containg the function \( f\) evaluated at the quadrature points of fbasis0
tbasis0the basis to which's quadrature points the function should be interpolated
tothe array containg the function \( f\) evaluated at the quadrature points of tbasis0 (output of the function)

Definition at line 103 of file Interp.cpp.

106{
107 Interp2D(fbasis0.GetPointsKey(), fbasis1.GetPointsKey(), from.data(),
108 tbasis0.GetPointsKey(), tbasis1.GetPointsKey(), to.data());
109}
void Interp2D(const PointsKey &fpoints0, const PointsKey &fpoints1, const NekDouble *from, const PointsKey &tpoints0, const PointsKey &tpoints1, NekDouble *to)
Definition: Interp.cpp:119

References Nektar::LibUtilities::BasisKey::GetPointsKey(), and Interp2D().

Referenced by Nektar::FieldUtils::ProcessEquiSpacedOutput::GenOrthoModes(), Nektar::MultiRegions::ExpList::GetElmtNormalLength(), Nektar::FieldUtils::ProcessQualityMetric::GetQ(), Nektar::SpatialDomains::GeomFactors::Interp(), Interp2D(), Nektar::GlobalMapping::UpdateGeometry(), Nektar::LocalRegions::HexExp::v_ComputeTraceNormal(), Nektar::LocalRegions::PrismExp::v_ComputeTraceNormal(), Nektar::LocalRegions::PyrExp::v_ComputeTraceNormal(), Nektar::LocalRegions::TetExp::v_ComputeTraceNormal(), Nektar::LocalRegions::QuadExp::v_ExtractDataToCoeffs(), Nektar::SpatialDomains::QuadGeom::v_FillGeom(), Nektar::SpatialDomains::TriGeom::v_FillGeom(), Nektar::LocalRegions::Expansion3D::v_GenMatrix(), Nektar::LocalRegions::Expansion::v_GetCoords(), Nektar::MultiRegions::ExpList::v_GetNormals(), Nektar::LocalRegions::Expansion3D::v_GetTracePhysVals(), and Nektar::MultiRegions::ExpList::v_PhysInterp1DScaled().

◆ Interp2D() [2/3]

void Nektar::LibUtilities::Interp2D ( const PointsKey fpoints0,
const PointsKey fpoints1,
const Array< OneD, const NekDouble > &  from,
const PointsKey tpoints0,
const PointsKey tpoints1,
Array< OneD, NekDouble > &  to 
)

Definition at line 111 of file Interp.cpp.

115{
116 Interp2D(fpoints0, fpoints1, from.data(), tpoints0, tpoints1, to.data());
117}

References Interp2D().

◆ Interp2D() [3/3]

void Nektar::LibUtilities::Interp2D ( const PointsKey fpoints0,
const PointsKey fpoints1,
const NekDouble from,
const PointsKey tpoints0,
const PointsKey tpoints1,
NekDouble to 
)

Definition at line 119 of file Interp.cpp.

122{
123 // default interpolation
124 if ((fpoints0 == tpoints0) && (fpoints1 == tpoints1))
125 {
126 Vmath::Vcopy(tpoints0.GetNumPoints() * tpoints1.GetNumPoints(), from, 1,
127 to, 1);
128 return;
129 }
130
131 DNekMatSharedPtr I0, I1;
132 Array<OneD, NekDouble> wsp(tpoints1.GetNumPoints() *
133 fpoints0.GetNumPoints()); // fnp0*tnp1
134
135 size_t fnp0 = fpoints0.GetNumPoints();
136 size_t fnp1 = fpoints1.GetNumPoints();
137 size_t tnp0 = tpoints0.GetNumPoints();
138 size_t tnp1 = tpoints1.GetNumPoints();
139
140 if (fpoints1 == tpoints1)
141 {
142 Vmath::Vcopy(fnp0 * tnp1, from, 1, wsp.get(), 1);
143 }
144 else
145 {
146 I1 = PointsManager()[fpoints1]->GetI(tpoints1);
147 Blas::Dgemm('N', 'T', fnp0, tnp1, fnp1, 1.0, from, fnp0,
148 I1->GetPtr().get(), tnp1, 0.0, wsp.get(), fnp0);
149 }
150
151 if (fpoints0 == tpoints0)
152 {
153 Vmath::Vcopy(tnp0 * tnp1, wsp.get(), 1, to, 1);
154 }
155 else
156 {
157 I0 = PointsManager()[fpoints0]->GetI(tpoints0);
158 Blas::Dgemm('N', 'N', tnp0, tnp1, fnp0, 1.0, I0->GetPtr().get(), tnp0,
159 wsp.get(), fnp0, 0.0, to, tnp0);
160 }
161}
static void Dgemm(const char &transa, const char &transb, const int &m, const int &n, const int &k, const double &alpha, const double *a, const int &lda, const double *b, const int &ldb, const double &beta, double *c, const int &ldc)
BLAS level 3: Matrix-matrix multiply C = A x B where op(A)[m x k], op(B)[k x n], C[m x n] DGEMM perfo...
Definition: Blas.hpp:385

References Blas::Dgemm(), Nektar::LibUtilities::PointsKey::GetNumPoints(), PointsManager(), and Vmath::Vcopy().

◆ Interp3D() [1/3]

void Nektar::LibUtilities::Interp3D ( const BasisKey fbasis0,
const BasisKey fbasis1,
const BasisKey fbasis2,
const Array< OneD, const NekDouble > &  from,
const BasisKey tbasis0,
const BasisKey tbasis1,
const BasisKey tbasis2,
Array< OneD, NekDouble > &  to 
)

this function interpolates a 3D function \(f\) evaluated at the quadrature points of the 3D basis, constructed by fbasis0, fbasis1, and fbasis2 to the function values at the quadrature points of the 3D basis, constructed by tbasis0, tbasis1, and tbasis2.

Given a function \( f\) evaluated at the Q quadrature points of the first expansion basis, this routine calculates, using (Q-1)th order polynomial interpolation, the function values at the Q2 quadrature points of the second basis, and the function values at the Q3 quadrature points of the third basis.

Parameters
fbasis0the basis at which's quadrature points the function is given
fromthe array containg the function \( f\) evaluated at the quadrature points of fbasis0
tbasis0the basis to which's quadrature points the function should be interpolated
tothe array containg the function \( f\) evaluated at the quadrature points of tbasis0 (output of the function)

Definition at line 164 of file Interp.cpp.

168{
169 Interp3D(fbasis0.GetPointsKey(), fbasis1.GetPointsKey(),
170 fbasis2.GetPointsKey(), from.data(), tbasis0.GetPointsKey(),
171 tbasis1.GetPointsKey(), tbasis2.GetPointsKey(), to.data());
172}
void Interp3D(const PointsKey &fpoints0, const PointsKey &fpoints1, const PointsKey &fpoints2, const NekDouble *from, const PointsKey &tpoints0, const PointsKey &tpoints1, const PointsKey &tpoints2, NekDouble *to)
Definition: Interp.cpp:184

References Nektar::LibUtilities::BasisKey::GetPointsKey(), and Interp3D().

Referenced by Nektar::FieldUtils::ProcessQualityMetric::GetQ(), Nektar::SpatialDomains::GeomFactors::Interp(), Interp3D(), Nektar::LocalRegions::HexExp::v_ExtractDataToCoeffs(), Nektar::LocalRegions::Expansion::v_GetCoords(), and Nektar::MultiRegions::ExpList::v_PhysInterp1DScaled().

◆ Interp3D() [2/3]

void Nektar::LibUtilities::Interp3D ( const PointsKey fpoints0,
const PointsKey fpoints1,
const PointsKey fpoints2,
const Array< OneD, const NekDouble > &  from,
const PointsKey tpoints0,
const PointsKey tpoints1,
const PointsKey tpoints2,
Array< OneD, NekDouble > &  to 
)

Definition at line 174 of file Interp.cpp.

179{
180 Interp3D(fpoints0, fpoints1, fpoints2, from.data(), tpoints0, tpoints1,
181 tpoints2, to.data());
182}

References Interp3D().

◆ Interp3D() [3/3]

void Nektar::LibUtilities::Interp3D ( const PointsKey fpoints0,
const PointsKey fpoints1,
const PointsKey fpoints2,
const NekDouble from,
const PointsKey tpoints0,
const PointsKey tpoints1,
const PointsKey tpoints2,
NekDouble to 
)

Definition at line 184 of file Interp.cpp.

188{
189 size_t i;
190 DNekMatSharedPtr I0, I1, I2;
191
192 size_t fnp0 = fpoints0.GetNumPoints();
193 size_t fnp1 = fpoints1.GetNumPoints();
194 size_t fnp2 = fpoints2.GetNumPoints();
195 size_t tnp0 = tpoints0.GetNumPoints();
196 size_t tnp1 = tpoints1.GetNumPoints();
197 size_t tnp2 = tpoints2.GetNumPoints();
198
199 Array<OneD, NekDouble> wsp1(tnp0 * tnp1 * fnp2);
200 Array<OneD, NekDouble> wsp2(tnp0 * fnp1 * fnp2);
201
202 I0 = PointsManager()[fpoints0]->GetI(tpoints0);
203 I1 = PointsManager()[fpoints1]->GetI(tpoints1);
204 I2 = PointsManager()[fpoints2]->GetI(tpoints2);
205
206 Blas::Dgemm('N', 'N', tnp0, fnp1 * fnp2, fnp0, 1.0, I0->GetPtr().get(),
207 tnp0, from, fnp0, 0.0, wsp2.get(), tnp0);
208
209 for (i = 0; i < fnp2; i++)
210 {
211 Blas::Dgemm('N', 'T', tnp0, tnp1, fnp1, 1.0,
212 wsp2.get() + i * tnp0 * fnp1, tnp0, I1->GetPtr().get(),
213 tnp1, 0.0, wsp1.get() + i * tnp0 * tnp1, tnp0);
214 }
215
216 Blas::Dgemm('N', 'T', tnp0 * tnp1, tnp2, fnp2, 1.0, wsp1.get(), tnp0 * tnp1,
217 I2->GetPtr().get(), tnp2, 0.0, to, tnp0 * tnp1);
218}

References Blas::Dgemm(), Nektar::LibUtilities::PointsKey::GetNumPoints(), and PointsManager().

◆ InterpCoeff1D()

void Nektar::LibUtilities::InterpCoeff1D ( const BasisKey fbasis0,
const Array< OneD, const NekDouble > &  from,
const BasisKey tbasis0,
Array< OneD, NekDouble > &  to 
)

Definition at line 44 of file InterpCoeff.cpp.

47{
48 ASSERTL0(fbasis0.GetNumModes() == tbasis0.GetNumModes(),
49 "Number of modes must be the same for "
50 "interpolating coefficients");
51
52 // Check to see if the same basis
53 if (fbasis0.GetBasisType() == tbasis0.GetBasisType())
54 {
55 Vmath::Vcopy(fbasis0.GetNumModes(), from, 1, to, 1);
56 }
57 else
58 {
59 // interpolate
60 DNekMatSharedPtr ftB = BasisManager()[fbasis0]->GetI(tbasis0);
61
62 NekVector<NekDouble> in(fbasis0.GetNumModes(), from, eWrapper);
63 NekVector<NekDouble> out(tbasis0.GetNumModes(), to, eWrapper);
64
65 out = (*ftB) * in;
66 }
67}
BasisType GetBasisType() const
Return type of expansion basis.
Definition: Basis.h:133
int GetNumModes() const
Returns the order of the basis.
Definition: Basis.h:76
BasisManagerT & BasisManager(void)

References ASSERTL0, BasisManager(), Nektar::eWrapper, Nektar::LibUtilities::BasisKey::GetBasisType(), Nektar::LibUtilities::BasisKey::GetNumModes(), and Vmath::Vcopy().

Referenced by Nektar::LocalRegions::Expansion2D::v_AddEdgeNormBoundaryInt(), Nektar::StdRegions::StdSegExp::v_ReduceOrderCoeffs(), and Nektar::SolverUtils::FilterEnergy1D::v_Update().

◆ InterpCoeff2D() [1/2]

void Nektar::LibUtilities::InterpCoeff2D ( const BasisKey fbasis0,
const BasisKey fbasis1,
const Array< OneD, const NekDouble > &  from,
const BasisKey tbasis0,
const BasisKey tbasis1,
Array< OneD, NekDouble > &  to 
)

Definition at line 69 of file InterpCoeff.cpp.

73{
74 InterpCoeff2D(fbasis0, fbasis1, from.data(), tbasis0, tbasis1, to.data());
75}
void InterpCoeff2D(const BasisKey &fbasis0, const BasisKey &fbasis1, const NekDouble *from, const BasisKey &tbasis0, const BasisKey &tbasis1, NekDouble *to)
Definition: InterpCoeff.cpp:77

References InterpCoeff2D().

Referenced by InterpCoeff2D(), Nektar::LocalRegions::QuadExp::v_ReduceOrderCoeffs(), and Nektar::StdRegions::StdQuadExp::v_ReduceOrderCoeffs().

◆ InterpCoeff2D() [2/2]

void Nektar::LibUtilities::InterpCoeff2D ( const BasisKey fbasis0,
const BasisKey fbasis1,
const NekDouble from,
const BasisKey tbasis0,
const BasisKey tbasis1,
NekDouble to 
)

Definition at line 77 of file InterpCoeff.cpp.

80{
81 const size_t fnm0 = fbasis0.GetNumModes();
82 const size_t fnm1 = fbasis1.GetNumModes();
83 const size_t tnm0 = tbasis0.GetNumModes();
84 const size_t tnm1 = tbasis1.GetNumModes();
85
86 Array<OneD, NekDouble> wsp(tnm1 * fnm0);
87
88 if (fbasis1.GetBasisType() == tbasis1.GetBasisType())
89 {
90 Vmath::Vcopy(fnm0 * tnm1, from, 1, wsp.get(), 1);
91 }
92 else
93 {
94 // interpolate
95 DNekMatSharedPtr ft1 = BasisManager()[fbasis1]->GetI(tbasis1);
96
97 Blas::Dgemm('N', 'T', fnm0, tnm1, fnm1, 1.0, from, fnm0,
98 ft1->GetPtr().get(), tnm1, 0.0, wsp.get(), fnm0);
99 }
100
101 if (fbasis0.GetBasisType() == tbasis0.GetBasisType())
102 {
103 Vmath::Vcopy(tnm0 * tnm1, wsp.get(), 1, to, 1);
104 }
105 else
106 {
107 // interpolate
108 DNekMatSharedPtr ft0 = BasisManager()[fbasis0]->GetI(tbasis0);
109
110 Blas::Dgemm('N', 'N', tnm0, tnm1, fnm0, 1.0, ft0->GetPtr().get(), tnm0,
111 wsp.get(), fnm0, 0.0, to, tnm0);
112 }
113}

References BasisManager(), Blas::Dgemm(), Nektar::LibUtilities::BasisKey::GetBasisType(), Nektar::LibUtilities::BasisKey::GetNumModes(), and Vmath::Vcopy().

◆ InterpCoeff3D() [1/2]

void Nektar::LibUtilities::InterpCoeff3D ( const BasisKey fbasis0,
const BasisKey fbasis1,
const BasisKey fbasis2,
const Array< OneD, const NekDouble > &  from,
const BasisKey tbasis0,
const BasisKey tbasis1,
const BasisKey tbasis2,
Array< OneD, NekDouble > &  to 
)

Definition at line 115 of file InterpCoeff.cpp.

120{
121 InterpCoeff3D(fbasis0, fbasis1, fbasis2, from.data(), tbasis0, tbasis1,
122 tbasis2, to.data());
123}
void InterpCoeff3D(const BasisKey &fbasis0, const BasisKey &fbasis1, const BasisKey &fbasis2, const NekDouble *from, const BasisKey &tbasis0, const BasisKey &tbasis1, const BasisKey &tbasis2, NekDouble *to)

References InterpCoeff3D().

Referenced by InterpCoeff3D(), and Nektar::LocalRegions::HexExp::v_ReduceOrderCoeffs().

◆ InterpCoeff3D() [2/2]

void Nektar::LibUtilities::InterpCoeff3D ( const BasisKey fbasis0,
const BasisKey fbasis1,
const BasisKey fbasis2,
const NekDouble from,
const BasisKey tbasis0,
const BasisKey tbasis1,
const BasisKey tbasis2,
NekDouble to 
)

Definition at line 125 of file InterpCoeff.cpp.

129{
130 const size_t fnm0 = fbasis0.GetNumModes();
131 const size_t fnm1 = fbasis1.GetNumModes();
132 const size_t fnm2 = fbasis2.GetNumModes();
133 const size_t tnm0 = tbasis0.GetNumModes();
134 const size_t tnm1 = tbasis1.GetNumModes();
135 const size_t tnm2 = tbasis2.GetNumModes();
136
137 Array<OneD, NekDouble> wsp1(tnm0 * tnm1 * fnm2);
138 Array<OneD, NekDouble> wsp2(tnm0 * fnm1 * fnm2);
139
140 DNekMatSharedPtr ft0 = BasisManager()[fbasis0]->GetI(tbasis0);
141 DNekMatSharedPtr ft1 = BasisManager()[fbasis1]->GetI(tbasis1);
142 DNekMatSharedPtr ft2 = BasisManager()[fbasis2]->GetI(tbasis2);
143
144 Blas::Dgemm('N', 'N', tnm0, fnm1 * fnm2, fnm0, 1.0, ft0->GetPtr().get(),
145 tnm0, from, fnm0, 0.0, wsp2.get(), tnm0);
146
147 for (size_t i = 0; i < fnm2; i++)
148 {
149 Blas::Dgemm('N', 'T', tnm0, tnm1, fnm1, 1.0,
150 wsp2.get() + i * tnm0 * fnm1, tnm0, ft1->GetPtr().get(),
151 tnm1, 0.0, wsp1.get() + i * tnm0 * tnm1, tnm0);
152 }
153
154 Blas::Dgemm('N', 'T', tnm0 * tnm1, tnm2, fnm2, 1.0, wsp1.get(), tnm0 * tnm1,
155 ft2->GetPtr().get(), tnm2, 0.0, to, tnm0 * tnm1);
156}

References BasisManager(), Blas::Dgemm(), and Nektar::LibUtilities::BasisKey::GetNumModes().

◆ IsRealClose()

template<class T1 , class T2 , class = typename std::enable_if< std::is_floating_point<typename std::remove_cv< typename std::remove_reference<T1>::type>::type>::value && std::is_same<typename std::remove_cv< typename std::remove_reference<T1>::type>::type, typename std::remove_cv<typename std::remove_reference< T2>::type>::type>::value>::type>
bool Nektar::LibUtilities::IsRealClose ( T1 &&  lhs,
T2 &&  rhs,
const NekDouble  tol = NekConstants::kNekMachineEpsilon 
)
inline

compare reals of same type with absolute tolerance

Definition at line 78 of file RealComparison.hpp.

80{
81 // Check if tolerance is positive
82 ASSERTL1(tol >= 0, "real comparison tolerance needs to be >= 0");
83 // Check if distance is within tolerance
84 return std::abs(lhs - rhs) < tol;
85}
#define ASSERTL1(condition, msg)
Assert Level 1 – Debugging which is used whether in FULLDEBUG or DEBUG compilation mode....
Definition: ErrorUtil.hpp:249
scalarT< T > abs(scalarT< T > in)
Definition: scalar.hpp:298

References tinysimd::abs(), and ASSERTL1.

◆ IsRealEqual()

template<class T1 , class T2 , class = typename std::enable_if< std::is_floating_point<typename std::remove_cv< typename std::remove_reference<T1>::type>::type>::value && std::is_same<typename std::remove_cv< typename std::remove_reference<T1>::type>::type, typename std::remove_cv<typename std::remove_reference< T2>::type>::type>::value>::type>
bool Nektar::LibUtilities::IsRealEqual ( T1 &&  lhs,
T2 &&  rhs,
const unsigned int  factor = NekConstants::kNekFloatCompFact 
)
inline

compare reals of same type with relative tolerance

Definition at line 58 of file RealComparison.hpp.

61{
62 // Check precondition in debug mode
63 ASSERTL1(factor >= 1, "real comparison factor needs to be >= 1");
64 // Relative distance normalized by machine epsilon
65 return boost::math::epsilon_difference(lhs, rhs) < factor;
66}

References ASSERTL1.

Referenced by Nektar::RealComparisonUnitTests::BOOST_AUTO_TEST_CASE(), and Nektar::IsEqualImpl().

◆ NullBasisKey()

static const BasisKey Nektar::LibUtilities::NullBasisKey ( eNoBasisType  ,
,
NullPointsKey   
)
static

◆ NullPointsKey()

static const PointsKey Nektar::LibUtilities::NullPointsKey ( ,
eNoPointsType   
)
static

◆ operator!=() [1/4]

bool Nektar::LibUtilities::operator!= ( const BasisKey x,
const BasisKey y 
)

Definition at line 923 of file Foundations/Basis.cpp.

924{
925 return (!(x == y));
926}

◆ operator!=() [2/4]

bool Nektar::LibUtilities::operator!= ( const BasisKey x,
const BasisKey y 
)

Definition at line 935 of file Foundations/Basis.cpp.

936{
937 return (!(x == *y));
938}

◆ operator!=() [3/4]

bool Nektar::LibUtilities::operator!= ( const BasisKey x,
const BasisKey y 
)

Definition at line 929 of file Foundations/Basis.cpp.

930{
931 return (!(*x == y));
932}

◆ operator!=() [4/4]

bool Nektar::LibUtilities::operator!= ( const GraphVertexObject x,
const GraphVertexObject y 
)

Definition at line 62 of file Graph.cpp.

63{
64 return (x.m_id != y.m_id);
65}

◆ operator<() [1/2]

bool Nektar::LibUtilities::operator< ( const BasisKey lhs,
const BasisKey rhs 
)

Definition at line 46 of file Foundations/Basis.cpp.

47{
48 PointsKey lhsPointsKey = lhs.GetPointsKey();
49 PointsKey rhsPointsKey = rhs.GetPointsKey();
50
51 if (lhsPointsKey < rhsPointsKey)
52 {
53 return true;
54 }
55 if (lhsPointsKey != rhsPointsKey)
56 {
57 return false;
58 }
59
60 if (lhs.m_nummodes < rhs.m_nummodes)
61 {
62 return true;
63 }
64 if (lhs.m_nummodes > rhs.m_nummodes)
65 {
66 return false;
67 }
68
69 return (lhs.m_basistype < rhs.m_basistype);
70}
size_t m_nummodes
Expansion order.
Definition: Basis.h:187
BasisType m_basistype
Expansion type.
Definition: Basis.h:188
Defines a specification for a set of points.
Definition: Points.h:55

◆ operator<() [2/2]

bool Nektar::LibUtilities::operator< ( const PointsKey lhs,
const PointsKey rhs 
)

Definition at line 53 of file Foundations/Points.cpp.

54{
55 if (lhs.m_pointstype < rhs.m_pointstype)
56 {
57 return true;
58 }
59
60 if (lhs.m_pointstype > rhs.m_pointstype)
61 {
62 return false;
63 }
64
65 if (lhs.m_numpoints < rhs.m_numpoints)
66 {
67 return true;
68 }
69
70 if (lhs.m_numpoints > rhs.m_numpoints)
71 {
72 return false;
73 }
74
75 if (lhs.m_factor < rhs.m_factor)
76 {
77 return true;
78 }
79
80 if (lhs.m_factor > rhs.m_factor)
81 {
82 return false;
83 }
84
85 return false;
86}
size_t m_numpoints
number of the points (as appropriately defined for PointsType)
Definition: Points.h:221
PointsType m_pointstype
Type of Points.
Definition: Points.h:223
NekDouble m_factor
optional factor
Definition: Points.h:224

◆ operator<<() [1/14]

std::ostream & Nektar::LibUtilities::operator<< ( std::ostream &  os,
const BasisKey rhs 
)

Definition at line 83 of file Foundations/Basis.cpp.

84{
85 os << "NumModes: " << rhs.GetNumModes()
86 << " BasisType: " << BasisTypeMap[rhs.GetBasisType()];
87 os << " " << rhs.GetPointsKey() << std::endl;
88
89 return os;
90}
const char *const BasisTypeMap[]
Definition: Foundations.hpp:46

References BasisTypeMap, Nektar::LibUtilities::BasisKey::GetBasisType(), Nektar::LibUtilities::BasisKey::GetNumModes(), and Nektar::LibUtilities::BasisKey::GetPointsKey().

◆ operator<<() [2/14]

LUE std::ostream & Nektar::LibUtilities::operator<< ( std::ostream &  os,
const FractionalInTimeIntegrationScheme rhs 
)

Definition at line 1064 of file TimeIntegrationSchemeFIT.cpp.

1066{
1067 rhs.print(os);
1068
1069 return os;
1070}

◆ operator<<() [3/14]

LUE std::ostream & Nektar::LibUtilities::operator<< ( std::ostream &  os,
const FractionalInTimeIntegrationSchemeSharedPtr rhs 
)

Definition at line 1072 of file TimeIntegrationSchemeFIT.cpp.

1074{
1075 os << *rhs.get();
1076
1077 return os;
1078}

◆ operator<<() [4/14]

std::ostream & Nektar::LibUtilities::operator<< ( std::ostream &  os,
const PointsKey rhs 
)

Definition at line 94 of file Foundations/Points.cpp.

95{
96 os << "NumPoints: " << rhs.GetNumPoints()
97 << " PointsType: " << kPointsTypeStr[rhs.GetPointsType()] << std::endl;
98
99 return os;
100}
PointsType GetPointsType() const
Definition: Points.h:95
const std::string kPointsTypeStr[]
Definition: Foundations.hpp:54

References Nektar::LibUtilities::PointsKey::GetNumPoints(), Nektar::LibUtilities::PointsKey::GetPointsType(), and kPointsTypeStr.

◆ operator<<() [5/14]

LUE std::ostream & Nektar::LibUtilities::operator<< ( std::ostream &  os,
const TimeIntegrationAlgorithmGLM rhs 
)

Definition at line 931 of file TimeIntegrationAlgorithmGLM.cpp.

933{
934 size_t r = rhs.m_numsteps;
935 size_t s = rhs.m_numstages;
937
938 size_t oswidth = 9;
939 size_t osprecision = 6;
940
941 os << "Time Integration Scheme (Master): " << rhs.m_parent->GetFullName()
942 << "\n"
943 << "Time Integration Phase : " << rhs.m_name << "\n"
944 << "- number of steps: " << r << "\n"
945 << "- number of stages: " << s << "\n"
946 << "General linear method tableau:\n";
947
948 for (size_t i = 0; i < s; i++)
949 {
950 for (size_t j = 0; j < s; j++)
951 {
952 os.width(oswidth);
953 os.precision(osprecision);
954 os << std::right << rhs.A(i, j) << " ";
955 }
956 if (type == eIMEX)
957 {
958 os << " '";
959 for (size_t j = 0; j < s; j++)
960 {
961 os.width(oswidth);
962 os.precision(osprecision);
963 os << std::right << rhs.A_IMEX(i, j) << " ";
964 }
965 }
966
967 os << " |";
968
969 for (size_t j = 0; j < r; j++)
970 {
971 os.width(oswidth);
972 os.precision(osprecision);
973 os << std::right << rhs.U(i, j);
974 }
975 os << std::endl;
976 }
977
978 size_t imexflag = (type == eIMEX) ? 2 : 1;
979 for (size_t i = 0;
980 i < (r + imexflag * s) * (oswidth + 1) + imexflag * 2 - 1; i++)
981 {
982 os << "-";
983 }
984 os << std::endl;
985
986 for (size_t i = 0; i < r; i++)
987 {
988 for (size_t j = 0; j < s; j++)
989 {
990 os.width(oswidth);
991 os.precision(osprecision);
992 os << std::right << rhs.B(i, j) << " ";
993 }
994 if (type == eIMEX)
995 {
996 os << " '";
997 for (size_t j = 0; j < s; j++)
998 {
999 os.width(oswidth);
1000 os.precision(osprecision);
1001 os << std::right << rhs.B_IMEX(i, j) << " ";
1002 }
1003 }
1004
1005 os << " |";
1006
1007 for (size_t j = 0; j < r; j++)
1008 {
1009 os.width(oswidth);
1010 os.precision(osprecision);
1011 os << std::right << rhs.V(i, j);
1012 }
1013
1014 os << " |";
1015
1016 os.width(oswidth);
1017 os.precision(osprecision);
1018 os << std::right << rhs.m_timeLevelOffset[i];
1019
1020 if (i < rhs.m_numMultiStepValues)
1021 {
1022 os << std::right << " value";
1023 }
1024 else
1025 {
1026 os << std::right << " derivative";
1027 }
1028
1029 os << std::endl;
1030 }
1031
1032 if (type == eExponential)
1033 {
1034 for (size_t k = 0; k < rhs.m_nvars; k++)
1035 {
1036 os << std::endl
1037 << "General linear method exponential tableau for variable " << k
1038 << ":\n";
1039
1040 for (size_t i = 0; i < s; i++)
1041 {
1042 for (size_t j = 0; j < s; j++)
1043 {
1044 os.width(oswidth);
1045 os.precision(osprecision);
1046 os << std::right << rhs.A(k, i, j) << " ";
1047 }
1048
1049 os << " |";
1050
1051 for (size_t j = 0; j < r; j++)
1052 {
1053 os.width(oswidth);
1054 os.precision(osprecision);
1055 os << std::right << rhs.B(k, i, j);
1056 }
1057 os << std::endl;
1058 }
1059
1060 size_t imexflag = (type == eIMEX) ? 2 : 1;
1061 for (size_t i = 0;
1062 i < (r + imexflag * s) * (oswidth + 1) + imexflag * 2 - 1; i++)
1063 {
1064 os << "-";
1065 }
1066 os << std::endl;
1067
1068 for (size_t i = 0; i < r; i++)
1069 {
1070 for (size_t j = 0; j < s; j++)
1071 {
1072 os.width(oswidth);
1073 os.precision(osprecision);
1074 os << std::right << rhs.B(k, i, j) << " ";
1075 }
1076
1077 os << " |";
1078
1079 for (size_t j = 0; j < r; j++)
1080 {
1081 os.width(oswidth);
1082 os.precision(osprecision);
1083 os << std::right << rhs.V(k, i, j);
1084 }
1085 os << std::endl;
1086 }
1087 }
1088 }
1089
1090 return os;
1091} // end function operator<<
NekDouble V(const size_t i, const size_t j) const
const TimeIntegrationSchemeGLM * m_parent
Parent scheme object.
NekDouble A(const size_t i, const size_t j) const
NekDouble B_IMEX(const size_t i, const size_t j) const
NekDouble A_IMEX(const size_t i, const size_t j) const
NekDouble B(const size_t i, const size_t j) const
NekDouble U(const size_t i, const size_t j) const

◆ operator<<() [6/14]

LUE std::ostream & Nektar::LibUtilities::operator<< ( std::ostream &  os,
const TimeIntegrationAlgorithmGLMSharedPtr rhs 
)

Definition at line 925 of file TimeIntegrationAlgorithmGLM.cpp.

927{
928 return operator<<(os, *rhs);
929}
std::ostream & operator<<(std::ostream &os, const TimeIntegrationAlgorithmGLM &rhs)

◆ operator<<() [7/14]

LUE std::ostream & Nektar::LibUtilities::operator<< ( std::ostream &  os,
const TimeIntegrationScheme rhs 
)

Definition at line 60 of file TimeIntegrationScheme.cpp.

61{
62 rhs.print(os);
63
64 return os;
65}

◆ operator<<() [8/14]

LUE std::ostream & Nektar::LibUtilities::operator<< ( std::ostream &  os,
const TimeIntegrationSchemeGEM rhs 
)

Definition at line 435 of file TimeIntegrationSchemeGEM.cpp.

436{
437 rhs.print(os);
438
439 return os;
440}

References Nektar::LibUtilities::TimeIntegrationScheme::print().

◆ operator<<() [9/14]

LUE std::ostream & Nektar::LibUtilities::operator<< ( std::ostream &  os,
const TimeIntegrationSchemeGEMSharedPtr rhs 
)

Definition at line 442 of file TimeIntegrationSchemeGEM.cpp.

444{
445 os << *rhs.get();
446
447 return os;
448}

◆ operator<<() [10/14]

LUE std::ostream & Nektar::LibUtilities::operator<< ( std::ostream &  os,
const TimeIntegrationSchemeGLM rhs 
)

Definition at line 148 of file TimeIntegrationSchemeGLM.cpp.

149{
150 rhs.print(os);
151
152 return os;
153}

◆ operator<<() [11/14]

LUE std::ostream & Nektar::LibUtilities::operator<< ( std::ostream &  os,
const TimeIntegrationSchemeGLMSharedPtr rhs 
)

Definition at line 155 of file TimeIntegrationSchemeGLM.cpp.

157{
158 os << *rhs.get();
159
160 return os;
161}

◆ operator<<() [12/14]

std::ostream & Nektar::LibUtilities::operator<< ( std::ostream &  os,
const TimeIntegrationSchemeSDC rhs 
)

Definition at line 347 of file TimeIntegrationSchemeSDC.cpp.

348{
349 rhs.print(os);
350
351 return os;
352}

References Nektar::LibUtilities::TimeIntegrationScheme::print().

◆ operator<<() [13/14]

std::ostream & Nektar::LibUtilities::operator<< ( std::ostream &  os,
const TimeIntegrationSchemeSDCSharedPtr rhs 
)

Definition at line 354 of file TimeIntegrationSchemeSDC.cpp.

356{
357 os << *rhs.get();
358
359 return os;
360}

◆ operator<<() [14/14]

LUE std::ostream & Nektar::LibUtilities::operator<< ( std::ostream &  os,
const TimeIntegrationSchemeSharedPtr rhs 
)

Definition at line 67 of file TimeIntegrationScheme.cpp.

69{
70 os << *rhs.get();
71
72 return os;
73}

◆ operator==() [1/5]

bool Nektar::LibUtilities::operator== ( const BasisKey x,
const BasisKey y 
)

Definition at line 903 of file Foundations/Basis.cpp.

904{
905 return (x.GetPointsKey() == y.GetPointsKey() &&
906 x.m_basistype == y.m_basistype &&
907 x.GetNumModes() == y.GetNumModes());
908}

◆ operator==() [2/5]

bool Nektar::LibUtilities::operator== ( const BasisKey x,
const BasisKey y 
)

Definition at line 917 of file Foundations/Basis.cpp.

918{
919 return (x == *y);
920}

◆ operator==() [3/5]

bool Nektar::LibUtilities::operator== ( const BasisKey x,
const BasisKey y 
)

Definition at line 911 of file Foundations/Basis.cpp.

912{
913 return (*x == y);
914}

◆ operator==() [4/5]

bool Nektar::LibUtilities::operator== ( const GraphVertexObject x,
const GraphVertexObject y 
)

Definition at line 57 of file Graph.cpp.

58{
59 return (x.m_id == y.m_id);
60}

◆ operator==() [5/5]

bool Nektar::LibUtilities::operator== ( const PointsKey lhs,
const PointsKey rhs 
)

Definition at line 47 of file Foundations/Points.cpp.

48{
49 return (lhs.m_numpoints == rhs.m_numpoints &&
50 lhs.m_pointstype == rhs.m_pointstype);
51}

◆ operator>()

bool Nektar::LibUtilities::operator> ( const BasisKey lhs,
const BasisKey rhs 
)

Definition at line 72 of file Foundations/Basis.cpp.

73{
74 return (rhs < lhs);
75}

◆ PhysGalerkinProject1D() [1/4]

void Nektar::LibUtilities::PhysGalerkinProject1D ( const BasisKey fbasis0,
const Array< OneD, const NekDouble > &  from,
const BasisKey tbasis0,
Array< OneD, NekDouble > &  to 
)

Definition at line 51 of file PhysGalerkinProject.cpp.

54{
55 PhysGalerkinProject1D(fbasis0.GetPointsKey(), from, tbasis0.GetPointsKey(),
56 to);
57}
void PhysGalerkinProject1D(const PointsKey &fpoints0, const NekDouble *from, const PointsKey &tpoints0, NekDouble *to)

References Nektar::LibUtilities::BasisKey::GetPointsKey(), and PhysGalerkinProject1D().

Referenced by PhysGalerkinProject1D().

◆ PhysGalerkinProject1D() [2/4]

void Nektar::LibUtilities::PhysGalerkinProject1D ( const BasisKey fbasis0,
const NekDouble from,
const BasisKey tbasis0,
NekDouble to 
)

Definition at line 82 of file PhysGalerkinProject.cpp.

84{
85 PhysGalerkinProject1D(fbasis0.GetPointsKey(), from, tbasis0.GetPointsKey(),
86 to);
87}

References Nektar::LibUtilities::BasisKey::GetPointsKey(), and PhysGalerkinProject1D().

◆ PhysGalerkinProject1D() [3/4]

void Nektar::LibUtilities::PhysGalerkinProject1D ( const PointsKey fpoints0,
const Array< OneD, const NekDouble > &  from,
const PointsKey tpoints0,
Array< OneD, NekDouble > &  to 
)

Definition at line 59 of file PhysGalerkinProject.cpp.

63{
64 if (fpoints0 == tpoints0) // check to see if the same
65 {
66 Vmath::Vcopy(fpoints0.GetNumPoints(), from, 1, to, 1);
67 }
68 else // interpolate
69 {
71
72 GP0 = PointsManager()[tpoints0]->GetGalerkinProjection(fpoints0);
73
74 NekVector<NekDouble> in(fpoints0.GetNumPoints(), from, eWrapper);
75 NekVector<NekDouble> out(tpoints0.GetNumPoints(), to, eWrapper);
76
77 GP0->Transpose();
78 out = (*GP0) * in;
79 }
80}

References Nektar::eWrapper, Nektar::LibUtilities::PointsKey::GetNumPoints(), PointsManager(), and Vmath::Vcopy().

◆ PhysGalerkinProject1D() [4/4]

void Nektar::LibUtilities::PhysGalerkinProject1D ( const PointsKey fpoints0,
const NekDouble from,
const PointsKey tpoints0,
NekDouble to 
)

Definition at line 89 of file PhysGalerkinProject.cpp.

91{
92 if (fpoints0 == tpoints0) // check to see if the same
93 {
94 Vmath::Vcopy(fpoints0.GetNumPoints(), from, 1, to, 1);
95 }
96 else // interpolate
97 {
98
100
101 GP0 = PointsManager()[tpoints0]->GetGalerkinProjection(fpoints0);
102
103 Blas::Dgemv('T', tpoints0.GetNumPoints(), fpoints0.GetNumPoints(), 1.0,
104 GP0->GetPtr().get(), tpoints0.GetNumPoints(), from, 1, 0.0,
105 to, 1);
106 }
107}

References Blas::Dgemv(), Nektar::LibUtilities::PointsKey::GetNumPoints(), PointsManager(), and Vmath::Vcopy().

◆ PhysGalerkinProject2D() [1/3]

void Nektar::LibUtilities::PhysGalerkinProject2D ( const BasisKey fbasis0,
const BasisKey fbasis1,
const Array< OneD, const NekDouble > &  from,
const BasisKey tbasis0,
const BasisKey tbasis1,
Array< OneD, NekDouble > &  to 
)

Definition at line 110 of file PhysGalerkinProject.cpp.

114{
116 from.data(), tbasis0.GetPointsKey(),
117 tbasis1.GetPointsKey(), to.data());
118}
void PhysGalerkinProject2D(const PointsKey &fpoints0, const PointsKey &fpoints1, const NekDouble *from, const PointsKey &tpoints0, const PointsKey &tpoints1, NekDouble *to)

References Nektar::LibUtilities::BasisKey::GetPointsKey(), and PhysGalerkinProject2D().

Referenced by PhysGalerkinProject2D(), and Nektar::MultiRegions::ExpList::v_PhysGalerkinProjection1DScaled().

◆ PhysGalerkinProject2D() [2/3]

void Nektar::LibUtilities::PhysGalerkinProject2D ( const PointsKey fpoints0,
const PointsKey fpoints1,
const Array< OneD, const NekDouble > &  from,
const PointsKey tpoints0,
const PointsKey tpoints1,
Array< OneD, NekDouble > &  to 
)

Definition at line 120 of file PhysGalerkinProject.cpp.

124{
125 PhysGalerkinProject2D(fpoints0, fpoints1, from.data(), tpoints0, tpoints1,
126 to.data());
127}

References PhysGalerkinProject2D().

◆ PhysGalerkinProject2D() [3/3]

void Nektar::LibUtilities::PhysGalerkinProject2D ( const PointsKey fpoints0,
const PointsKey fpoints1,
const NekDouble from,
const PointsKey tpoints0,
const PointsKey tpoints1,
NekDouble to 
)

Definition at line 129 of file PhysGalerkinProject.cpp.

132{
133 DNekMatSharedPtr GP0, GP1;
134 Array<OneD, NekDouble> wsp(tpoints1.GetNumPoints() *
135 fpoints0.GetNumPoints()); // fnp0*tnp1
136
137 size_t fnp0 = fpoints0.GetNumPoints();
138 size_t fnp1 = fpoints1.GetNumPoints();
139 size_t tnp0 = tpoints0.GetNumPoints();
140 size_t tnp1 = tpoints1.GetNumPoints();
141
142 if (fpoints1 == tpoints1)
143 {
144 Vmath::Vcopy(fnp0 * tnp1, from, 1, wsp.get(), 1);
145 }
146 else
147 {
148 GP1 = PointsManager()[tpoints1]->GetGalerkinProjection(fpoints1);
149 Blas::Dgemm('N', 'T', fnp0, tnp1, fnp1, 1.0, from, fnp0,
150 GP1->GetPtr().get(), tnp1, 0.0, wsp.get(), fnp0);
151 }
152
153 if (fpoints0 == tpoints0)
154 {
155 Vmath::Vcopy(tnp0 * tnp1, wsp.get(), 1, to, 1);
156 }
157 else
158 {
159 GP0 = PointsManager()[tpoints0]->GetGalerkinProjection(fpoints0);
160 Blas::Dgemm('N', 'N', tnp0, tnp1, fnp0, 1.0, GP0->GetPtr().get(), tnp0,
161 wsp.get(), fnp0, 0.0, to, tnp0);
162 }
163}

References Blas::Dgemm(), Nektar::LibUtilities::PointsKey::GetNumPoints(), PointsManager(), and Vmath::Vcopy().

◆ PhysGalerkinProject3D() [1/3]

void Nektar::LibUtilities::PhysGalerkinProject3D ( const BasisKey fbasis0,
const BasisKey fbasis1,
const BasisKey fbasis2,
const Array< OneD, const NekDouble > &  from,
const BasisKey tbasis0,
const BasisKey tbasis1,
const BasisKey tbasis2,
Array< OneD, NekDouble > &  to 
)

Definition at line 166 of file PhysGalerkinProject.cpp.

171{
173 fbasis2.GetPointsKey(), from.data(),
174 tbasis0.GetPointsKey(), tbasis1.GetPointsKey(),
175 tbasis2.GetPointsKey(), to.data());
176}
void PhysGalerkinProject3D(const PointsKey &fpoints0, const PointsKey &fpoints1, const PointsKey &fpoints2, const NekDouble *from, const PointsKey &tpoints0, const PointsKey &tpoints1, const PointsKey &tpoints2, NekDouble *to)

References Nektar::LibUtilities::BasisKey::GetPointsKey(), and PhysGalerkinProject3D().

Referenced by PhysGalerkinProject3D(), and Nektar::MultiRegions::ExpList::v_PhysGalerkinProjection1DScaled().

◆ PhysGalerkinProject3D() [2/3]

void Nektar::LibUtilities::PhysGalerkinProject3D ( const PointsKey fpoints0,
const PointsKey fpoints1,
const PointsKey fpoints2,
const Array< OneD, const NekDouble > &  from,
const PointsKey tpoints0,
const PointsKey tpoints1,
const PointsKey tpoints2,
Array< OneD, NekDouble > &  to 
)

Definition at line 178 of file PhysGalerkinProject.cpp.

184{
185 PhysGalerkinProject3D(fpoints0, fpoints1, fpoints2, from.data(), tpoints0,
186 tpoints1, tpoints2, to.data());
187}

References PhysGalerkinProject3D().

◆ PhysGalerkinProject3D() [3/3]

void Nektar::LibUtilities::PhysGalerkinProject3D ( const PointsKey fpoints0,
const PointsKey fpoints1,
const PointsKey fpoints2,
const NekDouble from,
const PointsKey tpoints0,
const PointsKey tpoints1,
const PointsKey tpoints2,
NekDouble to 
)

Definition at line 189 of file PhysGalerkinProject.cpp.

193{
194 DNekMatSharedPtr GP0, GP1, GP2;
195
196 size_t fnp0 = fpoints0.GetNumPoints();
197 size_t fnp1 = fpoints1.GetNumPoints();
198 size_t fnp2 = fpoints2.GetNumPoints();
199 size_t tnp0 = tpoints0.GetNumPoints();
200 size_t tnp1 = tpoints1.GetNumPoints();
201 size_t tnp2 = tpoints2.GetNumPoints();
202
203 Array<OneD, NekDouble> wsp1(fnp0 * tnp1 * tnp2);
204 Array<OneD, NekDouble> wsp2(fnp0 * fnp1 * tnp2);
205
206 GP2 = PointsManager()[tpoints2]->GetGalerkinProjection(fpoints2);
207 Blas::Dgemm('N', 'T', fnp0 * fnp1, tnp2, fnp2, 1.0, from, fnp0 * fnp1,
208 GP2->GetPtr().get(), tnp2, 0.0, wsp2.get(), fnp0 * fnp1);
209
210 GP1 = PointsManager()[tpoints1]->GetGalerkinProjection(fpoints1);
211 for (size_t i = 0; i < tnp2; i++)
212 {
213 Blas::Dgemm('N', 'T', fnp0, tnp1, fnp1, 1.0,
214 wsp2.get() + i * fnp0 * fnp1, fnp0, GP1->GetPtr().get(),
215 tnp1, 0.0, wsp1.get() + i * fnp0 * tnp1, fnp0);
216 }
217
218 GP0 = PointsManager()[tpoints0]->GetGalerkinProjection(fpoints0);
219 Blas::Dgemm('N', 'N', tnp0, tnp1 * tnp2, fnp0, 1.0, GP0->GetPtr().get(),
220 tnp0, wsp1.get(), fnp0, 0.0, to, tnp0);
221}

References Blas::Dgemm(), Nektar::LibUtilities::PointsKey::GetNumPoints(), and PointsManager().

◆ PointsManager()

PointsManagerT & Nektar::LibUtilities::PointsManager ( void  )

Definition at line 42 of file ManagerAccess.cpp.

43{
44 static PointsManagerT instance;
45 return instance;
46}

Referenced by Nektar::LibUtilities::GaussPoints::CalculateGalerkinProjectionMatrix(), Nektar::LibUtilities::FourierPoints::CreateMatrix(), Nektar::LibUtilities::GaussPoints::CreateMatrix(), Nektar::LibUtilities::Basis::GenBasis(), Nektar::StdRegions::StdNodalTriExp::GetNodalPoints(), Nektar::StdRegions::StdNodalPrismExp::GetNodalPoints(), Nektar::StdRegions::StdNodalTetExp::GetNodalPoints(), Interp1D(), Interp2D(), Interp3D(), PhysGalerkinProject1D(), PhysGalerkinProject2D(), PhysGalerkinProject3D(), Points_Create(), Nektar::SolverUtils::DriverPFASST::SetTimeInterpolator(), Nektar::MultiRegions::LocTraceToTraceMap::Setup(), Nektar::LibUtilities::TimeIntegrationSchemeSDC::TimeIntegrationSchemeSDC(), Nektar::LibUtilities::NodalHexElec::v_CalculatePoints(), Nektar::LibUtilities::NodalPrismElec::v_CalculatePoints(), Nektar::LibUtilities::NodalPrismSPI::v_CalculatePoints(), Nektar::LibUtilities::NodalQuadElec::v_CalculatePoints(), Nektar::LibUtilities::PolyEPoints::v_CalculateWeights(), Nektar::SpatialDomains::SegGeom::v_FillGeom(), Nektar::SpatialDomains::TriGeom::v_FillGeom(), Nektar::LibUtilities::NodalPrismElec::v_GetI(), Nektar::LibUtilities::NodalPrismEvenlySpaced::v_GetI(), Nektar::LibUtilities::NodalTetElec::v_GetI(), Nektar::LibUtilities::NodalTetEvenlySpaced::v_GetI(), Nektar::LibUtilities::NodalTriElec::v_GetI(), Nektar::LibUtilities::NodalTriEvenlySpaced::v_GetI(), Nektar::LibUtilities::NodalTriFekete::v_GetI(), and Nektar::LibUtilities::PolyEPoints::v_GetI().

◆ PortablePath()

std::string Nektar::LibUtilities::PortablePath ( const boost::filesystem::path &  path)

◆ PrintProgressbar()

int Nektar::LibUtilities::PrintProgressbar ( const int  position,
const int  goal,
const std::string  message,
int  lastprogress = -1 
)
inline

Prints a progressbar.

Parameters
positionState of the current process
goalGoal of the current process
messageShort Description of the current process

This function plots a simple progressbar to the console or log file to visualize the current state of an ongoing process. Make sure you minimize calling this routine. Ideally, this should be called only when the percentage is increased by an integer.

Definition at line 67 of file Progressbar.hpp.

69{
70 std::cout.unsetf(std::ios::floatfield);
71 if (ISTTY)
72 {
73 float progress = position / float(goal);
74 int numeq = static_cast<int>(ceil(progress * 49));
75 if (lastprogress == numeq)
76 {
77 return numeq;
78 }
79 else
80 {
81 // carriage return
82 std::cout << "\r";
83
84 std::cout << message << ": ";
85
86 std::cout << std::setw(3) << ceil(100 * progress) << "% [";
87 for (int j = 0; j < numeq; j++)
88 {
89 std::cout << "=";
90 }
91 for (int j = numeq; j < 49; j++)
92 {
93 std::cout << " ";
94 }
95 std::cout << "]" << std::flush;
96 return numeq;
97 }
98 }
99 else
100 {
101 // print only every 2 percent
102 if (int(ceil(double(100 * position / goal))) % 2 == 0)
103 {
104 std::cout << "." << std::flush;
105 }
106 return -1;
107 }
108}
#define ISTTY
Definition: Progressbar.hpp:47

References ISTTY.

Referenced by Nektar::FieldUtils::Iso::GlobalCondense(), Nektar::FieldUtils::ProcessInterpField::PrintProgressbar(), Nektar::FieldUtils::ProcessInterpPointDataToFld::PrintProgressbar(), Nektar::FieldUtils::ProcessInterpPoints::PrintProgressbar(), Nektar::FieldUtils::ProcessInterpPtsToPts::PrintProgressbar(), Nektar::SolverUtils::SessionFunction::PrintProgressbar(), Nektar::SolverUtils::EquationSystem::PrintProgressbar(), and Nektar::FieldUtils::Iso::SeparateRegions().

◆ rad()

static NekDouble Nektar::LibUtilities::rad ( NekDouble  x,
NekDouble  y 
)
static

◆ SESSIONREGISTER() [1/43]

Nektar::LibUtilities::SESSIONREGISTER ( AdamsBashforthOrder1  )

◆ SESSIONREGISTER() [2/43]

Nektar::LibUtilities::SESSIONREGISTER ( AdamsBashforthOrder2  )

◆ SESSIONREGISTER() [3/43]

Nektar::LibUtilities::SESSIONREGISTER ( AdamsBashforthOrder3  )

◆ SESSIONREGISTER() [4/43]

Nektar::LibUtilities::SESSIONREGISTER ( AdamsBashforthOrder4  )

◆ SESSIONREGISTER() [5/43]

Nektar::LibUtilities::SESSIONREGISTER ( AdamsMoultonOrder1  )

◆ SESSIONREGISTER() [6/43]

Nektar::LibUtilities::SESSIONREGISTER ( AdamsMoultonOrder2  )

◆ SESSIONREGISTER() [7/43]

Nektar::LibUtilities::SESSIONREGISTER ( AdamsMoultonOrder3  )

◆ SESSIONREGISTER() [8/43]

Nektar::LibUtilities::SESSIONREGISTER ( AdamsMoultonOrder4  )

◆ SESSIONREGISTER() [9/43]

Nektar::LibUtilities::SESSIONREGISTER ( BackwardEuler  )

◆ SESSIONREGISTER() [10/43]

Nektar::LibUtilities::SESSIONREGISTER ( BDFImplicitOrder1  )

◆ SESSIONREGISTER() [11/43]

Nektar::LibUtilities::SESSIONREGISTER ( BDFImplicitOrder2  )

◆ SESSIONREGISTER() [12/43]

Nektar::LibUtilities::SESSIONREGISTER ( BDFImplicitOrder3  )

◆ SESSIONREGISTER() [13/43]

Nektar::LibUtilities::SESSIONREGISTER ( BDFImplicitOrder4  )

◆ SESSIONREGISTER() [14/43]

Nektar::LibUtilities::SESSIONREGISTER ( ClassicalRungeKutta4  )

◆ SESSIONREGISTER() [15/43]

Nektar::LibUtilities::SESSIONREGISTER ( CNAB  )

◆ SESSIONREGISTER() [16/43]

Nektar::LibUtilities::SESSIONREGISTER ( DIRKOrder1  )

◆ SESSIONREGISTER() [17/43]

Nektar::LibUtilities::SESSIONREGISTER ( DIRKOrder2  )

◆ SESSIONREGISTER() [18/43]

Nektar::LibUtilities::SESSIONREGISTER ( DIRKOrder3  )

◆ SESSIONREGISTER() [19/43]

Nektar::LibUtilities::SESSIONREGISTER ( DIRKOrder3_ES5  )

◆ SESSIONREGISTER() [20/43]

Nektar::LibUtilities::SESSIONREGISTER ( DIRKOrder4_ES6  )

◆ SESSIONREGISTER() [21/43]

Nektar::LibUtilities::SESSIONREGISTER ( ForwardEuler  )

◆ SESSIONREGISTER() [22/43]

Nektar::LibUtilities::SESSIONREGISTER ( IMEXdirk_1_1_1  )

◆ SESSIONREGISTER() [23/43]

Nektar::LibUtilities::SESSIONREGISTER ( IMEXdirk_1_2_1  )

◆ SESSIONREGISTER() [24/43]

Nektar::LibUtilities::SESSIONREGISTER ( IMEXdirk_1_2_2  )

◆ SESSIONREGISTER() [25/43]

Nektar::LibUtilities::SESSIONREGISTER ( IMEXdirk_2_2_2  )

◆ SESSIONREGISTER() [26/43]

Nektar::LibUtilities::SESSIONREGISTER ( IMEXdirk_2_3_2  )

◆ SESSIONREGISTER() [27/43]

Nektar::LibUtilities::SESSIONREGISTER ( IMEXdirk_2_3_3  )

◆ SESSIONREGISTER() [28/43]

Nektar::LibUtilities::SESSIONREGISTER ( IMEXdirk_3_4_3  )

◆ SESSIONREGISTER() [29/43]

Nektar::LibUtilities::SESSIONREGISTER ( IMEXdirk_4_4_3  )

◆ SESSIONREGISTER() [30/43]

Nektar::LibUtilities::SESSIONREGISTER ( IMEXGear  )

◆ SESSIONREGISTER() [31/43]

Nektar::LibUtilities::SESSIONREGISTER ( IMEXOrder1  )

◆ SESSIONREGISTER() [32/43]

Nektar::LibUtilities::SESSIONREGISTER ( IMEXOrder2  )

◆ SESSIONREGISTER() [33/43]

Nektar::LibUtilities::SESSIONREGISTER ( IMEXOrder3  )

◆ SESSIONREGISTER() [34/43]

Nektar::LibUtilities::SESSIONREGISTER ( IMEXOrder4  )

◆ SESSIONREGISTER() [35/43]

Nektar::LibUtilities::SESSIONREGISTER ( MCNAB  )

◆ SESSIONREGISTER() [36/43]

Nektar::LibUtilities::SESSIONREGISTER ( RungeKutta1  )

◆ SESSIONREGISTER() [37/43]

Nektar::LibUtilities::SESSIONREGISTER ( RungeKutta2  )

◆ SESSIONREGISTER() [38/43]

Nektar::LibUtilities::SESSIONREGISTER ( RungeKutta2_ImprovedEuler  )

◆ SESSIONREGISTER() [39/43]

Nektar::LibUtilities::SESSIONREGISTER ( RungeKutta2_SSP  )

◆ SESSIONREGISTER() [40/43]

Nektar::LibUtilities::SESSIONREGISTER ( RungeKutta3  )

◆ SESSIONREGISTER() [41/43]

Nektar::LibUtilities::SESSIONREGISTER ( RungeKutta3_SSP  )

◆ SESSIONREGISTER() [42/43]

Nektar::LibUtilities::SESSIONREGISTER ( RungeKutta4  )

◆ SESSIONREGISTER() [43/43]

Nektar::LibUtilities::SESSIONREGISTER ( RungeKutta5  )

◆ sign()

NekDouble Nektar::LibUtilities::sign ( NekDouble  arg)

◆ Write()

void Nektar::LibUtilities::Write ( const std::string &  outFile,
std::vector< FieldDefinitionsSharedPtr > &  fielddefs,
std::vector< std::vector< NekDouble > > &  fielddata,
const FieldMetaDataMap fieldinfomap,
const bool  backup 
)

This function allows for data to be written to an FLD file when a session and/or communicator is not instantiated. Typically used in utilities which do not take XML input and operate in serial only.

Parameters
outFileOutput filename
fielddefsField definitions that define the output
fielddataBinary field data that stores the output corresponding to fielddefs.
fieldinfomapAssociated field metadata map.

Definition at line 247 of file FieldIO.cpp.

251{
252#ifdef NEKTAR_USE_MPI
253 int size;
254 int init;
255 MPI_Initialized(&init);
256
257 // If MPI has been initialised we can check the number of processes
258 // and, if > 1, tell the user he should not be running this
259 // function in parallel. If it is not initialised, we do not
260 // initialise it here, and assume the user knows what they are
261 // doing.
262 if (init)
263 {
264 MPI_Comm_size(MPI_COMM_WORLD, &size);
265 ASSERTL0(size == 1,
266 "This static function is not available in parallel. Please"
267 "instantiate a FieldIO object for parallel use.");
268 }
269#endif
270 CommSharedPtr c = GetCommFactory().CreateInstance("Serial", 0, 0);
272 f->Write(outFile, fielddefs, fielddata, fieldinfomap, backup);
273}

References ASSERTL0, Nektar::LibUtilities::NekFactory< tKey, tBase, tParam >::CreateInstance(), GetCommFactory(), and GetFieldIOFactory().

Referenced by main().

Variable Documentation

◆ BasisTypeMap

const char* const Nektar::LibUtilities::BasisTypeMap[]
Initial value:
= {
"NoBasisType", "Ortho_A", "Ortho_B",
"Ortho_C", "Modified_A", "Modified_B",
"Modified_C", "OrthoPyr_C", "ModifiedPyr_C",
"Fourier", "GLL_Lagrange", "Gauss_Lagrange",
"Legendre", "Chebyshev", "Monomial",
"FourierSingleMode", "FourierHalfModeRe", "FourierHalfModeIm"}

Definition at line 46 of file Foundations.hpp.

Referenced by export_Basis(), Nektar::LibUtilities::FieldIOXml::ImportFieldDefs(), operator<<(), Nektar::SpatialDomains::MeshGraph::ReadExpansionInfo(), Nektar::SolverUtils::DriverAdaptive::ReplaceExpansion(), and Nektar::LibUtilities::FieldIOXml::v_Write().

◆ EndianTypeMap

const std::string Nektar::LibUtilities::EndianTypeMap[]
Initial value:
= {"UnknownEndian", "BigEndian",
"LittleEndian", "BigWordEndian",
"LittleWordEndian"}

Definition at line 59 of file CompressData.h.

Referenced by Nektar::LibUtilities::CompressData::GetCompressString().

◆ fldCmdFormat

std::string Nektar::LibUtilities::fldCmdFormat
Initial value:
= SessionReader::RegisterCmdLineArgument(
"io-format", "i", "Default input/output format (e.g. Xml, Hdf5)")

Definition at line 66 of file FieldIO.cpp.

◆ functions_p

Nektar::LibUtilities::functions Nektar::LibUtilities::functions_p
static

◆ FunctionTypeMap

const char* const Nektar::LibUtilities::FunctionTypeMap[]
Initial value:
= {"No Function type", "Expression",
"File"}

Definition at line 99 of file SessionReader.h.

◆ kPointsTypeStr

const std::string Nektar::LibUtilities::kPointsTypeStr[]

◆ NodalTetElecAvailable

const size_t Nektar::LibUtilities::NodalTetElecAvailable = 10

Definition at line 67 of file NodalTetElecData.h.

◆ NodalTetElecData

const NekDouble Nektar::LibUtilities::NodalTetElecData[][9]
static

◆ NodalTetElecNPTS

const size_t Nektar::LibUtilities::NodalTetElecNPTS[NodalTetElecAvailable]
static
Initial value:
= {
1, 2, 3, 5, 6, 9, 11, 15, 18, 23}

Definition at line 68 of file NodalTetElecData.h.

Referenced by Nektar::LibUtilities::NodalTetElec::v_CalculatePoints().

◆ NodalTetSPIAvailable

const size_t Nektar::LibUtilities::NodalTetSPIAvailable = 10

Definition at line 42 of file NodalTetSPIData.h.

◆ NodalTetSPIData

const NekDouble Nektar::LibUtilities::NodalTetSPIData[][4]
static

◆ NodalTetSPINPTS

const size_t Nektar::LibUtilities::NodalTetSPINPTS[NodalTetSPIAvailable]
static
Initial value:
= {
1, 4, 8, 14, 14, 28, 36, 81, 121, 180}

Definition at line 43 of file NodalTetSPIData.h.

Referenced by Nektar::LibUtilities::NodalTetSPI::v_CalculatePoints(), and Nektar::LibUtilities::NodalTetSPI::v_CalculateWeights().

◆ NodalTriElecAvailable

const size_t Nektar::LibUtilities::NodalTriElecAvailable = 16

Definition at line 46 of file NodalTriElecData.h.

◆ NodalTriElecData

const NekDouble Nektar::LibUtilities::NodalTriElecData[][6]
static

◆ NodalTriElecNPTS

const size_t Nektar::LibUtilities::NodalTriElecNPTS[NodalTriElecAvailable]
static
Initial value:
= {
1, 2, 3, 4, 5, 7, 8, 10, 12, 14, 16, 19, 21, 24, 27, 30}

Definition at line 47 of file NodalTriElecData.h.

Referenced by Nektar::LibUtilities::NodalTriElec::v_CalculatePoints().

◆ NodalTriFeketeAvailable

const size_t Nektar::LibUtilities::NodalTriFeketeAvailable = 16

Definition at line 48 of file NodalTriFeketeData.h.

◆ NodalTriFeketeData

const NekDouble Nektar::LibUtilities::NodalTriFeketeData[][6]
static

◆ NodalTriFeketeNPTS

const size_t Nektar::LibUtilities::NodalTriFeketeNPTS[NodalTriFeketeAvailable]
static
Initial value:
= {
1, 2, 3, 4, 5, 7, 8, 10, 12, 14, 16, 19, 21, 24, 27, 30}

Definition at line 49 of file NodalTriFeketeData.h.

Referenced by Nektar::LibUtilities::NodalTriFekete::v_CalculatePoints().

◆ NodalTriSPIAvailable

const size_t Nektar::LibUtilities::NodalTriSPIAvailable = 10

Definition at line 42 of file NodalTriSPIData.h.

◆ NodalTriSPIData

const NekDouble Nektar::LibUtilities::NodalTriSPIData[][3]
static

◆ NodalTriSPINPTS

const size_t Nektar::LibUtilities::NodalTriSPINPTS[NodalTriSPIAvailable]
static
Initial value:
= {
1, 3, 6, 6, 7, 13, 16, 18, 22, 25}

Definition at line 43 of file NodalTriSPIData.h.

Referenced by Nektar::LibUtilities::NodalTriSPI::v_CalculatePoints(), and Nektar::LibUtilities::NodalTriSPI::v_CalculateWeights().

◆ NullBasisSharedPtr

BasisSharedPtr Nektar::LibUtilities::NullBasisSharedPtr
static

Definition at line 352 of file Basis.h.

Referenced by Nektar::MultiRegions::ExpList::v_GetHomogeneousBasis().

◆ NullBasisSharedPtr1DArray

Array<OneD, BasisSharedPtr> Nektar::LibUtilities::NullBasisSharedPtr1DArray
static

Definition at line 353 of file Basis.h.

◆ NullDomainRangeShPtr

DomainRangeShPtr Nektar::LibUtilities::NullDomainRangeShPtr
static

◆ NullFieldMetaDataMap

FieldMetaDataMap Nektar::LibUtilities::NullFieldMetaDataMap
static

◆ NullNekDoubleVector

std::vector<NekDouble> Nektar::LibUtilities::NullNekDoubleVector
static

Definition at line 949 of file SharedArray.hpp.

◆ NullPointsTypeVector

std::vector<LibUtilities::PointsType> Nektar::LibUtilities::NullPointsTypeVector
static

Definition at line 100 of file PointsType.h.

◆ NullPtsField

PtsFieldSharedPtr Nektar::LibUtilities::NullPtsField
static

◆ NullPtsInfoMap

std::map<PtsInfo, int> Nektar::LibUtilities::NullPtsInfoMap
static

◆ NullPtsMetaDataMap

PtsMetaDataMap Nektar::LibUtilities::NullPtsMetaDataMap
static

Definition at line 59 of file PtsIO.h.

◆ NullUnsignedIntVector

std::vector<unsigned int> Nektar::LibUtilities::NullUnsignedIntVector
static

◆ NullVectorNekDoubleVector

std::vector<std::vector<NekDouble> > Nektar::LibUtilities::NullVectorNekDoubleVector
static
Initial value:
= {
static std::vector< NekDouble > NullNekDoubleVector

Definition at line 951 of file SharedArray.hpp.

Referenced by Nektar::LibUtilities::FieldIOHdf5::v_Import(), and Nektar::LibUtilities::FieldIOXml::v_Import().

◆ perm12A_3d

const size_t Nektar::LibUtilities::perm12A_3d[12][4]
static
Initial value:
= {
{0, 1, 2, 3}, {0, 1, 3, 2}, {0, 2, 1, 3}, {0, 2, 3, 1},
{0, 3, 1, 2}, {0, 3, 2, 1}, {2, 0, 1, 3}, {2, 0, 3, 1},
{2, 3, 0, 1}, {3, 0, 1, 2}, {3, 0, 2, 1}, {3, 2, 0, 1}}

Definition at line 47 of file NodalTetElecData.h.

Referenced by Nektar::LibUtilities::NodalTetElec::v_CalculatePoints().

◆ perm12B_3d

const size_t Nektar::LibUtilities::perm12B_3d[12][4]
static
Initial value:
= {
{0, 1, 2, 3}, {0, 2, 1, 3}, {0, 2, 3, 1}, {1, 0, 2, 3},
{1, 2, 0, 3}, {1, 2, 3, 0}, {2, 0, 1, 3}, {2, 0, 3, 1},
{2, 1, 0, 3}, {2, 1, 3, 0}, {2, 3, 0, 1}, {2, 3, 1, 0}}

Definition at line 51 of file NodalTetElecData.h.

Referenced by Nektar::LibUtilities::NodalTetElec::v_CalculatePoints().

◆ perm12C_3d

const size_t Nektar::LibUtilities::perm12C_3d[12][4]
static
Initial value:
= {
{0, 1, 2, 3}, {0, 1, 3, 2}, {0, 3, 1, 2}, {1, 0, 2, 3},
{1, 0, 3, 2}, {1, 2, 0, 3}, {1, 2, 3, 0}, {1, 3, 0, 2},
{1, 3, 2, 0}, {3, 0, 1, 2}, {3, 1, 0, 2}, {3, 1, 2, 0}}

Definition at line 55 of file NodalTetElecData.h.

Referenced by Nektar::LibUtilities::NodalTetElec::v_CalculatePoints().

◆ perm24_3d

const size_t Nektar::LibUtilities::perm24_3d[24][4]
static
Initial value:
= {
{0, 1, 2, 3}, {0, 1, 3, 2}, {0, 2, 1, 3}, {0, 2, 3, 1}, {0, 3, 1, 2},
{0, 3, 2, 1}, {1, 0, 2, 3}, {1, 0, 3, 2}, {1, 2, 0, 3}, {1, 2, 3, 0},
{1, 3, 0, 2}, {1, 3, 2, 0}, {2, 0, 1, 3}, {2, 0, 3, 1}, {2, 1, 0, 3},
{2, 1, 3, 0}, {2, 3, 0, 1}, {2, 3, 1, 0}, {3, 0, 1, 2}, {3, 0, 2, 1},
{3, 1, 0, 2}, {3, 1, 2, 0}, {3, 2, 0, 1}, {3, 2, 1, 0}}

Definition at line 60 of file NodalTetElecData.h.

Referenced by Nektar::LibUtilities::NodalTetElec::v_CalculatePoints().

◆ perm3A_2d [1/2]

const size_t Nektar::LibUtilities::perm3A_2d[3][3]
static
Initial value:
= {
{0, 1, 2}, {2, 0, 1}, {0, 2, 1}}

Definition at line 39 of file NodalTriElecData.h.

Referenced by Nektar::LibUtilities::NodalTriElec::v_CalculatePoints(), and Nektar::LibUtilities::NodalTriFekete::v_CalculatePoints().

◆ perm3A_2d [2/2]

const size_t Nektar::LibUtilities::perm3A_2d[3][3]
static
Initial value:
= {
{0, 1, 2}, {2, 0, 1}, {0, 2, 1}}

Definition at line 39 of file NodalTriFeketeData.h.

◆ perm3B_2d [1/2]

const size_t Nektar::LibUtilities::perm3B_2d[3][3]
static
Initial value:
= {
{0, 1, 2}, {1, 0, 2}, {1, 2, 0}}

Definition at line 41 of file NodalTriElecData.h.

Referenced by Nektar::LibUtilities::NodalTriElec::v_CalculatePoints(), and Nektar::LibUtilities::NodalTriFekete::v_CalculatePoints().

◆ perm3B_2d [2/2]

const size_t Nektar::LibUtilities::perm3B_2d[3][3]
static
Initial value:
= {
{0, 1, 2}, {1, 0, 2}, {1, 2, 0}}

Definition at line 41 of file NodalTriFeketeData.h.

◆ perm3C_2d

const size_t Nektar::LibUtilities::perm3C_2d[3][3]
static
Initial value:
= {
{0, 1, 2}, {2, 0, 1}, {1, 2, 0}}

Definition at line 43 of file NodalTriFeketeData.h.

◆ perm4_3d

const size_t Nektar::LibUtilities::perm4_3d[4][4]
static
Initial value:
= {{0, 1, 2, 3},
{3, 0, 1, 2},
{2, 3, 0, 1},
{1, 2, 3, 0}}

Definition at line 39 of file NodalTetElecData.h.

Referenced by Nektar::LibUtilities::NodalTetElec::v_CalculatePoints().

◆ perm6_2d [1/2]

const size_t Nektar::LibUtilities::perm6_2d[6][3]
static
Initial value:
= {
{0, 1, 2}, {1, 0, 2}, {2, 0, 1},
{2, 1, 0}, {0, 2, 1}, {1, 2, 0}}

Definition at line 43 of file NodalTriElecData.h.

Referenced by Nektar::LibUtilities::NodalTriElec::v_CalculatePoints(), and Nektar::LibUtilities::NodalTriFekete::v_CalculatePoints().

◆ perm6_2d [2/2]

const size_t Nektar::LibUtilities::perm6_2d[6][3]
static
Initial value:
= {{0, 1, 2}, {1, 0, 2},
{2, 0, 1}, {2, 1, 0},
{0, 2, 1}, {1, 2, 0}}

Definition at line 45 of file NodalTriFeketeData.h.

◆ perm6_3d

const size_t Nektar::LibUtilities::perm6_3d[6][4]
static
Initial value:
= {
{0, 1, 2, 3}, {0, 2, 1, 3}, {0, 2, 3, 1},
{2, 0, 1, 3}, {2, 0, 3, 1}, {2, 3, 0, 1}}

Definition at line 43 of file NodalTetElecData.h.

Referenced by Nektar::LibUtilities::NodalTetElec::v_CalculatePoints().

◆ ReduceOperatorMap

const char* const Nektar::LibUtilities::ReduceOperatorMap[] = {"ReduceSum", "ReduceMax", "ReduceMin"}

Definition at line 74 of file Comm.h.

Referenced by export_Comm().

◆ ShapeTypeDimMap

constexpr unsigned int Nektar::LibUtilities::ShapeTypeDimMap[SIZE_ShapeType]
constexpr
Initial value:
= {
0,
0,
1,
2,
2,
3,
3,
3,
3,
}

Definition at line 85 of file ShapeType.hpp.

Referenced by Nektar::StdRegions::operator<<(), and Nektar::Collections::CollectionOptimisation::ReadCollOps().

◆ ShapeTypeMap

const char* const Nektar::LibUtilities::ShapeTypeMap[SIZE_ShapeType]