Derived Types

TypeLocationExtendsDescription
block_t block_mod None

Discretization descriptor for one block of the 1D domain.

config_2d_t config_2d None
config_schema_entry_2d_t config_schema_2d None

Minimal schema record: canonical key, namelist group, value kind.

config_schema_entry_t config_schema None

Metadata published for one runtime-queryable configuration key.

Read more…
config_t config None

All runtime-configurable simulation parameters with Sod shock tube defaults.

decomp_2d_t domain_decomposition_2d None
decomp_t domain_decomposition None

Per-rank domain decomposition descriptor. All integer fields are local to the rank that holds it; only n_ranks, n_global, halo_width, and is_periodic are constant across ranks.

field_desc_t config_engine None

One configuration field: schema metadata + validation constraint + a typed pointer into a live config instance. Exactly one of the pointer components is associated, per value_kind.

local_layout_save_t time_integration None

Snapshot of a solver_state_t's per-rank local layout, used by the implicit gather-solve-scatter wrappers when rank 0 temporarily swaps into a single-rank decomp.

mesh_1d_t mesh_1d None

Grid metrics for the 1D node-based scheme.

Read more…
mesh_2d_t mesh_2d None

Grid metrics for the 2D structured scheme.

perf_counters_t solver_state None

Named wall-clock timers for the three hot regions of compute_resid().

Read more…
run_loop_ctx_t run_step_engine None

Shared run bookkeeping + per-dim hooks. Extended by solver_run_context_t (1D) and solver_run_context_2d_t (2D); the concrete fields keep their historical names so ctx % t-style access throughout the codebase is unchanged.

solver_progress_t solver_session None

Polling-friendly runtime summary exposed to adapters.

Read more…
solver_run_context_2d_t solver_runtime_2d run_loop_ctx_t

Aggregate context for one 2D solver run (2D analogue of solver_run_context_t). Populated by init_run_context_2d; callers set nml_file BEFORE init (it feeds the config: loaded log line). t, t_comp, iter, and run_complete are inherited from run_loop_ctx_t (Q2c) under their historical names.

solver_run_context_t solver_runtime run_loop_ctx_t

Aggregate context bundling all state needed for a single solver run.

Read more…
solver_session_t solver_session None

Mutable solver session that owns one configuration and, optionally, one runtime.

Read more…
solver_state_2d_t solver_state_2d None
solver_state_t solver_state None

All per-simulation state for the 1D Euler solver.

Read more…
timer_t timer None

Wall-clock timer accumulator.

Read more…
wire_entry_t protocol_codec None

A (key, value) pair produced by =decode_load_config_inline=. The dispatch arm walks the array and calls =solver_session_set_*= per entry — transactional only at the codec level (validation runs before any =session % cfg= mutation; if it fails, the array is never returned).

wire_value_t protocol_codec None

A typed wire value, populated by =decode_set_value= or =decode_load_config_inline=. Exactly one of the typed fields is meaningful per entry, identified by =kind= (see =cfg_kind_*= in =config_schema=). Strings up to 256 chars; longer strings are rejected by the decoder with =code="type_mismatch"= so the dispatch arm has a fixed-size scratch buffer to hand to =solver_session_set_string=.