conatus.expert.LBVPSolution

class conatus.expert.LBVPSolution(coeffs, residuals, plan, reduced)[source]

Bases: object

Solution of an LBVP (plan.solve()): coefficients by variable and the relative residual of every group solve (always reported).

Parameters:
  • coeffs (dict[str, ndarray])

  • residuals (list[tuple[str, float]])

  • plan (Plan)

  • reduced (bool)

coeffs: dict[str, ndarray]
residuals: list[tuple[str, float]]
plan: Plan
reduced: bool
property max_residual: float

Largest relative residual over the groups.

grid(name)[source]

Values of a variable on its (non-dealiased) collocation grid.

Parameters:

name (str)

Return type:

ndarray

coordinate(name)[source]

Points of coordinate name of the grid of grid() (same as Simulation.coordinate).

Parameters:

name (str)

Return type:

ndarray

explain()[source]

Space solved in, number of groups and the worst residual.

Return type:

str