conatus.model.Compiled

class conatus.model.Compiled(model, N, dealias, kind, problem, ncc, fields, params, eigenvalue, coordsys, bases, domain, labels, split=<factory>, taus=<factory>, gauge=<factory>, notes=<factory>, dealias_default=True, degree=1, nonpoly=<factory>, overrides=<factory>, parity=<factory>, symmetry=None, time=None, illposed=<factory>)[source]

Bases: object

The IR problem of a model at one resolution, with the record of every automatic choice.

Expert access: problem (IR Problem), ncc (data of the given fields), fields (name -> IR Field, taus included), params (name -> Parameter), bases.

Parameters:
  • model (Any)

  • N (dict)

  • dealias (dict)

  • kind (str)

  • problem (Any)

  • ncc (dict)

  • fields (dict)

  • params (dict)

  • eigenvalue (Any)

  • coordsys (Any)

  • bases (dict)

  • domain (Any)

  • labels (list)

  • split (list)

  • taus (list)

  • gauge (list)

  • notes (list)

  • dealias_default (bool)

  • degree (int)

  • nonpoly (list)

  • overrides (dict)

  • parity (list)

  • symmetry (Any)

  • time (Any)

  • illposed (list)

model: Any
N: dict
dealias: dict
kind: str
problem: Any
ncc: dict
fields: dict
params: dict
eigenvalue: Any
coordsys: Any
bases: dict
domain: Any
labels: list
split: list
taus: list
gauge: list
notes: list
dealias_default: bool = True
degree: int = 1
unknown_degree = 1
nonpoly: list
overrides: dict
parity: list
symmetry: Any = None
time: Any = None
illposed: list
discretize(**kw)[source]

conatus.discretize of the compiled problem with the given-field data.

decisions(symbolic=False)[source]

Every automatic decision, one line each (symbolic: modes as N_c - k).

Parameters:

symbolic (bool)

Return type:

list[str]

summary()[source]

The decisions of decisions() in a few lines, in the words of the model: the problem kind, which terms the time stepper treats explicitly (by equation label), the conditions by boundary, the gauge, the dealiasing and every warning; the per-term split, the tau names and modes and the bases are left to explain(full=True) (the default text led with tau lifting and solver buckets).

Return type:

list[str]

explain(*, full=False)[source]

Resolution and the automatic decisions: a summary (summary()) by default; full=True: every decision (taus, gauge, term-by-term split) and the IR problem.

Parameters:

full (bool)

Return type:

str