30#include "MeshKernel/Definitions.hpp"
36#if defined(__linux__) || defined(__APPLE__)
37#pragma GCC diagnostic push
38#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
43#if defined(__linux__) || defined(__APPLE__)
44#pragma GCC diagnostic pop
55 constexpr double innerOuterSeparator = -998.0;
56 constexpr double doubleValue = -999.0;
57 constexpr int intValue = -999;
58 constexpr UInt uintValue = std::numeric_limits<UInt>::max();
59 constexpr Eigen::Index EigenIndexValue = std::numeric_limits<Eigen::Index>::max();
66 static double const squareRootOfThree = std::sqrt(3.0);
67 constexpr double oneThird = 1.0 / 3.0;
68 constexpr int defaultSnappingIterations = 5;
75 constexpr double degToRad = M_PI / 180.0;
76 constexpr double radToDeg = 1.0 / degToRad;
83 constexpr double earth_radius = 6378137.0;
84 constexpr double inverse_earth_radius = 1.0 / earth_radius;
85 constexpr double absLatitudeAtPoles = 0.0001;
86 constexpr double refinementTolerance = 1.0e-2;
87 constexpr UInt numNodesInQuadrilateral = 4;
88 constexpr UInt numNodesInTriangle = 3;
89 constexpr UInt numNodesInPentagon = 5;
90 constexpr UInt numNodesInHexagon = 6;
91 constexpr UInt maximumNumberOfEdgesPerNode = 16;
92 constexpr UInt maximumNumberOfEdgesPerFace = 6;
93 constexpr UInt maximumNumberOfNodesPerFace = 6;
94 constexpr UInt maximumNumberOfConnectedNodes = maximumNumberOfEdgesPerNode * 4;
100 constexpr double gravity = 9.80665;
101 static double const sqrt_gravity = std::sqrt(gravity);
Contains the logic of the C++ static library.
Definition AveragingInterpolation.hpp:37
std::uint32_t UInt
Integer type used when indexing mesh graph entities.
Definition Definitions.hpp:39