Searched refs:lfuncs (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/snes/utils/ |
| H A D | dmplexsnes.c | 1063 PetscSimplePointFn **lfuncs, **ufuncs; in DMPlexSetSNESVariableBounds() local 1074 PetscCall(PetscMalloc4(Nf, &lfuncs, Nf, &lctxs, Nf, &ufuncs, Nf, &uctxs)); in DMPlexSetSNESVariableBounds() 1076 PetscCall(PetscDSGetLowerBound(ds, f, &lfuncs[f], &lctxs[f])); in DMPlexSetSNESVariableBounds() 1078 if (lfuncs[f]) hasLower = PETSC_TRUE; in DMPlexSetSNESVariableBounds() 1087 if (hasLower) PetscCall(DMProjectFunction(dm, 0., lfuncs, lctxs, INSERT_VALUES, lb)); in DMPlexSetSNESVariableBounds() 1096 PetscCall(PetscFree4(lfuncs, lctxs, ufuncs, uctxs)); in DMPlexSetSNESVariableBounds()
|