@@ -13,15 +13,15 @@ module polympo
1313 subroutine polympo_initialize () bind(C, NAME= ' polympo_initialize_f' )
1414 use :: iso_c_binding
1515 end subroutine
16-
16+
1717 !- --------------------------------------------------------------------------
1818 ! > @brief finalize polympo, no polympo apis may be called after this
1919 ! > @remark the user must not finalize MPI until after this call
2020 !- --------------------------------------------------------------------------
2121 subroutine polympo_finalize () bind(C, NAME= ' polympo_finalize_f' )
2222 use :: iso_c_binding
2323 end subroutine
24-
24+
2525 !- --------------------------------------------------------------------------
2626 ! > @brief create MPMesh object
2727 ! > @param testMeshOption >0 init a planar test Mesh
@@ -35,7 +35,7 @@ function polympo_createMPMesh(setMeshOption, setMPOption) bind(C, NAME='polympo_
3535 type (c_ptr) polympo_createMPMesh
3636 integer (c_int), value :: setMeshOption, setMPOption
3737 end function
38-
38+
3939 !- --------------------------------------------------------------------------
4040 ! > @brief delete MPMesh object
4141 ! > @param mpmesh(in/out) MPMesh object
@@ -44,7 +44,7 @@ subroutine polympo_deleteMPMesh(mpMesh) bind(C, NAME='polympo_deleteMPMesh_f')
4444 use :: iso_c_binding
4545 type (c_ptr), value :: mpMesh
4646 end subroutine
47-
47+
4848 !- --------------------------------------------------------------------------
4949 ! > @brief set the MPI communicator used by polympo
5050 ! > @param comm(in) MPI communicator
@@ -55,13 +55,13 @@ subroutine polympo_setMPICommunicator(mpMesh, comm) &
5555 type (c_ptr), value :: mpMesh
5656 integer (c_int), value :: comm
5757 end subroutine
58-
58+
5959 subroutine polympo_startCommunication (mpMesh ) &
6060 bind(C, NAME= ' polympo_startCommunication_f' )
6161 use :: iso_c_binding
6262 type (c_ptr), value :: mpMesh
6363 end subroutine
64-
64+
6565 !- --------------------------------------------------------------------------
6666 ! > @brief create the material points
6767 ! > @brief the fields associated with the MPs are NOT initialized
@@ -82,7 +82,7 @@ subroutine polympo_createMPs(mpMesh, numElms, numMPs, mpsPerElm, mp2Elm, isMPAct
8282 type (c_ptr), intent (in ), value :: mp2Elm
8383 type (c_ptr), intent (in ), value :: isMPActive
8484 end subroutine
85-
85+
8686 !- --------------------------------------------------------------------------
8787 ! > @brief move MPs to a new element, add new MPs, or delete MPs
8888 ! > @brief the fields associated with the MPs are NOT initialized
@@ -128,7 +128,7 @@ subroutine polympo_finishRebuildMPs(mpMesh) &
128128 use :: iso_c_binding
129129 type (c_ptr), value :: mpMesh
130130 end subroutine
131-
131+
132132 !- --------------------------------------------------------------------------
133133 ! > @brief Stores pointer to appID data structure and a function to retrieve them used in migration
134134 ! > @param mpmesh(in/out) MPMesh object
@@ -142,7 +142,7 @@ subroutine polympo_setAppIDFunc(mpMesh, getNext, appIDs) &
142142 type (c_funptr), value :: getNext
143143 type (c_ptr), value :: appIDs
144144 end subroutine
145-
145+
146146 !- --------------------------------------------------------------------------
147147 ! > @brief get the current element ID MP array from a polympo array
148148 ! > @param mpmesh(in/out) MPMesh object
@@ -164,7 +164,7 @@ subroutine polympo_getMPTgtElmID(mpMesh, numMPs, array) &
164164 integer (c_int), value :: numMPs
165165 type (c_ptr), value :: array
166166 end subroutine
167-
167+
168168 !- --------------------------------------------------------------------------
169169 ! > @brief set the mp lat lon is rotational or normal
170170 ! > @param mpmesh(in/out) MPMesh object
@@ -176,7 +176,7 @@ subroutine polympo_setMPLatLonRotatedFlag(mpMesh, isRotateFlag) &
176176 type (c_ptr), value :: mpMesh
177177 integer (c_int), value :: isRotateFlag
178178 end subroutine
179-
179+
180180 !- --------------------------------------------------------------------------
181181 ! > @brief set the MP positions array from a host array
182182 ! > @param mpmesh(in/out) MPMesh object
@@ -191,7 +191,7 @@ subroutine polympo_setMPPositions(mpMesh, nComps, numMPs, array) &
191191 integer (c_int), value :: nComps, numMPs
192192 type (c_ptr), value :: array
193193 end subroutine
194-
194+
195195 !- --------------------------------------------------------------------------
196196 ! > @brief get the MP positions array from a polympo array
197197 ! > @param mpmesh(in/out) MPMesh object
@@ -207,7 +207,7 @@ subroutine polympo_getMPPositions(mpMesh, nComps, numMPs, array) &
207207 integer (c_int), value :: nComps, numMPs
208208 type (c_ptr), value :: array
209209 end subroutine
210-
210+
211211 !- --------------------------------------------------------------------------
212212 ! > @brief set the MP positions array from a host array
213213 ! > @param mpmesh(in/out) MPMesh object
@@ -222,7 +222,7 @@ subroutine polympo_setMPTgtPositions(mpMesh, nComps, numMPs, array) &
222222 integer (c_int), value :: nComps, numMPs
223223 type (c_ptr), value :: array
224224 end subroutine
225-
225+
226226 !- --------------------------------------------------------------------------
227227 ! > @brief get the MP positions array from a polympo array
228228 ! > @param mpmesh(in/out) MPMesh object
@@ -302,7 +302,7 @@ subroutine polympo_getMPTgtRotLatLon(mpMesh, nComps, numMPs, array) &
302302 integer (c_int), value :: nComps, numMPs
303303 type (c_ptr), value :: array
304304 end subroutine
305-
305+
306306 !- --------------------------------------------------------------------------
307307 ! > @brief set the Mass MP array from a host array
308308 ! > @param mpmesh(in/out) MPMesh object
@@ -372,7 +372,7 @@ subroutine polympo_setMPStrainRate(mpMesh) &
372372 ! getMPStrainRate
373373 ! setMPStress
374374 ! getMPStress
375-
375+
376376 !- --------------------------------------------------------------------------
377377 ! > @brief Enable the setting of mesh topology (number of entities and entity adjacencies).
378378 ! > By default, modifying the mesh topology without calling this function first will result
@@ -581,7 +581,7 @@ subroutine polympo_setOwningProcVertex(mpMesh, nVertices, array) &
581581 integer (c_int), value :: nVertices
582582 type (c_ptr), intent (in ), value :: array
583583 end subroutine
584-
584+
585585 !- --------------------------------------------------------------------------
586586 ! > @brief set the owning process array
587587 ! > @param mpmesh(in/out) MPMesh object
@@ -603,7 +603,7 @@ subroutine polympo_setVtxGlobal(mpMesh, nVertices, array) &
603603 integer (c_int), value :: nVertices
604604 type (c_ptr), intent (in ), value :: array
605605 end subroutine
606-
606+
607607 !- --------------------------------------------------------------------------
608608 ! > @brief get enum for vertex mesh fields
609609 !- --------------------------------------------------------------------------
@@ -661,7 +661,7 @@ subroutine polympo_setMeshVtxRotLat(mpMesh, nVertices, latitude) &
661661 integer (c_int), value :: nVertices
662662 type (c_ptr), intent (in ), value :: latitude
663663 end subroutine
664-
664+
665665 !- --------------------------------------------------------------------------
666666 ! > @brief get the polympo mesh vertices latitude and longitude
667667 ! > @param mpmesh(in/out) MPMesh object
@@ -735,7 +735,7 @@ subroutine polympo_getMeshVtxMass(mpMesh, nVertices, vtxMass) &
735735 integer (c_int), value :: nVertices
736736 type (c_ptr), value :: vtxMass
737737 end subroutine
738-
738+
739739 !- --------------------------------------------------------------------------
740740 ! > @brief set the mesh elements mass from a host array
741741 ! > @param mpmesh(in/out) MPMesh object
@@ -932,7 +932,7 @@ subroutine polympo_push_swap(mpMesh) &
932932 use :: iso_c_binding
933933 type (c_ptr), value :: mpMesh
934934 end subroutine
935-
935+
936936 subroutine polympo_push_swap_pos (mpMesh ) &
937937 bind(C, NAME= ' polympo_push_swap_pos_f' )
938938 use :: iso_c_binding
@@ -1000,19 +1000,19 @@ subroutine polympo_reconstruct_coeff_with_MPI(mpMesh) &
10001000 use :: iso_c_binding
10011001 type (c_ptr), value :: mpMesh
10021002 end subroutine
1003-
1003+
10041004 subroutine polympo_reconstruct_iceArea_with_MPI (mpMesh ) &
10051005 bind(C, NAME= ' polympo_reconstruct_iceArea_with_MPI_f' )
10061006 use :: iso_c_binding
10071007 type (c_ptr), value :: mpMesh
10081008 end subroutine
1009-
1009+
10101010 subroutine polympo_reconstruct_velocity_with_MPI (mpMesh ) &
10111011 bind(C, NAME= ' polympo_reconstruct_velocity_with_MPI_f' )
10121012 use :: iso_c_binding
10131013 type (c_ptr), value :: mpMesh
10141014 end subroutine
1015-
1015+
10161016 !- --------------------------------------------------------------------------
10171017 ! > @brief directly call the reconstruct of the MP fields to mesh fields
10181018 ! > @param mpmesh(in/out) MPMesh object
0 commit comments