MeshKernel
Static Public Member Functions | List of all members
meshkernel::Mesh2DGenerateGlobal Class Reference

Construct a global grid in spherical coordinates, as a base for later mesh refinements. More...

#include <Mesh2DGenerateGlobal.hpp>

Static Public Member Functions

static std::unique_ptr< Mesh2DCompute (const UInt numLongitudeNodes, const UInt numLatitudeNodes, const Projection projection)
 Compute the global mesh with a given number of points along the longitude and latitude directions. More...
 

Detailed Description

Construct a global grid in spherical coordinates, as a base for later mesh refinements.

Member Function Documentation

◆ Compute()

static std::unique_ptr<Mesh2D> meshkernel::Mesh2DGenerateGlobal::Compute ( const UInt  numLongitudeNodes,
const UInt  numLatitudeNodes,
const Projection  projection 
)
static

Compute the global mesh with a given number of points along the longitude and latitude directions.

Parameters
[in]numLongitudeNodesThe number of points along the longitude.
[in]numLatitudeNodesThe number of points along the latitude (half hemisphere).
[in]projectionThe projection to be used.
Returns
A unique pointer to the generated Mesh2D representing the global grid.

The documentation for this class was generated from the following file: