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

Calculator for orthogonality of a mesh. More...

#include <PropertyCalculator.hpp>

Inheritance diagram for meshkernelapi::OrthogonalityPropertyCalculator:
meshkernelapi::PropertyCalculator

Public Member Functions

virtual bool IsValid (const MeshKernelState &state, const meshkernel::Location location) const override
 Determine is the calculator can compute the desired results correctly.
 
void Calculate (const MeshKernelState &state, const meshkernel::Location location, const GeometryList &geometryList) const override
 Calculate the orthogonality for a mesh.
 
int Size (const MeshKernelState &state, const meshkernel::Location location) const override
 Determine the size of the orthogonality vector required.
 
- Public Member Functions inherited from meshkernelapi::PropertyCalculator
virtual ~PropertyCalculator ()=default
 Destructor.
 

Detailed Description

Calculator for orthogonality of a mesh.

Member Function Documentation

◆ Calculate()

void meshkernelapi::OrthogonalityPropertyCalculator::Calculate ( const MeshKernelState state,
const meshkernel::Location  location,
const GeometryList geometryList 
) const
overridevirtual

Calculate the orthogonality for a mesh.

Implements meshkernelapi::PropertyCalculator.

◆ IsValid()

virtual bool meshkernelapi::OrthogonalityPropertyCalculator::IsValid ( const MeshKernelState state,
const meshkernel::Location  location 
) const
overridevirtual

Determine is the calculator can compute the desired results correctly.

This has a default of checking that the mesh2d is valid and the location is at edges

Implements meshkernelapi::PropertyCalculator.

◆ Size()

int meshkernelapi::OrthogonalityPropertyCalculator::Size ( const MeshKernelState state,
const meshkernel::Location  location 
) const
overridevirtual

Determine the size of the orthogonality vector required.

Implements meshkernelapi::PropertyCalculator.


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