9 #ifndef STA_DUMP_ATOMS_H 10 #define STA_DUMP_ATOMS_H This file has a definition of StaDump class, which is a subclass of Starter class.
std::function< bool(const Json &)> JsonToBoolFunc
An alias for a function accepts a Json object and returns a bool.
StaDumpAtoms reads a Lammps' dump file and sets properties for atoms.
nlohmann::json Json
Json is an alias for nlohmann::json.
StaDump(const Str &filepath_, const int timestep_)
Constructor of StaDump class.
virtual void compute_impl(Json &data, JsonToVoidFunc check_required_keys, JsonToBoolFunc check_optional_keys) override
This method overrides Updater::compute_impl.
StaDump is an abstract class whose subclasses read a Lammps' dump file.
std::function< void(const Json &)> JsonToVoidFunc
An alias for a function accepts a Json object.