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

Orthogonalizion (optimize the aspect ratios) and mesh smoothing (optimize internal face angles or area). More...

#include <Smoother.hpp>

Public Member Functions

 Smoother (const Mesh2D &mesh)
 Mesh2D constructor. More...
 
void Compute ()
 Computes the smoother weights.
 
auto GetWeight (UInt node, int connectedNode) const
 Gets the weight for a certain node and connected node. More...
 
auto GetConnectedNodeIndex (UInt node, int connectedNode) const
 Get the index of the connected node as assigned by the smoother administration. More...
 
auto GetNumConnectedNodes (UInt node) const
 Get number of connected nodes. More...
 

Detailed Description

Orthogonalizion (optimize the aspect ratios) and mesh smoothing (optimize internal face angles or area).

Constructor & Destructor Documentation

◆ Smoother()

meshkernel::Smoother::Smoother ( const Mesh2D mesh)
explicit

Mesh2D constructor.

mesh

Member Function Documentation

◆ GetConnectedNodeIndex()

auto meshkernel::Smoother::GetConnectedNodeIndex ( UInt  node,
int  connectedNode 
) const
inline

Get the index of the connected node as assigned by the smoother administration.

node

connectedNode

Returns

◆ GetNumConnectedNodes()

auto meshkernel::Smoother::GetNumConnectedNodes ( UInt  node) const
inline

Get number of connected nodes.

node

Returns

◆ GetWeight()

auto meshkernel::Smoother::GetWeight ( UInt  node,
int  connectedNode 
) const
inline

Gets the weight for a certain node and connected node.

node

connectedNode

Returns

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