conatus.problems.Ready

class conatus.problems.Ready(problem, fields, parameters, bases, ncc, notes, reference, extras=<factory>)[source]

Bases: object

A ready-to-discretize problem and its handles.

problem

the plain IR problem (IVP or EVP), built with the public API;

fields

its unknowns by name (taus included: they are unknowns too);

parameters

the physical parameters (Parameter objects carrying the values given);

bases

the bases by coordinate name;

ncc

NCC data {Field: callable on the grid} for discretize(problem, ncc=ncc) (empty dict when the problem has no non-constant coefficient);

notes

equations, nondimensionalization, boundary conditions, structural choices;

reference

the published value this problem is validated against (text);

extras

problem-specific handles (e.g. base-flow harmonics of a Floquet problem).

Parameters:
  • problem (Problem)

  • fields (dict[str, Field])

  • parameters (dict[str, Parameter])

  • bases (dict[str, Any])

  • ncc (dict)

  • notes (str)

  • reference (str)

  • extras (dict)

problem: Problem
fields: dict[str, Field]
parameters: dict[str, Parameter]
bases: dict[str, Any]
ncc: dict
notes: str
reference: str
extras: dict
explain()[source]

Problem, parameters, bases, NCC data, notes and validation reference, in plain text.

Return type:

str