Searched refs:locmass (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/dm/impls/plex/ |
| H A D | plex.c | 10378 Vec ones, locmass; in DMCreateMassMatrixLumped_Plex() local 10389 if (lmass) PetscCall(DMCreateLocalVector(dm, &locmass)); in DMCreateMassMatrixLumped_Plex() 10390 else PetscCall(DMGetLocalVector(dm, &locmass)); in DMCreateMassMatrixLumped_Plex() 10394 PetscCall(VecSet(locmass, 0.0)); in DMCreateMassMatrixLumped_Plex() 10400 …PetscCall(DMPlexComputeJacobianActionByKey(dmc, key, cellIS, 0.0, 0.0, ones, NULL, ones, locmass, … in DMCreateMassMatrixLumped_Plex() 10403 PetscCall(DMLocalToGlobalBegin(dm, locmass, ADD_VALUES, *mass)); in DMCreateMassMatrixLumped_Plex() 10404 PetscCall(DMLocalToGlobalEnd(dm, locmass, ADD_VALUES, *mass)); in DMCreateMassMatrixLumped_Plex() 10407 if (lmass) *lmass = locmass; in DMCreateMassMatrixLumped_Plex() 10408 else PetscCall(DMRestoreLocalVector(dm, &locmass)); in DMCreateMassMatrixLumped_Plex()
|