@@ -1249,6 +1249,7 @@ void polympo_setReconstructionOfStress_f(MPMesh_ptr p_mpmesh, const int order, c
12491249 (void )meshEntType;
12501250}
12511251
1252+ // TO DO DELETE
12521253// With MPI communication done via MPAS
12531254void polympo_vtxSubAssemblyIceArea_f (MPMesh_ptr p_mpmesh, int vtxPerElm, int nCells, int comp, double * array){
12541255 checkMPMeshValid (p_mpmesh);
@@ -1299,7 +1300,6 @@ void polympo_applyReconstruction_f(MPMesh_ptr p_mpmesh){
12991300 mpmesh->reconstructSlices ();
13001301}
13011302
1302- // Method 1
13031303void polympo_fullAssemblyIceArea_f (MPMesh_ptr p_mpmesh, int vtxPerElm, int nCells, int nVerticesSolve, int nVertices,
13041304 double * array_sub, double * array_full){
13051305 checkMPMeshValid (p_mpmesh);
@@ -1308,18 +1308,27 @@ void polympo_fullAssemblyIceArea_f(MPMesh_ptr p_mpmesh, int vtxPerElm, int nCell
13081308 PMT_ALWAYS_ASSERT (nVertices == p_mesh->getNumVertices ());
13091309 mpmesh->assembleField (vtxPerElm, nCells, nVerticesSolve, nVertices, array_sub, array_full);
13101310}
1311+ //
13111312
1313+ // Only these are needed
13121314void polympo_reconstruct_iceArea_with_MPI_f (MPMesh_ptr p_mpmesh){
13131315 checkMPMeshValid (p_mpmesh);
13141316 auto mpmesh = ((polyMPO::MPMesh*)p_mpmesh);
13151317 mpmesh->reconstruct_full <polyMPO::MeshF_VtxMass>();
13161318}
13171319
1320+ void polympo_reconstruct_velocity_with_MPI_f (MPMesh_ptr p_mpmesh){
1321+ checkMPMeshValid (p_mpmesh);
1322+ auto mpmesh = ((polyMPO::MPMesh*)p_mpmesh);
1323+ mpmesh->reconstruct_full <polyMPO::MeshF_Vel>();
1324+ }
1325+
13181326void polympo_reconstruct_coeff_with_MPI_f (MPMesh_ptr p_mpmesh){
13191327 checkMPMeshValid (p_mpmesh);
13201328 auto mpmesh = ((polyMPO::MPMesh*)p_mpmesh);
13211329 mpmesh->reconstruct_coeff_full ();
13221330}
1331+ // Till here
13231332
13241333void polympo_setOwningProc_f (MPMesh_ptr p_mpmesh, const int nCells, const int * array){
13251334 checkMPMeshValid (p_mpmesh);
0 commit comments