Home
last modified time | relevance | path

Searched refs:num_face_sfs (Results 1 – 7 of 7) sorted by relevance

/petsc/src/dm/impls/plex/
H A Dplexsfc.c561 if (plex->periodic.num_face_sfs > 0 && sfNatural_old) { in DMPlexCorrectOrientationForIsoperiodic()
594 for (PetscInt f = 0; f < plex->periodic.num_face_sfs; f++) { in DMPlexCorrectOrientationForIsoperiodic()
863 static PetscErrorCode DMPlexCreateIsoperiodicPointSF_Private(DM dm, PetscInt num_face_sfs, PetscSF … in DMPlexCreateIsoperiodicPointSF_Private() argument
876 PetscCall(PetscMalloc1(num_face_sfs, is_points)); in DMPlexCreateIsoperiodicPointSF_Private()
880 for (PetscInt f = 0; f < num_face_sfs; f++) { in DMPlexCreateIsoperiodicPointSF_Private()
1000 …) PetscCall(DMPlexCreateIsoperiodicPointSF_Private(dm, plex->periodic.num_face_sfs, plex->periodic… in DMGetIsoperiodicPointSF_Plex()
1015 PetscCall(PetscMalloc1(plex->periodic.num_face_sfs, &new_face_sfs)); in DMPlexMigrateIsoperiodicFaceSF_Internal()
1017 for (PetscInt f = 0; f < plex->periodic.num_face_sfs; f++) { in DMPlexMigrateIsoperiodicFaceSF_Internal()
1077 PetscCall(DMPlexSetIsoperiodicFaceSF(dm, plex->periodic.num_face_sfs, new_face_sfs)); in DMPlexMigrateIsoperiodicFaceSF_Internal()
1078 …PetscCall(DMPlexSetIsoperiodicFaceTransform(dm, plex->periodic.num_face_sfs, (PetscScalar *)plex->… in DMPlexMigrateIsoperiodicFaceSF_Internal()
[all …]
H A Dplexcreate.c181 PetscInt num_face_sfs; in DMPlexReplace_Internal() local
183 PetscCall(DMPlexGetIsoperiodicFaceSF(dm, &num_face_sfs, &sfs)); in DMPlexReplace_Internal()
184 …PetscCall(DMPlexSetIsoperiodicFaceSF(dm, num_face_sfs, (PetscSF *)sfs)); // for the compose functi… in DMPlexReplace_Internal()
5782 PetscInt num_face_sfs; in DMClone_Plex() local
5787 PetscCall(DMPlexGetIsoperiodicFaceSF(dm, &num_face_sfs, &face_sfs)); in DMClone_Plex()
5788 PetscCall(DMPlexSetIsoperiodicFaceSF(*newdm, num_face_sfs, (PetscSF *)face_sfs)); in DMClone_Plex()
H A Dplex.c1135 …for (PetscInt i = 0; i < mesh->periodic.num_face_sfs; i++) PetscCall(PetscSFView(mesh->periodic.fa… in DMPlexView_Ascii()
2863 …for (PetscInt i = 0; i < mesh->periodic.num_face_sfs; i++) PetscCall(PetscSFDestroy(&mesh->periodi… in DMDestroy_Plex()
2868 …for (PetscInt i = 0; i < mesh->periodic.num_face_sfs; i++) PetscCall(ISDestroy(&mesh->periodic.per… in DMDestroy_Plex()
/petsc/src/dm/interface/
H A Ddmcoordinates.c1165 PetscInt num_face_sfs = 0; in DMSetCoordinateDisc() local
1167 PetscCall(DMPlexGetIsoperiodicFaceSF(dm, &num_face_sfs, NULL)); in DMSetCoordinateDisc()
1168 if (num_face_sfs) { // Isoperiodicity requires projecting the local coordinates in DMSetCoordinateDisc()
H A Ddm.c6531 PetscInt num_face_sfs = 0; in DMGetOutputDM() local
6539 PetscCall(DMPlexGetIsoperiodicFaceSF(dm, &num_face_sfs, NULL)); in DMGetOutputDM()
6540 newDM = hasConstraints || perm || (num_face_sfs > 0) ? PETSC_TRUE : PETSC_FALSE; in DMGetOutputDM()
/petsc/src/dm/impls/plex/cgns/
H A Dplexcgns2.c2074 PetscInt num_face_sfs; in DMView_PlexCGNS() local
2075 PetscCall(DMPlexGetIsoperiodicFaceSF(dm, &num_face_sfs, &face_sfs)); in DMView_PlexCGNS()
2076 PetscCall(DMPlexSetIsoperiodicFaceSF(colloc_dm, num_face_sfs, (PetscSF *)face_sfs)); in DMView_PlexCGNS()
/petsc/include/petsc/private/
H A Ddmpleximpl.h211 PetscInt num_face_sfs; // number of face_sfs member