Lines Matching refs:dm_serial

89 PetscErrorCode VerifyLoadedSolution(DM dm_serial, Vec V_serial, DM dm_load, Vec V_load, PetscScalar…  in VerifyLoadedSolution()  argument
109 if (dm_serial) { in VerifyLoadedSolution()
110 PetscCall(DMGetCoordinates(dm_serial, &coord_Vec_serial)); in VerifyLoadedSolution()
121 if (dm_serial) PetscCall(VecRestoreArrayRead(coord_Vec_serial, &coord_serial)); in VerifyLoadedSolution()
192 PetscErrorCode VerifyDMLabels(DM dm_serial, DM dm_load, const char label_name[], PetscSF *serial2lo… in VerifyDMLabels() argument
203 if (dm_serial) { // Communicate valid label values to all ranks in VerifyDMLabels()
208 PetscCall(DMGetLabel(dm_serial, label_name, &label_serial)); in VerifyDMLabels()
259 PetscCall(DMPlexGetChart(dm_serial, &pStartSerial, &pEndSerial)); in VerifyDMLabels()
261 PetscCall(DMPlexGetPointsCentroids(dm_serial, &points_centroid_serial)); in VerifyDMLabels()
359 DM dm_serial = NULL; in main() local
378 PetscCall(ReadCGNSDM(comm, user.infile, &dm_serial)); in main()
379 PetscCall(DMSetOptionsPrefix(dm_serial, "serial_")); in main()
380 PetscCall(DMSetFromOptions(dm_serial)); in main()
383 PetscCall(DMPlexIsDistributed(dm_serial, &flg)); in main()
386 PetscCall(DMViewFromOptions(dm_serial, NULL, "-dm_view")); in main()
388 PetscCall(DMGetGlobalVector(dm_serial, &V_serial)); in main()
448 PetscCall(VerifyLoadedSolution(dm_serial, V_serial, dm, V, 100 * PETSC_MACHINE_EPSILON)); in main()
451 PetscCall(VerifyDMLabels(dm_serial, dm, "Face Sets", NULL)); in main()
472 if (V_serial && dm_serial) PetscCall(DMRestoreGlobalVector(dm_serial, &V_serial)); in main()
473 if (dm_serial) PetscCall(DMDestroy(&dm_serial)); in main()