24#ifdef COLLISION_DETECTION
47 std::get<CoreClass>(*m_protocol).bond_centers);
50 [
this]() {
return std::get<CoreClass>(*m_protocol).bond_centers; }},
52 [
this]() {
return std::get<CoreClass>(*m_protocol).distance; }}});
54 std::shared_ptr<::CollisionDetection::ActiveProtocol>
protocol()
override {
59 std::shared_ptr<::CollisionDetection::ActiveProtocol> m_protocol;
64 ?
params.at(
"_bond_centers")
65 :
params.at(
"bond_centers"));
66 m_protocol = std::make_shared<::CollisionDetection::ActiveProtocol>(
void add_parameters(std::vector< AutoParameter > &¶ms)
std::shared_ptr<::CollisionDetection::ActiveProtocol > protocol() override
void do_initialize(VariantMap const ¶ms) override
auto find_bond_id(Variant const &v) const
auto get_bond_variant_by_id(int bond_id)
This file contains the defaults for ESPResSo.
T get_value(Variant const &v)
Extract value of specific type T from a Variant.
std::unordered_map< std::string, Variant > VariantMap
static SteepestDescentParameters params
Currently active steepest descent instance.
static constexpr const ReadOnly read_only