ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Classes | |
struct | ConvertToStringVector |
struct | GetParameterList |
Functions | |
std::vector< std::string > | available_methods () |
Fetch list of methods compiled in ScaFaCoS. | |
std::string | serialize_parameters (Variant const &pack) |
Flatten a parameter map. | |
template<typename T > | |
std::optional< Variant > | string_to_number (std::string const &s) |
std::unordered_map< std::string, Variant > | deserialize_parameters (std::string const ¶meters) |
Convert flattened parameters to a map. | |
std::vector< std::string > ScriptInterface::Scafacos::available_methods | ( | ) |
Fetch list of methods compiled in ScaFaCoS.
Definition at line 49 of file scafacos.cpp.
References ScafacosContextBase::available_methods().
Referenced by ScriptInterface::CodeInfo::CodeInfo::do_call_method(), ScriptInterface::Coulomb::CoulombScafacos::do_call_method(), and ScriptInterface::Dipoles::DipolarScafacos::do_call_method().
std::unordered_map< std::string, Variant > ScriptInterface::Scafacos::deserialize_parameters | ( | std::string const & | parameters | ) |
Convert flattened parameters to a map.
Definition at line 150 of file scafacos.cpp.
References ScriptInterface::get_value().
Referenced by ScriptInterface::Coulomb::CoulombScafacos::CoulombScafacos(), and ScriptInterface::Dipoles::DipolarScafacos::DipolarScafacos().
Flatten a parameter map.
Definition at line 121 of file scafacos.cpp.
References ScriptInterface::get_value(), and ScriptInterface::pack().
Referenced by ScriptInterface::Coulomb::CoulombScafacos::do_construct(), and ScriptInterface::Dipoles::DipolarScafacos::do_construct().
std::optional< Variant > ScriptInterface::Scafacos::string_to_number | ( | std::string const & | s | ) |
Definition at line 139 of file scafacos.cpp.
References ScriptInterface::get_value().