9 #ifndef ADD_DIHEDRAL_ANGLE_H 10 #define ADD_DIHEDRAL_ANGLE_H ShPtr< Element > ElPtr
An alias for a shared pointer of Element class.
virtual void compute_impl(Json &data, JsonToVoidFunc check_required_keys, JsonToBoolFunc check_optional_keys) override
This method overrides Updater::compute_impl.
Adder adds new properties to a non-empty Element object.
std::function< bool(const Json &)> JsonToBoolFunc
An alias for a function accepts a Json object and returns a bool.
AddDihedralAngle adds dihedral-angle property to dehedrals, each of them is defined by four consecuti...
nlohmann::json Json
Json is an alias for nlohmann::json.
This file has a definition of Adder class, which is a subclass of Updater class.
std::function< void(const Json &)> JsonToVoidFunc
An alias for a function accepts a Json object.
AddDihedralAngle(const ElPtr &elem)
Constructor of AddDihedralAngle class.