Searched refs:newglob_to_oldglob_sf (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/dm/impls/plex/ |
| H A D | plexnatural.c | 256 PetscSF oldglob_to_newglob_sf, newglob_to_oldglob_sf; in DMPlexMigrateGlobalToNaturalSF() local 262 PetscCall(PetscSFCreateInverseSF(oldglob_to_newglob_sf, &newglob_to_oldglob_sf)); in DMPlexMigrateGlobalToNaturalSF() 263 PetscCall(PetscObjectSetName((PetscObject)newglob_to_oldglob_sf, "NewGlobal-to-OldGlobal SF")); in DMPlexMigrateGlobalToNaturalSF() 264 …PetscCall(PetscObjectViewFromOptions((PetscObject)newglob_to_oldglob_sf, (PetscObject)dmOld, "-nat… in DMPlexMigrateGlobalToNaturalSF() 265 PetscCall(PetscSFCompose(newglob_to_oldglob_sf, sfNaturalOld, sfNaturalNew)); in DMPlexMigrateGlobalToNaturalSF() 268 PetscCall(PetscSFDestroy(&newglob_to_oldglob_sf)); in DMPlexMigrateGlobalToNaturalSF()
|
| H A D | plexsfc.c | 820 PetscSF newglob_to_oldglob_sf, sfNatural_old, sfNatural_new; in DMPlexCorrectOrientationForIsoperiodic() local 843 PetscCall(PetscSFCreate(comm, &newglob_to_oldglob_sf)); in DMPlexCorrectOrientationForIsoperiodic() 844 …PetscCall(PetscSFSetGraph(newglob_to_oldglob_sf, global_vec_length, global_vec_length, NULL, PETSC… in DMPlexCorrectOrientationForIsoperiodic() 846 PetscCall(PetscSFCompose(newglob_to_oldglob_sf, sfNatural_old, &sfNatural_new)); in DMPlexCorrectOrientationForIsoperiodic() 849 PetscCall(PetscSFDestroy(&newglob_to_oldglob_sf)); in DMPlexCorrectOrientationForIsoperiodic()
|