Function mf6xmi::xmi_solve

Function Documentation

integer(kind=c_int) function mf6xmi::xmi_solve (subcomponent_idx, has_converged)

Build and solve the linear system.

The solve is called on the Numerical Solution indicated by the value of subcomponent_idx, which runs from 1 to the value returned by xmi_get_subcomponent_count(). Before calling this, a matching call to xmi_prepare_solve() should be done.

Return

BMI status code

Parameters
  • [in] subcomponent_idx: index of the subcomponent (i.e. Numerical Solution)

  • [out] has_converged: equal to 1 for convergence, 0 otherwise