| /petsc/src/vec/is/section/interface/ |
| H A D | section.c | 85 PetscErrorCode PetscSectionCopy(PetscSection section, PetscSection newSection) in PetscSectionCopy() argument 89 PetscValidHeaderSpecific(newSection, PETSC_SECTION_CLASSID, 2); in PetscSectionCopy() 90 PetscCall(PetscSectionCopy_Internal(section, newSection, NULL)); in PetscSectionCopy() 94 PetscErrorCode PetscSectionCopy_Internal(PetscSection section, PetscSection newSection, PetscBT con… in PetscSectionCopy_Internal() argument 102 PetscValidHeaderSpecific(newSection, PETSC_SECTION_CLASSID, 2); in PetscSectionCopy_Internal() 103 PetscCall(PetscSectionReset(newSection)); in PetscSectionCopy_Internal() 105 if (numFields) PetscCall(PetscSectionSetNumFields(newSection, numFields)); in PetscSectionCopy_Internal() 111 PetscCall(PetscSectionSetFieldName(newSection, f, fieldName)); in PetscSectionCopy_Internal() 113 PetscCall(PetscSectionSetFieldComponents(newSection, f, numComp)); in PetscSectionCopy_Internal() 116 PetscCall(PetscSectionSetComponentName(newSection, f, c, compName)); in PetscSectionCopy_Internal() [all …]
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexdistribute.c | 1005 …etscSF pointSF, PetscSection originalSection, Vec originalVec, PetscSection newSection, Vec newVec) in DMPlexDistributeField() argument 1013 PetscCall(PetscSFDistributeSection(pointSF, originalSection, &remoteOffsets, newSection)); in DMPlexDistributeField() 1015 PetscCall(PetscSectionGetStorageSize(newSection, &fieldSize)); in DMPlexDistributeField() 1021 PetscCall(PetscSFCreateSectionSF(pointSF, originalSection, remoteOffsets, newSection, &fieldSF)); in DMPlexDistributeField() 1051 …, PetscSF pointSF, PetscSection originalSection, IS originalIS, PetscSection newSection, IS *newIS) in DMPlexDistributeFieldIS() argument 1059 …PetscCall(PetscSectionMigrateData(pointSF, MPIU_INT, originalSection, originalValues, newSection, … in DMPlexDistributeFieldIS() 1062 PetscCall(PetscSectionGetStorageSize(newSection, &fieldSize)); in DMPlexDistributeFieldIS() 1091 …riginalSection, MPI_Datatype datatype, void *originalData, PetscSection newSection, void **newData) in DMPlexDistributeData() argument 1095 …PetscCall(PetscSectionMigrateData(pointSF, datatype, originalSection, originalData, newSection, ne… in DMPlexDistributeData() 1782 PetscSection oldSection, newSection; in DMPlexDistribute_Multistage() local [all …]
|
| H A D | plex.c | 10212 PetscSection section, newSection, gsection; in DMGetFullDM() local 10229 PetscCall(DMGetLocalSection(*odm, &newSection)); in DMGetFullDM() 10231 …PetscCall(PetscSectionCreateGlobalSection(newSection, sf, PETSC_TRUE, PETSC_TRUE, PETSC_FALSE, &gs… in DMGetFullDM()
|
| /petsc/src/dm/impls/forest/p4est/ |
| H A D | pforest.h | 3850 …Old, DM_Forest_pforest *pforest, PetscSection oldSection, PetscSection newSection, PetscInt cell, … in PforestCheckLocalizeCell() argument 3857 PetscCall(PetscSectionSetDof(newSection, cell, 0)); in PforestCheckLocalizeCell() 3858 PetscCall(PetscSectionSetFieldDof(newSection, cell, 0, 0)); in PforestCheckLocalizeCell() 3894 PetscCall(PetscSectionSetDof(newSection, cell, 0)); in PforestCheckLocalizeCell() 3895 PetscCall(PetscSectionSetFieldDof(newSection, cell, 0, 0)); in PforestCheckLocalizeCell() 3897 PetscCall(PetscSectionSetDof(newSection, cell, cSize)); in PforestCheckLocalizeCell() 3898 PetscCall(PetscSectionSetFieldDof(newSection, cell, 0, cSize)); in PforestCheckLocalizeCell() 3905 …eCell(DM plex, PetscInt cDim, DM_Forest_pforest *pforest, PetscSection newSection, PetscInt cell, … in PforestLocalizeCell() argument 3910 PetscCall(PetscSectionGetDof(newSection, cell, &cdof)); in PforestLocalizeCell() 3913 PetscCall(PetscSectionGetOffset(newSection, cell, &off)); in PforestLocalizeCell() [all …]
|
| /petsc/src/dm/interface/ |
| H A D | dm.c | 6547 PetscSection newSection, gsection; in DMGetOutputDM() local 6553 PetscCall(PetscSectionClone(section, &newSection)); in DMGetOutputDM() 6554 PetscCall(DMSetLocalSection(dm->dmBC, newSection)); in DMGetOutputDM() 6555 PetscCall(PetscSectionDestroy(&newSection)); in DMGetOutputDM()
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | DMPlex.pyx | 1845 newSection : Section
|