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

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

#include <Orthogonalizer.hpp>

Public Member Functions

 Orthogonalizer (Mesh2D &mesh)
 Constructor.
 
void Compute ()
 Computes the smoother weights and the right hans side.
 
double GetWeight (UInt node, UInt connectedNode) const
 Gets the weight for a certain node and connected node. More...
 
double GetRightHandSide (UInt node, UInt connectedNode) const
 Gets the weight for a certain node and connected node. More...
 

Detailed Description

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

Member Function Documentation

◆ GetRightHandSide()

double meshkernel::Orthogonalizer::GetRightHandSide ( UInt  node,
UInt  connectedNode 
) const
inline

Gets the weight for a certain node and connected node.

node

connectedNode

Returns
The contribution of orthogonalizer to the right hand size

◆ GetWeight()

double meshkernel::Orthogonalizer::GetWeight ( UInt  node,
UInt  connectedNode 
) const
inline

Gets the weight for a certain node and connected node.

node

connectedNode

Returns
The contribution of orthogonalizer to the left hand side, the linear system

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