Numerical Solvers#

The RatelSolverType determines how the composite CeedOperator are build and used to set the appropriate DMSNES or DMTS options.

static PetscErrorCode RatelSetupFormJacobianCtx(Ratel ratel, RatelFormJacobianContext ctx_form_jacobian)#

Setup context data for Jacobian evaluation.

Parameters:
  • ratel[in] Ratel context

  • ctx_form_jacobian[out] Context data for Jacobian evaluation

Returns:

An error code: 0 - success, otherwise - failure

PetscErrorCode RatelDMSetupSolver(Ratel ratel)#

Setup solver contexts.

Parameters:
  • ratel[inout] Ratel context

Returns:

An error code: 0 - success, otherwise - failure