Namespace Acts::GridJsonConverter¶
-
namespace GridJsonConverter
Functions
-
template<typename axis_generator_type>
auto fromJson(const nlohmann::json &jGrid, const axis_generator_type &aGenerator) Templated grid conversion from json.
Note
the axis generator also defines the grid dimension
- Template Parameters
axis_generator_type – the type of the axis generator which determines the grid type
- Parameters
jGrid – the json object to represent the grid
aGenerator – the axis generator
- Returns
a grid object
-
template<typename grid_type>
nlohmann::json toJson(const grid_type &grid) Templated grid conversion to json.
- Template Parameters
grid_type – the type of the grid
- Parameters
grid – the grid object
- Returns
a json object to represent the grid
-
template<typename axis_generator_type>