ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
Particle Struct Reference

Struct holding all information for one particle. More...

#include <Particle.hpp>

Public Member Functions

auto constid () const
 
autoid ()
 
auto constmol_id () const
 
automol_id ()
 
auto consttype () const
 
autotype ()
 
auto constpropagation () const
 
autopropagation ()
 
bool operator== (Particle const &rhs) const
 
bool operator!= (Particle const &rhs) const
 
auto constbonds () const
 
autobonds ()
 
auto constpos () const
 
autopos ()
 
auto constv () const
 
autov ()
 
auto constforce () const
 
autoforce ()
 
auto constforce_and_torque () const
 
autoforce_and_torque ()
 
bool is_ghost () const
 
void set_ghost (bool const ghost_flag)
 
autopos_at_last_verlet_update ()
 
auto constpos_at_last_verlet_update () const
 
auto constimage_box () const
 
autoimage_box ()
 
auto constlees_edwards_offset () const
 
autolees_edwards_offset ()
 
auto constlees_edwards_flag () const
 
autolees_edwards_flag ()
 
auto constmass () const
 
automass ()
 
auto constrotation () const
 
autorotation ()
 
bool can_rotate () const
 
bool can_rotate_around (unsigned int const axis) const
 
void set_can_rotate_around (unsigned int const axis, bool const rot_flag)
 
void set_can_rotate_all_axes ()
 
void set_cannot_rotate_all_axes ()
 
auto constquat () const
 
autoquat ()
 
auto consttorque () const
 
autotorque ()
 
auto constomega () const
 
autoomega ()
 
auto constext_torque () const
 
autoext_torque ()
 
auto calc_director () const
 
auto constdipm () const
 
autodipm ()
 
auto calc_dip () const
 
auto conststoner_wohlfarth_is_enabled () const
 
autostoner_wohlfarth_is_enabled ()
 
auto conststoner_wohlfarth_phi_0 () const
 
autostoner_wohlfarth_phi_0 ()
 
auto constsaturation_magnetization () const
 
autosaturation_magnetization ()
 
auto constmagnetic_anisotropy_field_inv () const
 
automagnetic_anisotropy_field_inv ()
 
auto constmagnetic_anisotropy_energy () const
 
automagnetic_anisotropy_energy ()
 
auto conststoner_wohlfarth_tau0_inv () const
 
autostoner_wohlfarth_tau0_inv ()
 
auto conststoner_wohlfarth_dt_incr () const
 
autostoner_wohlfarth_dt_incr ()
 
auto constdip_fld () const
 
autodip_fld ()
 
auto constrinertia () const
 
autorinertia ()
 
auto constq () const
 
autoq ()
 
auto constmu_E () const
 
automu_E ()
 
auto is_virtual () const
 
auto constvs_relative () const
 
autovs_relative ()
 
auto constgamma () const
 
autogamma ()
 
auto constgamma_rot () const
 
autogamma_rot ()
 
auto constfixed () const
 
autofixed ()
 
bool has_fixed_coordinates () const
 
bool is_fixed_along (unsigned int const axis) const
 
void set_fixed_along (int const axis, bool const fixed_flag)
 
auto constext_force () const
 
autoext_force ()
 
auto constswimming () const
 
autoswimming ()
 
auto constpos_last_time_step () const
 
autopos_last_time_step ()
 
auto constrattle_params () const
 
autorattle_params ()
 
auto constrattle_correction () const
 
autorattle_correction ()
 
Utils::compact_vector< int > & exclusions ()
 
Utils::compact_vector< int > constexclusions () const
 
bool has_exclusion (int pid) const
 

Detailed Description

Struct holding all information for one particle.

Definition at line 435 of file Particle.hpp.

Member Function Documentation

◆ bonds() [1/2]

auto & Particle::bonds ( )
inline

Definition at line 469 of file Particle.hpp.

◆ bonds() [2/2]

◆ calc_dip()

◆ calc_director()

auto Particle::calc_director ( ) const
inline

◆ can_rotate()

◆ can_rotate_around()

bool Particle::can_rotate_around ( unsigned int const  axis) const
inline

◆ dip_fld() [1/2]

auto & Particle::dip_fld ( )
inline

Definition at line 569 of file Particle.hpp.

References ParticleProperties::dip_fld.

◆ dip_fld() [2/2]

◆ dipm() [1/2]

auto & Particle::dipm ( )
inline

Definition at line 534 of file Particle.hpp.

References ParticleProperties::dipm.

◆ dipm() [2/2]

◆ exclusions() [1/2]

◆ exclusions() [2/2]

Utils::compact_vector< int > const & Particle::exclusions ( ) const
inline

Definition at line 647 of file Particle.hpp.

◆ ext_force() [1/2]

auto & Particle::ext_force ( )
inline

Definition at line 627 of file Particle.hpp.

References ParticleProperties::ext_force.

◆ ext_force() [2/2]

auto const & Particle::ext_force ( ) const
inline

◆ ext_torque() [1/2]

auto & Particle::ext_torque ( )
inline

Definition at line 525 of file Particle.hpp.

References ParticleProperties::ext_torque.

◆ ext_torque() [2/2]

auto const & Particle::ext_torque ( ) const
inline

◆ fixed() [1/2]

auto & Particle::fixed ( )
inline

Definition at line 612 of file Particle.hpp.

References ParticleProperties::ext_flag.

◆ fixed() [2/2]

auto const & Particle::fixed ( ) const
inline

◆ force() [1/2]

auto & Particle::force ( )
inline

Definition at line 476 of file Particle.hpp.

References ParticleForce::f.

◆ force() [2/2]

◆ force_and_torque() [1/2]

auto & Particle::force_and_torque ( )
inline

Definition at line 478 of file Particle.hpp.

◆ force_and_torque() [2/2]

auto const & Particle::force_and_torque ( ) const
inline

Definition at line 477 of file Particle.hpp.

Referenced by CellStructure::ghosts_reset_forces(), and init_forces_and_thermostat().

◆ gamma() [1/2]

auto & Particle::gamma ( )
inline

Definition at line 604 of file Particle.hpp.

References ParticleProperties::gamma.

◆ gamma() [2/2]

◆ gamma_rot() [1/2]

auto & Particle::gamma_rot ( )
inline

Definition at line 607 of file Particle.hpp.

References ParticleProperties::gamma_rot.

◆ gamma_rot() [2/2]

◆ has_exclusion()

bool Particle::has_exclusion ( int  pid) const
inline

◆ has_fixed_coordinates()

bool Particle::has_fixed_coordinates ( ) const
inline

Definition at line 613 of file Particle.hpp.

References ParticleProperties::ext_flag.

◆ id() [1/2]

auto & Particle::id ( )
inline

Definition at line 455 of file Particle.hpp.

References ParticleProperties::identity.

◆ id() [2/2]

◆ image_box() [1/2]

auto & Particle::image_box ( )
inline

Definition at line 485 of file Particle.hpp.

References ParticlePosition::i.

◆ image_box() [2/2]

◆ is_fixed_along()

◆ is_ghost()

bool Particle::is_ghost ( ) const
inline

◆ is_virtual()

◆ lees_edwards_flag() [1/2]

auto & Particle::lees_edwards_flag ( )
inline

Definition at line 489 of file Particle.hpp.

References ParticleLocal::lees_edwards_flag.

◆ lees_edwards_flag() [2/2]

auto const & Particle::lees_edwards_flag ( ) const
inline

◆ lees_edwards_offset() [1/2]

auto & Particle::lees_edwards_offset ( )
inline

Definition at line 487 of file Particle.hpp.

References ParticleLocal::lees_edwards_offset.

◆ lees_edwards_offset() [2/2]

auto const & Particle::lees_edwards_offset ( ) const
inline

◆ magnetic_anisotropy_energy() [1/2]

auto & Particle::magnetic_anisotropy_energy ( )
inline

◆ magnetic_anisotropy_energy() [2/2]

◆ magnetic_anisotropy_field_inv() [1/2]

auto & Particle::magnetic_anisotropy_field_inv ( )
inline

◆ magnetic_anisotropy_field_inv() [2/2]

auto const & Particle::magnetic_anisotropy_field_inv ( ) const
inline

◆ mass() [1/2]

auto & Particle::mass ( )
inline

Definition at line 493 of file Particle.hpp.

References ParticleProperties::mass.

◆ mass() [2/2]

◆ mol_id() [1/2]

auto & Particle::mol_id ( )
inline

Definition at line 457 of file Particle.hpp.

References ParticleProperties::mol_id.

◆ mol_id() [2/2]

◆ mu_E() [1/2]

auto & Particle::mu_E ( )
inline

Definition at line 585 of file Particle.hpp.

References ParticleProperties::mu_E.

◆ mu_E() [2/2]

auto const & Particle::mu_E ( ) const
inline

◆ omega() [1/2]

auto & Particle::omega ( )
inline

Definition at line 522 of file Particle.hpp.

References ParticleMomentum::omega.

◆ omega() [2/2]

◆ operator!=()

bool Particle::operator!= ( Particle const rhs) const
inline

Definition at line 466 of file Particle.hpp.

References id(), and stream.

◆ operator==()

bool Particle::operator== ( Particle const rhs) const
inline

Definition at line 464 of file Particle.hpp.

References id(), and stream.

◆ pos() [1/2]

auto & Particle::pos ( )
inline

Definition at line 472 of file Particle.hpp.

References ParticlePosition::p.

◆ pos() [2/2]

◆ pos_at_last_verlet_update() [1/2]

auto & Particle::pos_at_last_verlet_update ( )
inline

Definition at line 482 of file Particle.hpp.

References ParticleLocal::p_old.

Referenced by fold_and_reset().

◆ pos_at_last_verlet_update() [2/2]

auto const & Particle::pos_at_last_verlet_update ( ) const
inline

Definition at line 483 of file Particle.hpp.

References ParticleLocal::p_old.

