|
DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
|
Registry that maps named cell-scalar output fields to getter lambdas. More...
#include <EulerBC.hpp>
Public Types | |
| using | tMap = std::map< std::string, tCellScalarFGet > |
| Name-to-getter mapping type. | |
Public Member Functions | |
| void | setMap (const tMap &v) |
| Register (or replace) the full set of available output fields. | |
| tCellScalarList | getSubsetList (const std::vector< std::string > &names) |
| Extract a subset of registered output fields by name. | |
Registry that maps named cell-scalar output fields to getter lambdas.
Used to select which derived quantities (e.g. Mach number, pressure coefficient) are written to output files. Call setMap() to register all available fields, then getSubsetList() to extract a user-requested subset.
Definition at line 715 of file EulerBC.hpp.
| using DNDS::Euler::OutputPicker::tMap = std::map<std::string, tCellScalarFGet> |
Name-to-getter mapping type.
Definition at line 718 of file EulerBC.hpp.
|
inline |
Extract a subset of registered output fields by name.
Asserts that every requested name exists in the registry.
| names | Ordered list of field names to extract. |
Definition at line 739 of file EulerBC.hpp.
|
inline |
Register (or replace) the full set of available output fields.
| v | Map of field names to their getter functions. |
Definition at line 726 of file EulerBC.hpp.