elements.catalog.ElementSpec

elements.catalog.ElementSpec(
    residual_id,
    fparams=list(),
    name='',
    acoustic_stamp=STAMP_DEFAULT,
    eps=None,
    perturbation_bc=None,
    composition_spec=None,
    basis='mole',
    dynamic_source=None,
    transfer_matrix=None,
    marker=0.0,
    back_pressure=None,
    name_auto=False,
)

One network element: its residual type and the ordered parameters its kernel reads.

The immutable parse-time building block that build_problem assembles (with the directed edges) into a :class:~nefes.shell.problem.CompiledProblem. The mean-flow solve needs only residual_id and fparams; the remaining fields are optional acoustic / reacting / perturbation extras, one line each below.

Back to top