Home
last modified time | relevance | path

Searched refs:newVec (Results 1 – 4 of 4) sorted by relevance

/petsc/src/binding/petsc4py/demo/legacy/dmplex/
H A Ddistribute_field.py69 newSect, newVec = plex.distributeField(sf, origSect, origVec) variable
73 newVec = origVec variable
76 newVec.view()
/petsc/src/dm/impls/plex/tests/
H A Dex22.c165 Vec newVec; in main() local
184 PetscCall(VecCreateSeq(PETSC_COMM_SELF, newN, &newVec)); in main()
185 PetscCall(VecGetArray(newVec, &newCoordArray)); in main()
194 PetscCall(VecRestoreArray(newVec, &newCoordArray)); in main()
197 PetscCall(DMSetCoordinatesLocal(dm, newVec)); in main()
198 PetscCall(VecDestroy(&newVec)); in main()
/petsc/src/dm/impls/plex/
H A Dplexdistribute.c1005 …etscSF pointSF, PetscSection originalSection, Vec originalVec, PetscSection newSection, Vec newVec) in DMPlexDistributeField() argument
1016 PetscCall(VecSetSizes(newVec, fieldSize, PETSC_DETERMINE)); in DMPlexDistributeField()
1017 PetscCall(VecSetType(newVec, dm->vectype)); in DMPlexDistributeField()
1020 PetscCall(VecGetArray(newVec, &newValues)); in DMPlexDistributeField()
1026 PetscCall(VecRestoreArray(newVec, &newValues)); in DMPlexDistributeField()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DDMPlex.pyx1847 newVec : Vec