![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
U4 — implementation of openswmm_gw_transport.h. More...
#include <cmath>#include <openswmm/engine/openswmm_engine.h>#include <openswmm/engine/openswmm_gw_transport.h>#include "../../core/SWMMEngine.hpp"#include "../gw/GwTransportSections.hpp"#include <algorithm>#include <cctype>#include <cstdio>#include <cstring>#include <string>#include <vector>Macros | |
| #define | GW_GET(engine) |
| #define | GW_EDITABLE(eng) |
Functions | |
| SWMM_ENGINE_API int | swmm_gw_transport_option_get (SWMM_Engine engine, const char *key, char *buf, int buflen) |
| Serialize one groundwater transport option using its section spelling. | |
| SWMM_ENGINE_API int | swmm_gw_transport_option_set (SWMM_Engine engine, const char *key, const char *value) |
| Parse and atomically assign one groundwater transport option. | |
| SWMM_ENGINE_API int | swmm_gw_transport_authored (SWMM_Engine engine) |
| Test whether groundwater transport has any authored configuration. | |
| SWMM_ENGINE_API int | swmm_gw_params_count (SWMM_Engine engine) |
| Count authored groundwater physical-parameter rows. | |
| SWMM_ENGINE_API int | swmm_gw_params_get (SWMM_Engine engine, int idx, SWMM_GwParams *row, char *tag_buf, int tag_len) |
| Copy an authored porous-media parameter row and its optional tag. | |
| SWMM_ENGINE_API int | swmm_gw_params_set (SWMM_Engine engine, const SWMM_GwParams *row, const char *tag) |
| Upsert a raw porous-media parameter row keyed by scope/tag/cell. | |
| SWMM_ENGINE_API int | swmm_gw_params_remove (SWMM_Engine engine, int idx) |
| Remove one authored groundwater physical-parameter row. | |
| SWMM_ENGINE_API int | swmm_gw_sorption_count (SWMM_Engine engine) |
| Count authored groundwater species-sorption rows. | |
| SWMM_ENGINE_API int | swmm_gw_sorption_get (SWMM_Engine engine, int idx, int *scope, char *tag_buf, int tag_len, int *cell, char *species_buf, int species_len, double *kd, double *decay) |
| Read an authored scope/species sorption record. | |
| SWMM_ENGINE_API int | swmm_gw_sorption_set (SWMM_Engine engine, int scope, const char *tag, int cell, const char *species, double kd, double decay) |
| Upsert one scope/species partition coefficient and decay override. | |
| SWMM_ENGINE_API int | swmm_gw_sorption_remove (SWMM_Engine engine, int idx) |
| Remove one authored groundwater species-sorption row. | |
| SWMM_ENGINE_API int | swmm_gw_init_quality_count (SWMM_Engine engine) |
| Count authored groundwater initial-quality rows. | |
| SWMM_ENGINE_API int | swmm_gw_init_quality_get (SWMM_Engine engine, int idx, int *scope, char *tag_buf, int tag_len, int *cell, int *zone, int *layer, char *species_buf, int species_len, double *value) |
| Read an authored groundwater initial-quality record. | |
| SWMM_ENGINE_API int | swmm_gw_init_quality_set (SWMM_Engine engine, int scope, const char *tag, int cell, int zone, int layer, const char *species, double value) |
| Upsert initial quality keyed by scope, zone/layer and species. | |
| SWMM_ENGINE_API int | swmm_gw_init_quality_remove (SWMM_Engine engine, int idx) |
| Remove one authored groundwater initial-quality row. | |
| SWMM_ENGINE_API int | swmm_gw_init_quality_file_get (SWMM_Engine engine, char *buf, int buflen) |
| Read the initial-quality CSV sidecar reference. | |
| SWMM_ENGINE_API int | swmm_gw_init_quality_file_set (SWMM_Engine engine, const char *path) |
| Assign the initial-quality CSV sidecar reference. | |
| SWMM_ENGINE_API int | swmm_gw_boundary_quality_count (SWMM_Engine engine) |
| Count authored groundwater exterior-quality rows. | |
| SWMM_ENGINE_API int | swmm_gw_boundary_quality_get (SWMM_Engine engine, int idx, int *cell, int *edge, char *species_buf, int species_len, char *kind_buf, int kind_len, double *value, char *ts_buf, int ts_len) |
| Read an authored groundwater edge-quality record. | |
| SWMM_ENGINE_API int | swmm_gw_boundary_quality_set (SWMM_Engine engine, int cell, int edge, const char *species, const char *kind, double value, const char *ts_name) |
| Upsert groundwater edge quality for a species and concentration/flux category. | |
| SWMM_ENGINE_API int | swmm_gw_boundary_quality_remove (SWMM_Engine engine, int idx) |
| Remove one authored groundwater exterior-quality row. | |
| SWMM_ENGINE_API int | swmm_gw_source_count (SWMM_Engine engine) |
| Count authored groundwater named-source rows. | |
| SWMM_ENGINE_API int | swmm_gw_source_get (SWMM_Engine engine, int idx, char *name_buf, int name_len, int *scope, char *tag_buf, int tag_len, int *cell, double *flow, char *flow_ts_buf, int flow_ts_len) |
| Read an authored named groundwater source and its scope. | |
| SWMM_ENGINE_API int | swmm_gw_source_set (SWMM_Engine engine, const char *name, int scope, const char *tag, int cell, double flow, const char *flow_ts) |
| Upsert a named groundwater water source and its scope. | |
| SWMM_ENGINE_API int | swmm_gw_source_scale_get (SWMM_Engine engine, int idx, double *value) |
| Read the multiplier for a named source's flow and MASS terms. | |
| SWMM_ENGINE_API int | swmm_gw_source_scale_set (SWMM_Engine engine, int idx, double value) |
| Set the multiplier for a named source's flow and MASS terms. | |
| SWMM_ENGINE_API int | swmm_gw_source_remove (SWMM_Engine engine, int idx) |
| Remove one authored groundwater named-source row. | |
| SWMM_ENGINE_API int | swmm_gw_source_species_count (SWMM_Engine engine, int src_idx) |
| Count species terms carried by one named groundwater source. | |
| SWMM_ENGINE_API int | swmm_gw_source_species_get (SWMM_Engine engine, int src_idx, int term_idx, char *species_buf, int species_len, char *kind_buf, int kind_len, double *value, char *ts_buf, int ts_len) |
| Read a named groundwater source species term. | |
| SWMM_ENGINE_API int | swmm_gw_source_species_set (SWMM_Engine engine, int src_idx, const char *species, const char *kind, double value, const char *ts_name) |
| Upsert a named source's species term by species name. | |
| SWMM_ENGINE_API int | swmm_gw_source_species_remove (SWMM_Engine engine, int src_idx, int term_idx) |
| Remove one species term from a named source. | |
U4 — implementation of openswmm_gw_transport.h.
Every setter parses through the SAME line parsers the .inp sections use, so the API and the file can never drift: an option the file refuses the API refuses, with the same message shape. The rows live on SurfaceRouter2D (via ctx.twod_io.gw), so a save re-emits exactly what the API wrote.
| #define GW_EDITABLE | ( | eng | ) |
| #define GW_GET | ( | engine | ) |
| SWMM_ENGINE_API int swmm_gw_boundary_quality_count | ( | SWMM_Engine | engine | ) |
Count authored groundwater exterior-quality rows.
| [in] | engine | Borrowed live engine handle; not retained by this call. |
| SWMM_ENGINE_API int swmm_gw_boundary_quality_get | ( | SWMM_Engine | engine, |
| int | idx, | ||
| int * | cell, | ||
| int * | edge, | ||
| char * | species_buf, | ||
| int | species_len, | ||
| char * | kind_buf, | ||
| int | kind_len, | ||
| double * | value, | ||
| char * | ts_buf, | ||
| int | ts_len ) |
Read an authored groundwater edge-quality record.
| [in] | engine | Borrowed live engine handle; not retained by this call. |
| [in] | idx | Zero-based boundary-quality row index. |
| [out] | cell | Optional zero-based cell index slot. |
| [out] | edge | Optional local edge slot, 0..cell vertex count - 1. |
| [out] | species_buf | Optional species-name buffer. |
| [in] | species_len | Species-buffer byte capacity. |
| [out] | kind_buf | Optional kind buffer: CONC, TS, MASSFLUX or HEATFLUX. |
| [in] | kind_len | Kind-buffer byte capacity. |
| [out] | value | Optional raw constant concentration/flux field in the kind's section units. |
| [out] | ts_buf | Optional series-name buffer, empty when not authored. |
| [in] | ts_len | Time-series-buffer byte capacity. |
| SWMM_ENGINE_API int swmm_gw_boundary_quality_remove | ( | SWMM_Engine | engine, |
| int | idx ) |
Remove one authored groundwater exterior-quality row.
| [in] | engine | Borrowed live engine handle; not retained by this call. |
| [in] | idx | Zero-based current row index; later indices shift on removal. |
| SWMM_ENGINE_API int swmm_gw_boundary_quality_set | ( | SWMM_Engine | engine, |
| int | cell, | ||
| int | edge, | ||
| const char * | species, | ||
| const char * | kind, | ||
| double | value, | ||
| const char * | ts_name ) |
Upsert groundwater edge quality for a species and concentration/flux category.
| [in] | engine | Borrowed live engine handle; not retained by this call. |
| [in] | cell | Nonnegative zero-based cell index; checked against an available mesh. |
| [in] | edge | Nonnegative local edge, below the cell's vertex count when a mesh exists. |
| [in] | species | Non-null nonempty species name, copied for later resolution. |
| [in] | kind | Exact CONC, TS, MASSFLUX or HEATFLUX string. |
| [in] | value | Finite raw constant in the chosen concentration/flux section units, also required finite for TS mode even though a series supplies runtime values. |
| [in] | ts_name | Nonempty series name for TS, optional/NULL otherwise. |
| SWMM_ENGINE_API int swmm_gw_init_quality_count | ( | SWMM_Engine | engine | ) |
Count authored groundwater initial-quality rows.
| [in] | engine | Borrowed live engine handle; not retained by this call. |
| SWMM_ENGINE_API int swmm_gw_init_quality_file_get | ( | SWMM_Engine | engine, |
| char * | buf, | ||
| int | buflen ) |
Read the initial-quality CSV sidecar reference.
| [in] | engine | Borrowed live engine handle; not retained by this call. |
| [out] | buf | Non-null writable path buffer. |
| [in] | buflen | Positive byte capacity; long paths are truncated with NUL. |
| SWMM_ENGINE_API int swmm_gw_init_quality_file_set | ( | SWMM_Engine | engine, |
| const char * | path ) |
Assign the initial-quality CSV sidecar reference.
| [in] | engine | Borrowed live engine handle; not retained by this call. |
| [in] | path | Null-terminated path copied as given; NULL or empty clears the reference. |
| SWMM_ENGINE_API int swmm_gw_init_quality_get | ( | SWMM_Engine | engine, |
| int | idx, | ||
| int * | scope, | ||
| char * | tag_buf, | ||
| int | tag_len, | ||
| int * | cell, | ||
| int * | zone, | ||
| int * | layer, | ||
| char * | species_buf, | ||
| int | species_len, | ||
| double * | value ) |
Read an authored groundwater initial-quality record.
| [in] | engine | Borrowed live engine handle; not retained by this call. |
| [in] | idx | Zero-based row index. |
| [out] | scope | Optional SWMM_GW_SCOPE_* slot. |
| [out] | tag_buf | Optional scope-tag buffer. |
| [in] | tag_len | Tag-buffer byte capacity. |
| [out] | cell | Optional zero-based CELL slot or -1. |
| [out] | zone | Optional SWMM_GW_ZONE_* selector. |
| [out] | layer | Optional one-based layer index, meaningful only for LAYER scope. |
| [out] | species_buf | Optional species-name buffer. |
| [in] | species_len | Species-buffer byte capacity. |
| [out] | value | Optional raw initial concentration in species units; reserved temperature/age fields use their respective degrees-C/seconds conventions. |
| SWMM_ENGINE_API int swmm_gw_init_quality_remove | ( | SWMM_Engine | engine, |
| int | idx ) |
Remove one authored groundwater initial-quality row.
| [in] | engine | Borrowed live engine handle; not retained by this call. |
| [in] | idx | Zero-based current row index; later indices shift on removal. |
| SWMM_ENGINE_API int swmm_gw_init_quality_set | ( | SWMM_Engine | engine, |
| int | scope, | ||
| const char * | tag, | ||
| int | cell, | ||
| int | zone, | ||
| int | layer, | ||
| const char * | species, | ||
| double | value ) |
Upsert initial quality keyed by scope, zone/layer and species.
| [in] | engine | Borrowed live engine handle; not retained by this call. |
| [in] | scope | SWMM_GW_SCOPE_GLOBAL, TAG or CELL; the legacy scope conversion treats other codes as GLOBAL unless this setter states otherwise. |
| [in] | tag | Required nonempty text for TAG; otherwise ignored and may be NULL. |
| [in] | cell | Nonnegative zero-based cell for CELL; otherwise ignored. |
| [in] | zone | SAT, UNSAT or LAYER; unrecognized codes convert to SAT. |
| [in] | layer | Positive one-based layer for LAYER, ignored and stored -1 otherwise. |
| [in] | species | Non-null nonempty species name; reserved TEMPERATURE and WATER_AGE permit signed authored values where ordinary concentrations do not. |
| [in] | value | Raw species concentration or reserved temperature/age value. Negative ordinary-species values are rejected; finite/range checks are not comprehensive. |
| SWMM_ENGINE_API int swmm_gw_params_count | ( | SWMM_Engine | engine | ) |
Count authored groundwater physical-parameter rows.
| [in] | engine | Borrowed live engine handle; not retained by this call. |
| SWMM_ENGINE_API int swmm_gw_params_get | ( | SWMM_Engine | engine, |
| int | idx, | ||
| SWMM_GwParams * | row, | ||
| char * | tag_buf, | ||
| int | tag_len ) |
Copy an authored porous-media parameter row and its optional tag.
| [in] | engine | Borrowed live engine handle; not retained by this call. |
| [in] | idx | Zero-based parameter-row index. |
| [out] | row | Non-null structure receiving scope/cell and raw physical properties; SI units are stated on SWMM_GwParams fields, with geo_flux depending on the deep thermal mode. |
| [out] | tag_buf | Optional writable tag-name buffer; NULL skips it. |
| [in] | tag_len | Byte capacity; <= 0 skips copying, otherwise truncates with NUL. |
| SWMM_ENGINE_API int swmm_gw_params_remove | ( | SWMM_Engine | engine, |
| int | idx ) |
Remove one authored groundwater physical-parameter row.
| [in] | engine | Borrowed live engine handle; not retained by this call. |
| [in] | idx | Zero-based current row index; later indices shift on removal. |
| SWMM_ENGINE_API int swmm_gw_params_set | ( | SWMM_Engine | engine, |
| const SWMM_GwParams * | row, | ||
| const char * | tag ) |
Upsert a raw porous-media parameter row keyed by scope/tag/cell.
| [in] | engine | Borrowed live engine handle; not retained by this call. |
| [in] | row | Non-null borrowed physical-property record in the SI units specified on SWMM_GwParams. CELL indices must be nonnegative; TAG needs a name. |
| [in] | tag | Nonempty for TAG scope, ignored otherwise and may be NULL. |
| SWMM_ENGINE_API int swmm_gw_sorption_count | ( | SWMM_Engine | engine | ) |
Count authored groundwater species-sorption rows.
| [in] | engine | Borrowed live engine handle; not retained by this call. |
| SWMM_ENGINE_API int swmm_gw_sorption_get | ( | SWMM_Engine | engine, |
| int | idx, | ||
| int * | scope, | ||
| char * | tag_buf, | ||
| int | tag_len, | ||
| int * | cell, | ||
| char * | species_buf, | ||
| int | species_len, | ||
| double * | kd, | ||
| double * | decay ) |
Read an authored scope/species sorption record.
| [in] | engine | Borrowed live engine handle; not retained by this call. |
| [in] | idx | Zero-based sorption row index. |
| [out] | scope | Optional SWMM_GW_SCOPE_* slot. |
| [out] | tag_buf | Optional tag-name buffer. |
| [in] | tag_len | Tag buffer byte capacity. |
| [out] | cell | Optional zero-based cell slot, -1 outside CELL scope. |
| [out] | species_buf | Optional species-name buffer. |
| [in] | species_len | Species-buffer byte capacity. |
| [out] | kd | Optional partition-coefficient slot in L/kg. |
| [out] | decay | Optional 1/day decay slot; negative means inherit the pollutant decay. |
| SWMM_ENGINE_API int swmm_gw_sorption_remove | ( | SWMM_Engine | engine, |
| int | idx ) |
Remove one authored groundwater species-sorption row.
| [in] | engine | Borrowed live engine handle; not retained by this call. |
| [in] | idx | Zero-based current row index; later indices shift on removal. |
| SWMM_ENGINE_API int swmm_gw_sorption_set | ( | SWMM_Engine | engine, |
| int | scope, | ||
| const char * | tag, | ||
| int | cell, | ||
| const char * | species, | ||
| double | kd, | ||
| double | decay ) |
Upsert one scope/species partition coefficient and decay override.
| [in] | engine | Borrowed live engine handle; not retained by this call. |
| [in] | scope | SWMM_GW_SCOPE_GLOBAL, TAG or CELL; the legacy scope conversion treats other codes as GLOBAL unless this setter states otherwise. |
| [in] | tag | Required nonempty text for TAG; otherwise ignored and may be NULL. |
| [in] | cell | Nonnegative zero-based cell for CELL; otherwise ignored. |
| [in] | species | Non-null nonempty species name, copied without eager name resolution. |
| [in] | kd | Partition coefficient in L/kg; negative values are rejected. |
| [in] | decay | Decay in 1/day; negative inherits the pollutant's kDecay. |
| SWMM_ENGINE_API int swmm_gw_source_count | ( | SWMM_Engine | engine | ) |
Count authored groundwater named-source rows.
| [in] | engine | Borrowed live engine handle; not retained by this call. |
| SWMM_ENGINE_API int swmm_gw_source_get | ( | SWMM_Engine | engine, |
| int | idx, | ||
| char * | name_buf, | ||
| int | name_len, | ||
| int * | scope, | ||
| char * | tag_buf, | ||
| int | tag_len, | ||
| int * | cell, | ||
| double * | flow, | ||
| char * | flow_ts_buf, | ||
| int | flow_ts_len ) |
Read an authored named groundwater source and its scope.
| [in] | engine | Borrowed live engine handle; not retained by this call. |
| [in] | idx | Zero-based source row index. |
| [out] | name_buf | Optional source-name buffer. |
| [in] | name_len | Name-buffer byte capacity. |
| [out] | scope | Optional GLOBAL/TAG/CELL scope slot. |
| [out] | tag_buf | Optional tag-name buffer. |
| [in] | tag_len | Tag-buffer byte capacity. |
| [out] | cell | Optional zero-based cell slot, -1 outside CELL scope. |
| [out] | flow | Optional total source discharge in m3/s, signed positive into groundwater. |
| [out] | flow_ts_buf | Optional flow time-series-name buffer. |
| [in] | flow_ts_len | Flow-series buffer byte capacity. |
| SWMM_ENGINE_API int swmm_gw_source_remove | ( | SWMM_Engine | engine, |
| int | idx ) |
Remove one authored groundwater named-source row.
| [in] | engine | Borrowed live engine handle; not retained by this call. |
| [in] | idx | Zero-based current row index; later indices shift on removal. |
| SWMM_ENGINE_API int swmm_gw_source_scale_get | ( | SWMM_Engine | engine, |
| int | idx, | ||
| double * | value ) |
Read the multiplier for a named source's flow and MASS terms.
| [in] | engine | Borrowed live engine handle; not retained by this call. |
| [in] | idx | Zero-based source row index. |
| [out] | value | Non-null slot for dimensionless source multiplier; CONC terms remain unchanged by the multiplier. |
| SWMM_ENGINE_API int swmm_gw_source_scale_set | ( | SWMM_Engine | engine, |
| int | idx, | ||
| double | value ) |
Set the multiplier for a named source's flow and MASS terms.
| [in] | engine | Borrowed live engine handle; not retained by this call. |
| [in] | idx | Zero-based source row index. |
| [in] | value | Finite nonnegative dimensionless source multiplier; CONC terms remain unchanged by the multiplier. |
| SWMM_ENGINE_API int swmm_gw_source_set | ( | SWMM_Engine | engine, |
| const char * | name, | ||
| int | scope, | ||
| const char * | tag, | ||
| int | cell, | ||
| double | flow, | ||
| const char * | flow_ts ) |
Upsert a named groundwater water source and its scope.
| [in] | engine | Borrowed live engine handle; not retained by this call. |
| [in] | name | Non-null nonempty source name, used as the replacement key. |
| [in] | scope | Exactly GLOBAL (0), TAG (1) or CELL (2); other codes are rejected. |
| [in] | tag | Non-null nonempty for TAG; ignored otherwise and may be NULL. |
| [in] | cell | Nonnegative zero-based index for CELL; ignored otherwise. |
| [in] | flow | Finite signed total discharge in m3/s over all active matching cells; GLOBAL/TAG distribution is area-weighted and negative discharge extracts water. |
| [in] | flow_ts | Optional time-series name; NULL stores empty text. |
| SWMM_ENGINE_API int swmm_gw_source_species_count | ( | SWMM_Engine | engine, |
| int | src_idx ) |
Count species terms carried by one named groundwater source.
| [in] | engine | Borrowed live engine handle; not retained by this call. |
| [in] | src_idx | Zero-based source row index. |
| SWMM_ENGINE_API int swmm_gw_source_species_get | ( | SWMM_Engine | engine, |
| int | src_idx, | ||
| int | term_idx, | ||
| char * | species_buf, | ||
| int | species_len, | ||
| char * | kind_buf, | ||
| int | kind_len, | ||
| double * | value, | ||
| char * | ts_buf, | ||
| int | ts_len ) |
Read a named groundwater source species term.
| [in] | engine | Borrowed live engine handle; not retained by this call. |
| [in] | src_idx | Zero-based source row index. |
| [in] | term_idx | Zero-based term index within that source. |
| [out] | species_buf | Optional species-name buffer. |
| [in] | species_len | Species-buffer byte capacity. |
| [out] | kind_buf | Optional CONC/MASS kind buffer. |
| [in] | kind_len | Kind-buffer byte capacity. |
| [out] | value | Optional constant concentration or species-native mass/s field. |
| [out] | ts_buf | Optional time-series-name buffer. |
| [in] | ts_len | Series-buffer byte capacity. |
| SWMM_ENGINE_API int swmm_gw_source_species_remove | ( | SWMM_Engine | engine, |
| int | src_idx, | ||
| int | term_idx ) |
Remove one species term from a named source.
| [in] | engine | Borrowed live engine handle; not retained by this call. |
| [in] | src_idx | Zero-based source row index. |
| [in] | term_idx | Zero-based term index, shifting later term positions on success. |
| SWMM_ENGINE_API int swmm_gw_source_species_set | ( | SWMM_Engine | engine, |
| int | src_idx, | ||
| const char * | species, | ||
| const char * | kind, | ||
| double | value, | ||
| const char * | ts_name ) |
Upsert a named source's species term by species name.
| [in] | engine | Borrowed live engine handle; not retained by this call. |
| [in] | src_idx | Zero-based source row index. |
| [in] | species | Non-null nonempty species name. |
| [in] | kind | Exact CONC or MASS text; other spellings are rejected. |
| [in] | value | Raw concentration or native species mass/s field; this setter stores it without finite/range validation, so meaningful physical values remain required. |
| [in] | ts_name | Optional series name; NULL stores empty text. Series are sampled linearly with held endpoint values on the absolute simulation clock. |
| SWMM_ENGINE_API int swmm_gw_transport_authored | ( | SWMM_Engine | engine | ) |
Test whether groundwater transport has any authored configuration.
| [in] | engine | Borrowed live engine handle; not retained by this call. |
| SWMM_ENGINE_API int swmm_gw_transport_option_get | ( | SWMM_Engine | engine, |
| const char * | key, | ||
| char * | buf, | ||
| int | buflen ) |
Serialize one groundwater transport option using its section spelling.
| [in] | engine | Borrowed live engine handle; not retained by this call. |
| [in] | key | Non-null case-sensitive recognized uppercase option key. |
| [out] | buf | Non-null writable value buffer; multi-token boundary values include their arguments. |
| [in] | buflen | Positive byte capacity; values are truncated safely to len - 1 plus NUL. |
| SWMM_ENGINE_API int swmm_gw_transport_option_set | ( | SWMM_Engine | engine, |
| const char * | key, | ||
| const char * | value ) |
Parse and atomically assign one groundwater transport option.
| [in] | engine | Borrowed live engine handle; not retained by this call. |
| [in] | key | Non-null input-section key, passed to the shared parser. |
| [in] | value | Non-null textual value; whitespace splits multi-token arguments. |