Home
last modified time | relevance | path

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

/petsc/src/snes/impls/al/
H A Dal.c103 al->computealfunction = func; in SNESNewtonALSetFunction_NEWTONAL()
142 if (func) *func = al->computealfunction; in SNESNewtonALGetFunction_NEWTONAL()
213 SNESFunctionFn *computealfunction = NULL; in SNESNewtonALComputeFunction_NEWTONAL() local
218 PetscCall(SNESNewtonALGetFunction(snes, &computealfunction, &ctx)); in SNESNewtonALComputeFunction_NEWTONAL()
221 …PetscCheck(computealfunction || (snes->vec_rhs && al->scale_rhs), PETSC_COMM_SELF, PETSC_ERR_ARG_W… in SNESNewtonALComputeFunction_NEWTONAL()
222 if (computealfunction) { in SNESNewtonALComputeFunction_NEWTONAL()
224 …PetscCallBack("SNES callback NewtonAL tangent load function", (*computealfunction)(snes, X, Q, ctx… in SNESNewtonALComputeFunction_NEWTONAL()
H A Dalimpl.h24 …SNESFunctionFn *computealfunction; /* user-provided function to compute the tangent load vector */ member