4.1 BasicConst

This directory contains two important files for all of Nektar++: NektarUnivConsts.hpp and NektarUnivTypeDefs.hpp.

The file NektarUnivConsts.hpp contains various default constants used within Nektar++ as seen here:

1        static const NekDouble kNekMinResidInit = 1e16; 
2        static const NekDouble kVertexTheSameDouble  = 1.0e-8; 
3        static const NekDouble kGeomFactorsTol = 1.0e-8; 
4        static const NekDouble kNekZeroTol = 1.0e-12; 
5        static const NekDouble kGeomRightAngleTol = 1e-14; 
6        static const NekDouble kNekSqrtTol = 1.0e-16; 
7        static const NekDouble kNekIterativeTol = 1e-09; 
8        static const NekDouble kNekSparseNonZeroTol = 1e-16; 
10        // Tolerances for mesh generation and CAD handling 
11        static const NekDouble GeomTol = 1E-2; 
12        static const NekDouble CoinTol = 1E-6; 
13    }

The file NektarUnivTypeDefs.hpp contains the low level typedefs such as: NekDouble, NekInt, OneD, TwoD, ThreeD, FourD, and enumerations such as Direction (xDir, yDir and zDir) and OutputFormat.