Home
last modified time | relevance | path

Searched refs:newSection (Results 1 – 6 of 6) sorted by relevance

/petsc/src/vec/is/section/interface/
H A Dsection.c85 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 Dplexdistribute.c1005 …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 Dplex.c10212 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 Dpforest.h3850 …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 Ddm.c6547 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 DDMPlex.pyx1845 newSection : Section