Skip to content

pyflightstream.workspace.setup_inspection (stable)

Generated from the docstrings at build time: every one of the 3 names in the __all__ of pyflightstream.workspace.setup_inspection has an entry below. The names a guide or an example uses come first; the others follow under Advanced.

Present already-resolved cases without reparsing the input library.

Advanced

pyflightstream.workspace.setup_inspection.inspect_case_setup

inspect_case_setup(
    case: SimCase, version: str
) -> dict[str, Any]

Return typed values, provenance, evidence and aliases from one resolved case.

The result is a row-level configuration inspection. Point-dependent quantities and native effective defaults remain identified rather than guessed.

Parameters:

Name Type Description Default
case SimCase

The resolved case.

required
version str

The build the settings are judged against.

required

Returns:

Type Description
dict of str to object

The case's id, setup and build, each setting with its value, provenance and evidence, and the aliases.

pyflightstream.workspace.setup_inspection.setup_inspection_block

setup_inspection_block(
    records: Sequence[Mapping[str, Any]],
) -> list[str]

Return the lines of the console block Solver setup per case.

The facts of :func:setup_inspection_summary, laid out for a reader: one heading line per case, then its settings, its aliases and, on a row declaring a Tecplot surface, whether the surface carries the nodal Singularity_strength, each on its own line indented under the heading.

Parameters:

Name Type Description Default
records sequence of mapping

The inspection records of :func:inspect_case_setup, one per case.

required

Returns:

Type Description
list of str

The block's lines.

pyflightstream.workspace.setup_inspection.setup_inspection_summary

setup_inspection_summary(
    records: Sequence[Mapping[str, Any]],
) -> str

Return a concise per-row view of the same records used by full inspection.

A row declaring a Tecplot surface also says whether that surface carries the nodal Singularity_strength (SS1).

Parameters:

Name Type Description Default
records sequence of mapping

The inspection records of :func:inspect_case_setup, one per case.

required

Returns:

Type Description
str

One line per record.