Home
last modified time | relevance | path

Searched refs:lmu (Results 1 – 2 of 2) sorted by relevance

/petsc/src/snes/utils/dm/
H A Ddmadapt.c961 Vec mu, lmu; in DMAdaptorComputeErrorIndicator_Flux() local
987 PetscCall(DMGetLocalVector(mdm, &lmu)); in DMAdaptorComputeErrorIndicator_Flux()
988 PetscCall(DMGlobalToLocal(mdm, mu, INSERT_VALUES, lmu)); in DMAdaptorComputeErrorIndicator_Flux()
989 PetscCall(DMPlexInsertBoundaryValues(mdm, PETSC_TRUE, lmu, 0.0, NULL, NULL, NULL)); in DMAdaptorComputeErrorIndicator_Flux()
990 PetscCall(DMPlexComputeL2FluxDiffVecLocal(lu, 0, lmu, 0, errVec)); in DMAdaptorComputeErrorIndicator_Flux()
991 PetscCall(DMRestoreLocalVector(mdm, &lmu)); in DMAdaptorComputeErrorIndicator_Flux()
/petsc/src/dm/impls/plex/
H A Dplexfem.c2002 PetscErrorCode DMPlexComputeL2FluxDiffVecLocal(Vec lu, PetscInt f, Vec lmu, PetscInt mf, Vec eFlux) in DMPlexComputeL2FluxDiffVecLocal() argument
2016 PetscCall(VecGetDM(lmu, &mdm)); in DMPlexComputeL2FluxDiffVecLocal()
2046 PetscCall(DMPlexVecGetClosure(mdm, NULL, lmu, c, NULL, &mx)); in DMPlexComputeL2FluxDiffVecLocal()
2068 PetscCall(DMPlexVecRestoreClosure(mdm, NULL, lmu, c, NULL, &mx)); in DMPlexComputeL2FluxDiffVecLocal()
2107 Vec lu, lmu; in DMPlexComputeL2FluxDiffVec() local
2116 PetscCall(DMGetLocalVector(mdm, &lmu)); in DMPlexComputeL2FluxDiffVec()
2117 PetscCall(DMGlobalToLocal(mdm, mu, INSERT_VALUES, lmu)); in DMPlexComputeL2FluxDiffVec()
2118 PetscCall(DMPlexInsertBoundaryValues(mdm, PETSC_TRUE, lmu, 0.0, NULL, NULL, NULL)); in DMPlexComputeL2FluxDiffVec()
2120 PetscCall(DMPlexComputeL2FluxDiffVecLocal(lu, f, lmu, mf, eFlux)); in DMPlexComputeL2FluxDiffVec()
2123 PetscCall(DMRestoreLocalVector(mdm, &lmu)); in DMPlexComputeL2FluxDiffVec()