Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Namespaces | Functions
units_json.hpp File Reference
#include "shamrock/scheduler/SerialPatchTree.hpp"
#include <shamunits/Constants.hpp>
#include <shamunits/UnitSystem.hpp>
+ Include dependency graph for units_json.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  shamunits
 namespace containing the units library
 

Functions

template<class Tscal >
void shamunits::to_json (nlohmann::json &j, const ::shamunits::UnitSystem< Tscal > &p)
 Converts a UnitSystem object to a JSON object.
 
template<class Tscal >
void shamunits::from_json (const nlohmann::json &j, ::shamunits::UnitSystem< Tscal > &p)
 Deserializes a UnitSystem object from a JSON object.
 

Detailed Description

Author
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)
Yona Lapeyre (yona..nosp@m.lape.nosp@m.yre@e.nosp@m.ns-l.nosp@m.yon.f.nosp@m.r)

Definition in file units_json.hpp.