Skip to main content

Interface fortran::syscchecksurfacemeshvalidityf

Definition: syscSystemCouplingF.fi (line 826)

Provide an interface to perform simple mesh validity checks.

Members

Public functions

Function syscchecksurfacemeshvalidityf

type(syscerrorf) function syscchecksurfacemeshvalidityf(surfaceMesh)

Provide a function to perform simple mesh validity checks.

This function is provided as a testing and debugging tool and is not meant to be used in production workflows. System Coupling itself will not call this function for performance reasons.

The function will check the surface mesh for detectable problems. For example, it will check if array sizes are consistent, that elemNodeIds array only contains ids that are found in nodeIds array, etc. It is not an exhaustive validity check - the mesh can still have problems even if all checks passed.

Parameters:

  • surfaceMesh: - surface mesh to be checked

Returns:

Return value is SyscErrorF type. If mesh checks passed, then retcode will be 0. If mesh checks failed, then retcode will be not 0 and message that contains information about about the particular issue.

Parameters:

  • surfaceMeshsurfaceMesh

Return type: type(syscerrorf) function