MeshKernel
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages Concepts
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 (const Mesh2D &mesh, const std::vector< std::vector< UInt > > &nodesNodes, const std::vector< MeshNodeType > &nodeTypes)
 Constructor.
 
void Compute ()
 Computes the smoother weights and the right hand side.
 
double GetWeight (UInt node, UInt connectedNode) const
 Gets the weight for a certain node and connected node.
 
double GetRightHandSide (UInt node, UInt connectedNode) const
 Gets the weight for a certain node and connected node.
 

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: