ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <ParticleHandle.hpp>
Public Member Functions | |
ParticleHandle () | |
Variant | do_call_method (std::string const &name, VariantMap const ¶ms) override |
void | do_construct (VariantMap const ¶ms) override |
void | attach (std::weak_ptr<::System::System > system) |
Public Member Functions inherited from ScriptInterface::AutoParameters< ParticleHandle > | |
std::span< const boost::string_ref > | valid_parameters () const final |
Variant | get_parameter (const std::string &name) const final |
void | do_set_parameter (const std::string &name, const Variant &value) final |
std::vector< std::pair< std::string, Variant > > | serialize_parameters () const final |
Public Member Functions inherited from ScriptInterface::ObjectHandle | |
ObjectHandle ()=default | |
ObjectHandle (ObjectHandle const &)=delete | |
ObjectHandle & | operator= (ObjectHandle const &)=delete |
virtual | ~ObjectHandle ()=default |
boost::string_ref | name () const |
Context * | context () const |
Responsible context. | |
void | construct (VariantMap const ¶ms) |
Construct the handled object. | |
VariantMap | get_parameters () const |
Get current parameters. | |
auto | get_valid_parameters () const |
void | set_parameter (const std::string &name, const Variant &value) |
Set single parameter. | |
Variant | call_method (const std::string &name, const VariantMap ¶ms) |
Call a method on the object. | |
std::string | serialize () const |
Additional Inherited Members | |
Static Public Member Functions inherited from ScriptInterface::ObjectHandle | |
static ObjectRef | deserialize (const std::string &state, Context &ctx) |
Make object from serialized state. | |
Protected Member Functions inherited from ScriptInterface::AutoParameters< ParticleHandle > | |
AutoParameters ()=default | |
AutoParameters (std::vector< AutoParameter > &¶ms) | |
void | add_parameters (std::vector< AutoParameter > &¶ms) |
auto const & | get_parameter_insertion_order () const |
Definition at line 40 of file ParticleHandle.hpp.
ScriptInterface::Particles::ParticleHandle::ParticleHandle | ( | ) |
Definition at line 182 of file ParticleHandle.cpp.
References ScriptInterface::Particles::bitfield_from_flag(), System::System::box_geo, Particle::calc_dip(), convert_dip_to_quat(), Utils::convert_director_to_quaternion(), Utils::convert_quaternion_to_director(), convert_vector_body_to_space(), convert_vector_space_to_body(), Particle::dip_fld(), Particle::dipm(), ParticleProperties::VirtualSitesRelativeParameters::distance, ScriptInterface::Particles::error_msg(), Particle::ext_force(), Particle::ext_torque(), Particle::fixed(), Particle::force(), Particle::gamma(), Particle::gamma_rot(), ScriptInterface::Particles::get_gamma_safe(), get_particle_data(), get_particle_node(), ScriptInterface::Particles::get_quaternion_safe(), is_valid_propagation_combination(), Particle::lees_edwards_flag(), Particle::lees_edwards_offset(), Particle::mass(), Particle::mol_id(), Particle::mu_E(), System::System::nonbonded_ias, Particle::omega(), on_particle_type_change(), ScriptInterface::Particles::particle_checks(), Particle::propagation(), propagation_bitmask_to_string(), Particle::q(), Particle::quat(), ScriptInterface::Particles::quat2vector(), Particle::rinertia(), Particle::rotation(), set_particle_pos(), ParticleParametersSwimming::swimming, Particle::swimming(), Particle::torque(), Particle::type(), Particle::v(), and Particle::vs_relative().
|
inline |
Definition at line 83 of file ParticleHandle.hpp.
Referenced by ScriptInterface::CellSystem::CellSystem::configure().
|
overridevirtual |
Reimplemented from ScriptInterface::ObjectHandle.
Definition at line 548 of file ParticleHandle.cpp.
References Utils::Vector< T, N >::as_vector(), System::System::bonded_ias, Particle::bonds(), calculate_vs_relate_to_params(), convert_vector_body_to_space(), convert_vector_space_to_body(), Particle::exclusions(), get_cell_structure(), get_particle_data(), ScriptInterface::Particles::get_real_particle(), Particle::has_exclusion(), Particle::is_virtual(), ScriptInterface::Particles::local_add_exclusion(), ScriptInterface::Particles::local_remove_exclusion(), local_rotate_particle(), ScriptInterface::make_vector_of_variants(), System::System::on_particle_change(), params, ScriptInterface::Particles::quat2vector(), remove_particle(), PropagationMode::ROT_VS_RELATIVE, and PropagationMode::TRANS_VS_RELATIVE.
|
overridevirtual |
Reimplemented from ScriptInterface::ObjectHandle.
Definition at line 758 of file ParticleHandle.cpp.
References get_cell_structure(), get_maximal_particle_id(), params, and ScriptInterface::Particles::particle_checks().