Loading [MathJax]/extensions/tex2jax.js
MeshKernel
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages Concepts
Static Public Member Functions | List of all members
meshkernel::CasulliRefinement Class Reference

Compute the Casulli refinement for a mesh. More...

#include <CasulliRefinement.hpp>

Static Public Member Functions

static std::unique_ptr< meshkernel::UndoAction > Compute (Mesh2D &mesh)
 Compute the Casulli refinement for the entire mesh.
 
static std::unique_ptr< meshkernel::UndoAction > Compute (Mesh2D &mesh, const Polygons &polygon)
 Compute the Casulli refinement for the part of the mesh inside the polygon.
 
static std::unique_ptr< meshkernel::UndoAction > Compute (Mesh2D &mesh, const Polygons &polygon, const std::vector< double > &depthValues, const MeshRefinementParameters &refinementParameters, const double minimumDepthRefinement)
 Compute the Casulli refinement for the part of the mesh inside the polygon.
 
static std::unique_ptr< meshkernel::UndoAction > Compute (Mesh2D &mesh, const Polygons &polygon, const SampleInterpolator &interpolator, const int propertyId, const MeshRefinementParameters &refinementParameters, const double minimumDepthRefinement)
 Compute the Casulli refinement for the part of the mesh inside the polygon.
 

Detailed Description

Compute the Casulli refinement for a mesh.

Member Function Documentation

◆ Compute() [1/4]

static std::unique_ptr< meshkernel::UndoAction > meshkernel::CasulliRefinement::Compute ( Mesh2D mesh)
static

Compute the Casulli refinement for the entire mesh.

Parameters
[in,out]meshMesh to be refined

◆ Compute() [2/4]

static std::unique_ptr< meshkernel::UndoAction > meshkernel::CasulliRefinement::Compute ( Mesh2D mesh,
const Polygons polygon 
)
static

Compute the Casulli refinement for the part of the mesh inside the polygon.

Parameters
[in,out]meshMesh to be refined
[in]polygonArea within which the mesh will be refined

◆ Compute() [3/4]

static std::unique_ptr< meshkernel::UndoAction > meshkernel::CasulliRefinement::Compute ( Mesh2D mesh,
const Polygons polygon,
const SampleInterpolator interpolator,
const int  propertyId,
const MeshRefinementParameters refinementParameters,
const double  minimumDepthRefinement 
)
static

Compute the Casulli refinement for the part of the mesh inside the polygon.

Parameters
[in,out]meshMesh to be refined
[in]polygonArea within which the mesh will be refined
[in]interpolatorThe interpolator of the values
[in]propertyIdThe identifier used by the interpolator
[in]refinementParametersMesh refinement parameters
[in]minimumDepthRefinementNodes with depth value less than this value will not be marked for refinement

◆ Compute() [4/4]

static std::unique_ptr< meshkernel::UndoAction > meshkernel::CasulliRefinement::Compute ( Mesh2D mesh,
const Polygons polygon,
const std::vector< double > &  depthValues,
const MeshRefinementParameters refinementParameters,
const double  minimumDepthRefinement 
)
static

Compute the Casulli refinement for the part of the mesh inside the polygon.

Parameters
[in,out]meshMesh to be refined
[in]polygonArea within which the mesh will be refined
[in]depthValuesThe depth values at nodes
[in]refinementParametersMesh refinement parameters
[in]minimumDepthRefinementNodes with depth value less than this value will not be marked for refinement

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