Skip to main content

System Coupling Fortran library 2024 R2

syscchecksurfacemeshvalidityf Interface Reference

Last update: 17.07.2025

Provide an interface to perform simple mesh validity checks. More...

Public Member Functions

type(syscerrorf) function syscchecksurfacemeshvalidityf (surfacemesh)
 Provide a function to perform simple mesh validity checks.
 

Detailed Description

Provide an interface to perform simple mesh validity checks.

Definition at line 826 of file syscSystemCouplingF.fi.

Constructor & Destructor Documentation

◆ syscchecksurfacemeshvalidityf()

type(syscerrorf) function syscchecksurfacemeshvalidityf ( type(syscsurfacemeshf 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
[in]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.

Definition at line 847 of file syscSystemCouplingF.fi.

848!
849 import :: syscsurfacemeshf
850 import :: syscerrorf
851 type(SyscSurfaceMeshF) :: surfaceMesh
852 type(SyscErrorF) :: ret
853!
854!DIR$ IF DEFINED(_WIN32) .and. ( .not. DEFINED(SYSTEM_COUPLING_PARTICIPANT_PROXY))
855!DIR$ ATTRIBUTES DLLIMPORT :: syscCheckSurfaceMeshValidityF
856!DIR$ ENDIF
857!

Connect with Ansys