◆ pos_last_time_step() [1/2]

auto & Particle::pos_last_time_step ( )
inline

Definition at line 638 of file Particle.hpp.

References ParticlePosition::p_last_timestep.

◆ pos_last_time_step() [2/2]

auto const & Particle::pos_last_time_step ( ) const
inline

Definition at line 637 of file Particle.hpp.

References ParticlePosition::p_last_timestep.

Referenced by serialize_and_reduce().

◆ propagation() [1/2]

auto & Particle::propagation ( )
inline

Definition at line 462 of file Particle.hpp.

References ParticleProperties::propagation.

◆ propagation() [2/2]

◆ q() [1/2]

auto & Particle::q ( )
inline

Definition at line 579 of file Particle.hpp.

References ParticleProperties::q.

◆ q() [2/2]

◆ quat() [1/2]

auto & Particle::quat ( )
inline

Definition at line 518 of file Particle.hpp.

References ParticlePosition::quat.

◆ quat() [2/2]

◆ rattle_correction() [1/2]

auto & Particle::rattle_correction ( )
inline

Definition at line 642 of file Particle.hpp.

References ParticleRattle::correction.

◆ rattle_correction() [2/2]

auto const & Particle::rattle_correction ( ) const
inline

Definition at line 641 of file Particle.hpp.

References ParticleRattle::correction.

Referenced by serialize_and_reduce().

◆ rattle_params() [1/2]

auto & Particle::rattle_params ( )
inline

Definition at line 640 of file Particle.hpp.

◆ rattle_params() [2/2]

auto const & Particle::rattle_params ( ) const
inline

Definition at line 639 of file Particle.hpp.

Referenced by apply_positional_correction(), and apply_velocity_correction().

◆ rinertia() [1/2]

auto & Particle::rinertia ( )
inline

Definition at line 573 of file Particle.hpp.

References ParticleProperties::rinertia.

◆ rinertia() [2/2]

◆ rotation() [1/2]

auto & Particle::rotation ( )
inline

Definition at line 499 of file Particle.hpp.

References ParticleProperties::rotation.

◆ rotation() [2/2]

◆ saturation_magnetization() [1/2]

auto & Particle::saturation_magnetization ( )
inline

◆ saturation_magnetization() [2/2]

◆ set_can_rotate_all_axes()

void Particle::set_can_rotate_all_axes ( )
inline

◆ set_can_rotate_around()

void Particle::set_can_rotate_around ( unsigned int const  axis,
bool const  rot_flag 
)
inline

Definition at line 505 of file Particle.hpp.

References ParticleProperties::rotation, and stream.

◆ set_cannot_rotate_all_axes()

void Particle::set_cannot_rotate_all_axes ( )
inline

Definition at line 514 of file Particle.hpp.

References ParticleProperties::rotation, and stream.

◆ set_fixed_along()

void Particle::set_fixed_along ( int const  axis,
bool const  fixed_flag 
)
inline

Definition at line 618 of file Particle.hpp.

References ParticleProperties::ext_flag, and stream.

◆ set_ghost()

void Particle::set_ghost ( bool const  ghost_flag)
inline

Definition at line 481 of file Particle.hpp.

References ParticleLocal::ghost, and stream.

◆ stoner_wohlfarth_dt_incr() [1/2]

auto & Particle::stoner_wohlfarth_dt_incr ( )
inline

◆ stoner_wohlfarth_dt_incr() [2/2]

◆ stoner_wohlfarth_is_enabled() [1/2]

auto & Particle::stoner_wohlfarth_is_enabled ( )
inline

◆ stoner_wohlfarth_is_enabled() [2/2]

◆ stoner_wohlfarth_phi_0() [1/2]

auto & Particle::stoner_wohlfarth_phi_0 ( )
inline

◆ stoner_wohlfarth_phi_0() [2/2]

◆ stoner_wohlfarth_tau0_inv() [1/2]

auto & Particle::stoner_wohlfarth_tau0_inv ( )
inline

◆ stoner_wohlfarth_tau0_inv() [2/2]

◆ swimming() [1/2]

auto & Particle::swimming ( )
inline

Definition at line 634 of file Particle.hpp.

References ParticleProperties::swim.

◆ swimming() [2/2]

auto const & Particle::swimming ( ) const
inline

◆ torque() [1/2]

auto & Particle::torque ( )
inline

Definition at line 520 of file Particle.hpp.

References ParticleForce::torque.

◆ torque() [2/2]

◆ type() [1/2]

auto & Particle::type ( )
inline

Definition at line 459 of file Particle.hpp.

References ParticleProperties::type.

◆ type() [2/2]

◆ v() [1/2]

auto & Particle::v ( )
inline

Definition at line 474 of file Particle.hpp.

References ParticleMomentum::v.

◆ v() [2/2]

◆ vs_relative() [1/2]

auto & Particle::vs_relative ( )
inline

Definition at line 600 of file Particle.hpp.

References ParticleProperties::vs_relative.

◆ vs_relative() [2/2]


The documentation for this struct was generated from the following file: