MeshKernel
Public Attributes | List of all members
meshkernel::MakeGridParameters Struct Reference

This struct describes the necessary parameters to create a new curvilinear grid in a C-compatible manner. More...

#include <Parameters.hpp>

Public Attributes

int num_columns = 3
 The number of columns in x direction.
 
int num_rows = 3
 The number of rows in y direction.
 
double angle = 0.0
 The grid angle.
 
double origin_x = 0.0
 The x coordinate of the origin, located at the bottom left corner.
 
double origin_y = 0.0
 The y coordinate of the origin, located at the bottom left corner.
 
double block_size_x = 10.0
 The grid block size in x dimension, used only for squared grids.
 
double block_size_y = 10.0
 The grid block size in y dimension, used only for squared grids.
 
double upper_right_x = 0.0
 The x coordinate of the upper right corner.
 
double upper_right_y = 0.0
 The y coordinate of the upper right corner.
 
double radius_curvature = 0.0
 Radius of curvature.
 
double uniform_columns_fraction = 0.25
 Fraction of cells containing the default grid column size. More...
 
double uniform_rows_fraction = 0.25
 Fraction of cells containing the default grid row size.
 
double maximum_uniform_size_columns = 5.0
 Maximum element column size.
 
double maximum_uniform_size_rows = 5.0
 Maximum element row size.
 

Detailed Description

This struct describes the necessary parameters to create a new curvilinear grid in a C-compatible manner.

See also
mkernel_make_mesh

Member Data Documentation

◆ uniform_columns_fraction

double meshkernel::MakeGridParameters::uniform_columns_fraction = 0.25

Fraction of cells containing the default grid column size.

E.g. if num_columns = 50 then: 0.25 * 50 + 1 = 13 + 1


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