    

 ## On this page

  

 

 # syscVolumeMeshF

 Last update: 17.07.2025 

<a id="l00001" name="l00001"></a> 1module fortran

<a id="l00002" name="l00002"></a> 2!

<a id="l00003" name="l00003"></a> 3! Copyright ANSYS, Inc. 

<a id="l00004" name="l00004"></a> 4! Unauthorized use, distribution, or duplication is prohibited.

<a id="l00005" name="l00005"></a> 5!

<a id="l00006" name="l00006"></a> 6! Provide free-form Fortran interface for

<a id="l00007" name="l00007"></a> 7! System Coupling Participant Library.

<a id="l00008" name="l00008"></a> 8!

<a id="l00009" name="l00009"></a> 9! \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

<a id="l00011" name="l00011"></a> 11! \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

<a id="l00012" name="l00012"></a>[ 12](structfortran_1_1syscvolumemeshf.xhtml)type :: [syscvolumemeshf](structfortran_1_1syscvolumemeshf.xhtml)

<a id="l00013" name="l00013"></a>[ 13](structfortran_1_1syscvolumemeshf.xhtml#a9ce996d7ce626bd972c2fe728972b2bd)type([syscnodedataf](structfortran_1_1syscnodedataf.xhtml)) :: nodes

<a id="l00014" name="l00014"></a> 14 

<a id="l00015" name="l00015"></a>[ 15](structfortran_1_1syscvolumemeshf.xhtml#a2abe8c3dbc5763c1d6a59c79a2e14e79)type([syscelementnodecountdataf](structfortran_1_1syscelementnodecountdataf.xhtml)) :: facenodecounts

<a id="l00016" name="l00016"></a> 16 

<a id="l00017" name="l00017"></a>[ 17](structfortran_1_1syscvolumemeshf.xhtml#a62c5148ef54c724d306a1d2ed512ccf1)type([syscelementnodeconnectivitydataf](structfortran_1_1syscelementnodeconnectivitydataf.xhtml)) :: facenodeconnectivity

<a id="l00018" name="l00018"></a> 18 

<a id="l00019" name="l00019"></a>[ 19](structfortran_1_1syscvolumemeshf.xhtml#a60fd49965317a12753680728055cddcf)type([syscfacecellconnectivitydataf](structfortran_1_1syscfacecellconnectivitydataf.xhtml)) :: facecellconnectivity

<a id="l00020" name="l00020"></a> 20 

<a id="l00021" name="l00021"></a>[ 21](structfortran_1_1syscvolumemeshf.xhtml#a951c6d0afd7b7c9755fbafe582a2302a)type([sysccelliddataf](structfortran_1_1sysccelliddataf.xhtml)) :: cellids

<a id="l00022" name="l00022"></a> 22 

<a id="l00023" name="l00023"></a>[ 23](structfortran_1_1syscvolumemeshf.xhtml#a53b9beb7b95f41d2958d1ad46365475b)type([syscelementtypedataf](structfortran_1_1syscelementtypedataf.xhtml)) :: celltypes

<a id="l00024" name="l00024"></a> 24 

<a id="l00025" name="l00025"></a>[ 25](structfortran_1_1syscvolumemeshf.xhtml#afe81e5f19dbe8088d8f63e8ccb6ec3c4)type([syscelementnodeconnectivitydataf](structfortran_1_1syscelementnodeconnectivitydataf.xhtml)) :: cellnodeconnectivity

<a id="l00026" name="l00026"></a> 26 

<a id="l00027" name="l00027"></a> 27end type [syscvolumemeshf](structfortran_1_1syscvolumemeshf.xhtml)



<a id="l00028" name="l00028"></a> 28!

<a id="l00029" name="l00029"></a> 29!\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

<a id="l00031" name="l00031"></a> 31!\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

<a id="l00032" name="l00032"></a>[ 32](interfacefortran_1_1syscgetvolumemeshf.xhtml)interface [syscgetvolumemeshf](interfacefortran_1_1syscgetvolumemeshf.xhtml)

<a id="l00033" name="l00033"></a> 33!

<a id="l00034" name="l00034"></a> 34!\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

<a id="l00036" name="l00036"></a> 36!\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

<a id="l00037" name="l00037"></a>[ 37](interfacefortran_1_1syscgetvolumemeshf.xhtml#a8fdc69302a91089a36d3cc20b58affab)function syscgetvolumemeshf_empty() result (ret)

<a id="l00038" name="l00038"></a> 38import :: [syscvolumemeshf](structfortran_1_1syscvolumemeshf.xhtml)

<a id="l00039" name="l00039"></a> 39type([syscvolumemeshf](structfortran_1_1syscvolumemeshf.xhtml)) :: ret

<a id="l00040" name="l00040"></a> 40!DIR$ IF DEFINED(\_WIN32) .and. ( .not. DEFINED(SYSTEM\_COUPLING\_PARTICIPANT\_PROXY))

<a id="l00041" name="l00041"></a> 41!DIR$ ATTRIBUTES DLLIMPORT :: syscGetVolumeMeshF\_Empty

<a id="l00042" name="l00042"></a> 42!DIR$ ENDIF



<a id="l00043" name="l00043"></a> 43end function syscgetvolumemeshf_empty

<a id="l00044" name="l00044"></a> 44!

<a id="l00045" name="l00045"></a> 45!\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

<a id="l00057" name="l00057"></a> 57!\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

<a id="l00058" name="l00058"></a>[ 58](interfacefortran_1_1syscgetvolumemeshf.xhtml#a67946a37e16edb40665a133c48f1f492)function syscgetvolumemeshf_facebased(&amp;

<a id="l00059" name="l00059"></a> 59nodes,&amp;

<a id="l00060" name="l00060"></a> 60faceNodeCounts,&amp;

<a id="l00061" name="l00061"></a> 61faceNodeConn,&amp;

<a id="l00062" name="l00062"></a> 62faceCellConn,&amp;

<a id="l00063" name="l00063"></a> 63cellIds) result (ret)

<a id="l00064" name="l00064"></a> 64 import :: [syscvolumemeshf](structfortran_1_1syscvolumemeshf.xhtml), [syscnodedataf](structfortran_1_1syscnodedataf.xhtml), &amp;

<a id="l00065" name="l00065"></a> 65 [syscelementnodecountdataf](structfortran_1_1syscelementnodecountdataf.xhtml), [syscelementnodeconnectivitydataf](structfortran_1_1syscelementnodeconnectivitydataf.xhtml), &amp;

<a id="l00066" name="l00066"></a> 66 [syscfacecellconnectivitydataf](structfortran_1_1syscfacecellconnectivitydataf.xhtml), [sysccelliddataf](structfortran_1_1sysccelliddataf.xhtml)

<a id="l00067" name="l00067"></a> 67 type([syscnodedataf](structfortran_1_1syscnodedataf.xhtml)), intent(in) :: nodes

<a id="l00068" name="l00068"></a> 68 type([syscelementnodecountdataf](structfortran_1_1syscelementnodecountdataf.xhtml)), intent(in) :: facenodecounts

<a id="l00069" name="l00069"></a> 69 type([syscelementnodeconnectivitydataf](structfortran_1_1syscelementnodeconnectivitydataf.xhtml)), intent(in) :: facenodeconn

<a id="l00070" name="l00070"></a> 70 type([syscfacecellconnectivitydataf](structfortran_1_1syscfacecellconnectivitydataf.xhtml)), intent(in) :: facecellconn

<a id="l00071" name="l00071"></a> 71 type([sysccelliddataf](structfortran_1_1sysccelliddataf.xhtml)), intent(in) :: cellids

<a id="l00072" name="l00072"></a> 72 type([syscvolumemeshf](structfortran_1_1syscvolumemeshf.xhtml)) :: ret

<a id="l00073" name="l00073"></a> 73!DIR$ IF DEFINED(\_WIN32) .and. ( .not. DEFINED(SYSTEM\_COUPLING\_PARTICIPANT\_PROXY))

<a id="l00074" name="l00074"></a> 74!DIR$ ATTRIBUTES DLLIMPORT :: syscGetVolumeMeshF\_FaceBased

<a id="l00075" name="l00075"></a> 75!DIR$ ENDIF



<a id="l00076" name="l00076"></a> 76 end function syscgetvolumemeshf_facebased

<a id="l00077" name="l00077"></a> 77!

<a id="l00078" name="l00078"></a> 78!\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

<a id="l00086" name="l00086"></a> 86!\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

<a id="l00087" name="l00087"></a>[ 87](interfacefortran_1_1syscgetvolumemeshf.xhtml#ac4dc22d1b343320bc499ba2f7f126a0d)function syscgetvolumemeshf_elementbased(&amp;

<a id="l00088" name="l00088"></a> 88 nodes,&amp;

<a id="l00089" name="l00089"></a> 89 cellTypes,&amp;

<a id="l00090" name="l00090"></a> 90 cellNodeConn) result (ret)

<a id="l00091" name="l00091"></a> 91 import :: [syscvolumemeshf](structfortran_1_1syscvolumemeshf.xhtml), [syscnodedataf](structfortran_1_1syscnodedataf.xhtml), &amp;

<a id="l00092" name="l00092"></a> 92 [syscelementtypedataf](structfortran_1_1syscelementtypedataf.xhtml), [syscelementnodeconnectivitydataf](structfortran_1_1syscelementnodeconnectivitydataf.xhtml)

<a id="l00093" name="l00093"></a> 93 type([syscnodedataf](structfortran_1_1syscnodedataf.xhtml)), intent(in) :: nodes

<a id="l00094" name="l00094"></a> 94 type([syscelementtypedataf](structfortran_1_1syscelementtypedataf.xhtml)), intent(in) :: celltypes

<a id="l00095" name="l00095"></a> 95 type([syscelementnodeconnectivitydataf](structfortran_1_1syscelementnodeconnectivitydataf.xhtml)), intent(in) :: cellnodeconn

<a id="l00096" name="l00096"></a> 96 type([syscvolumemeshf](structfortran_1_1syscvolumemeshf.xhtml)) :: ret

<a id="l00097" name="l00097"></a> 97 !DIR$ IF DEFINED(\_WIN32) .and. ( .not. DEFINED(SYSTEM\_COUPLING\_PARTICIPANT\_PROXY))

<a id="l00098" name="l00098"></a> 98 !DIR$ ATTRIBUTES DLLIMPORT :: syscGetVolumeMeshF\_ElementBased

<a id="l00099" name="l00099"></a> 99 !DIR$ ENDIF



<a id="l00100" name="l00100"></a> 100 end function syscgetvolumemeshf_elementbased

<a id="l00101" name="l00101"></a> 101!



<a id="l00102" name="l00102"></a> 102end interface [syscgetvolumemeshf](interfacefortran_1_1syscgetvolumemeshf.xhtml)

<a id="l00103" name="l00103"></a> 103!

<a id="l00104" name="l00104"></a> 104end module fortran

[fortran::syscgetvolumemeshf](interfacefortran_1_1syscgetvolumemeshf.xhtml)

Provide an interface to get volume mesh.

**Definition** [syscVolumeMeshF.fi:32](syscVolumeMeshF_8fi_source.xhtml#l00032)



[fortran::sysccelliddataf](structfortran_1_1sysccelliddataf.xhtml)

**Definition** [syscMeshDefinitionF.fi:245](syscMeshDefinitionF_8fi_source.xhtml#l00245)



[fortran::syscelementnodeconnectivitydataf](structfortran_1_1syscelementnodeconnectivitydataf.xhtml)

**Definition** [syscMeshDefinitionF.fi:171](syscMeshDefinitionF_8fi_source.xhtml#l00171)



[fortran::syscelementnodecountdataf](structfortran_1_1syscelementnodecountdataf.xhtml)

**Definition** [syscMeshDefinitionF.fi:135](syscMeshDefinitionF_8fi_source.xhtml#l00135)



[fortran::syscelementtypedataf](structfortran_1_1syscelementtypedataf.xhtml)

**Definition** [syscMeshDefinitionF.fi:96](syscMeshDefinitionF_8fi_source.xhtml#l00096)



[fortran::syscfacecellconnectivitydataf](structfortran_1_1syscfacecellconnectivitydataf.xhtml)

**Definition** [syscMeshDefinitionF.fi:207](syscMeshDefinitionF_8fi_source.xhtml#l00207)



[fortran::syscnodedataf](structfortran_1_1syscnodedataf.xhtml)

**Definition** [syscMeshDefinitionF.fi:25](syscMeshDefinitionF_8fi_source.xhtml#l00025)



[fortran::syscvolumemeshf](structfortran_1_1syscvolumemeshf.xhtml)

Provide a volume mesh access type.

**Definition** [syscVolumeMeshF.fi:12](syscVolumeMeshF_8fi_source.xhtml#l00012)