Searched refs:locA (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex25.c | 47 Vec locX, locX_t, locA; in test1() local 54 PetscCall(DMGetLocalVector(dm, &locA)); in test1() 55 PetscCall(DMPlexGetCellFields(dm, cells, locX, locX_t, locA, &u, &u_t, &a)); in test1() 56 PetscCall(DMPlexRestoreCellFields(dm, cells, locX, locX_t, locA, &u, &u_t, &a)); in test1() 59 PetscCall(DMRestoreLocalVector(dm, &locA)); in test1() 68 Vec locX, locX_t, locA; in test2() local 77 PetscCall(DMGetLocalVector(dm, &locA)); in test2() 78 PetscCall(DMPlexGetCellFields(dm, cells, locX, locX_t, locA, &u, &u_t, &a)); in test2() 79 PetscCall(DMPlexRestoreCellFields(dm, cells, locX, locX_t, locA, &u, &u_t, &a)); in test2() 82 PetscCall(DMRestoreLocalVector(dm, &locA)); in test2() [all …]
|
| /petsc/src/dm/impls/plex/ftn-custom/ |
| H A D | zplexfemf90.c | 21 PETSC_EXTERN void dmplexgetcellfields_(DM *dm, IS *cellIS, Vec *locX, Vec *locX_t, Vec *locA, F90Ar… in dmplexgetcellfields_() argument 29 *ierr = DMPlexGetCellFields(*dm, *cellIS, *locX, *locX_t, *locA, &u, &u_t, &a); in dmplexgetcellfields_() 35 if (locA) { in dmplexgetcellfields_() 39 *ierr = VecGetDM(*locA, &dmAux); in dmplexgetcellfields_() 50 …*ierr = F90Array1dCreate((void *)a, MPIU_SCALAR, 1, locA ? numCells * totDimAux : 0, aPtr PETSC_F9… in dmplexgetcellfields_() 53 PETSC_EXTERN void dmplexrestorecellfields_(DM *dm, IS *cellIS, Vec *locX, Vec *locX_t, Vec *locA, F… in dmplexrestorecellfields_() argument
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexfem.c | 2406 Vec locA; in DMPlexComputeIntegral_Internal() local 2446 PetscCall(DMGetAuxiliaryVec(dm, NULL, 0, 0, &locA)); in DMPlexComputeIntegral_Internal() 2447 if (locA) { in DMPlexComputeIntegral_Internal() 2448 PetscCall(VecGetDM(locA, &dmAux)); in DMPlexComputeIntegral_Internal() 2511 PetscCall(DMPlexVecGetClosure(plexA, sectionAux, locA, c, NULL, &x)); in DMPlexComputeIntegral_Internal() 2513 PetscCall(DMPlexVecRestoreClosure(plexA, sectionAux, locA, c, NULL, &x)); in DMPlexComputeIntegral_Internal() 2719 Vec locA = NULL; in DMPlexComputeBdIntegral_Internal() local 2748 PetscCall(DMGetAuxiliaryVec(dm, NULL, 0, 0, &locA)); in DMPlexComputeBdIntegral_Internal() 2749 if (locA) { in DMPlexComputeBdIntegral_Internal() 2752 PetscCall(VecGetDM(locA, &dmAux)); in DMPlexComputeBdIntegral_Internal() [all …]
|