BlockMeta Struct ReferenceΒΆ
|
adc_cpp 0.3.0
Model-free C++23 core for coupled hyperbolic-elliptic systems on adaptive (AMR) meshes, with MPI and GPU (Kokkos) backends
|
pops::native_loader::BlockMeta Struct Reference
OPTIONAL metadata read by dlsym on a generated .so (names / roles / gamma). More...
#include <native_loader.hpp>
Collaboration diagram for pops::native_loader::BlockMeta:Public Attributes | |
| bool | has_gamma = false |
| double | gamma = 1.4 |
| VariableSet | cons {VariableKind::Conservative, {}, 0, {}} |
| VariableSet | prim {VariableKind::Primitive, {}, 0, {}} |
Detailed Description
OPTIONAL metadata read by dlsym on a generated .so (names / roles / gamma).
All optional: an old .so without these symbols gives empty meta -> the add_compiled_block / add_dynamic_block paths fall back to their fallback (names u0.., empty roles, gamma 1.4). No C++ object dependency: only strings and a double pass through dlsym (flat ABI, like the rest of the block).
Member Data Documentation
◆ cons
| VariableSet pops::native_loader::BlockMeta::cons {VariableKind::Conservative, {}, 0, {}} |
◆ gamma
| double pops::native_loader::BlockMeta::gamma = 1.4 |
◆ has_gamma
| bool pops::native_loader::BlockMeta::has_gamma = false |
◆ prim
| VariableSet pops::native_loader::BlockMeta::prim {VariableKind::Primitive, {}, 0, {}} |
The documentation for this struct was generated from the following file:
- include/pops/runtime/builders/compiled/native_loader.hpp
Generated by