Searched refs:newVec (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/binding/petsc4py/demo/legacy/dmplex/ |
| H A D | distribute_field.py | 69 newSect, newVec = plex.distributeField(sf, origSect, origVec) variable 73 newVec = origVec variable 76 newVec.view()
|
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex22.c | 165 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 D | plexdistribute.c | 1005 …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 D | DMPlex.pyx | 1847 newVec : Vec
|