Home
last modified time | relevance | path

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

/petsc/src/snes/utils/dm/
H A Ddmadapt.c839 …ar *field, const PetscScalar *gradient, const PetscFVCellGeom *cg, PetscReal *errInd, PetscCtx ctx) in DMAdaptorComputeCellErrorIndicator_Gradient() argument
848 *errInd = cg->volume * err; in DMAdaptorComputeCellErrorIndicator_Gradient()
881 PetscReal errInd = 0.; in DMAdaptorComputeErrorIndicator_Gradient() local
895 …cUseTypeMethod(adaptor, computecellerrorindicator, dim, Nc, pointSol, pointGrad, cg, &errInd, ctx); in DMAdaptorComputeErrorIndicator_Gradient()
941 …PetscUseTypeMethod(adaptor, computecellerrorindicator, dim, Nc, field, gradient, &cg, &errInd, ctx… in DMAdaptorComputeErrorIndicator_Gradient()
945 eval[0] = errInd; in DMAdaptorComputeErrorIndicator_Gradient()
946 minMaxInd[0] = PetscMin(minMaxInd[0], errInd); in DMAdaptorComputeErrorIndicator_Gradient()
947 minMaxInd[1] = PetscMax(minMaxInd[1], errInd); in DMAdaptorComputeErrorIndicator_Gradient()
/petsc/src/ts/tutorials/
H A Dex11.c1152 PetscReal errInd = 0.; in adaptToleranceFVMSetUp() local
1161 …cator)(dim, cg->volume, user->model->physics->dof, pointVal, pointGrad, &errInd, user->model->erro… in adaptToleranceFVMSetUp()
1162 errArray[c - cStart] = errInd; in adaptToleranceFVMSetUp()
1163 minMaxInd[0] = PetscMin(minMaxInd[0], errInd); in adaptToleranceFVMSetUp()
1164 minMaxInd[1] = PetscMax(minMaxInd[1], errInd); in adaptToleranceFVMSetUp()