Searched refs:SNESComputeObjective_DMDA (Results 1 – 3 of 3) sorted by relevance
24 function:SNESComputeObjective_DMDA
116 static PetscErrorCode SNESComputeObjective_DMDA(SNES snes, Vec X, PetscReal *ob, PetscCtx ctx) in SNESComputeObjective_DMDA() function407 PetscCall(DMSNESSetObjective(dm, SNESComputeObjective_DMDA, dmdasnes)); in DMDASNESSetObjectiveLocal()444 PetscCall(DMSNESSetObjective(dm, SNESComputeObjective_DMDA, dmdasnes)); in DMDASNESSetObjectiveLocalVec()
170 - Add MPI reduction inside `SNESComputeObjective_DMDA()`. No need to call reduction in local callba…