MeshKernel
Loading...
Searching...
No Matches
Public Member Functions | List of all members
meshkernelapi::FaceCircumcenterPropertyCalculator Class Reference

Calculator for the face circumcenter for a mesh. More...

#include <FaceCircumcenterPropertyCalculator.hpp>

Inheritance diagram for meshkernelapi::FaceCircumcenterPropertyCalculator:
meshkernelapi::PropertyCalculator

Public Member Functions

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 face circumcentres for a mesh.
 
int Size (const MeshKernelState &state, const meshkernel::Location location) const override
 Determine the size of the face circumcentre vector required.
 
- Public Member Functions inherited from meshkernelapi::PropertyCalculator
virtual ~PropertyCalculator ()=default
 Destructor.
 

Detailed Description

Calculator for the face circumcenter for a mesh.

Member Function Documentation

◆ Calculate()

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

Calculate the face circumcentres for a mesh.

Note
This calculator is for mesh faces only

Implements meshkernelapi::PropertyCalculator.

◆ IsValid()

bool meshkernelapi::FaceCircumcenterPropertyCalculator::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 faces

Implements meshkernelapi::PropertyCalculator.

◆ Size()

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

Determine the size of the face circumcentre vector required.

Implements meshkernelapi::PropertyCalculator.


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