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

Properties of a particle which are not supposed to change during the integration, but have to be known for all ghosts. More...

#include <Particle.hpp>

Collaboration diagram for ParticleProperties:

Classes

struct  VirtualSitesRelativeParameters
 The following properties define, with respect to which real particle a virtual site is placed and at what distance. More...

Public Member Functions

template<class Archive>
void serialize (Archive &ar, long int)

Public Attributes

int identity = -1
 unique identifier for the particle.
int mol_id = 0
 Molecule identifier.
int type = 0
 particle type, used for non-bonded interactions.
int propagation = PropagationMode::SYSTEM_DEFAULT
 which propagation schemes should be applied to the particle
uint8_t rotation = static_cast<uint8_t>(0b000u)
 Bitfield for the particle axes of rotation.
uint8_t ext_flag = static_cast<uint8_t>(0b000u)
 Flag for fixed particle coordinates.
double mass = 1.0
 particle mass
Utils::Vector3d rinertia = {1., 1., 1.}
 rotational inertia
double q = 0.0
 charge.
Utils::Vector3d mu_E = {0., 0., 0.}
 electrophoretic mobility times E-field: mu_0 * E
double dipm = 0.
 dipole moment (absolute value)
Utils::Vector3d dip_fld = {0., 0., 0.}
 total dipole field
struct ParticleProperties::VirtualSitesRelativeParameters vs_relative
Utils::Vector3d gamma = {-1., -1., -1.}
 Friction coefficient for translation.
Utils::Vector3d gamma_rot = {-1., -1., -1.}
 Friction coefficient for rotation.
Utils::Vector3d ext_force = {0., 0., 0.}
 External force.
Utils::Vector3d ext_torque = {0., 0., 0.}
 External torque in lab frame.
ParticleParametersSwimming swim
ThermalStonerWohlfarthParameters magnetodynamics

Detailed Description

Properties of a particle which are not supposed to change during the integration, but have to be known for all ghosts.

Ghosts are particles which are needed in the interaction calculation, but are just copies of particles stored on different nodes.

Definition at line 108 of file Particle.hpp.

Member Function Documentation

◆ serialize()

template<class Archive>
void ParticleProperties::serialize ( Archive & ar,
long int  )
inline

Member Data Documentation

◆ dip_fld

Utils::Vector3d ParticleProperties::dip_fld = {0., 0., 0.}

total dipole field

Definition at line 180 of file Particle.hpp.

Referenced by serialize().

◆ dipm

double ParticleProperties::dipm = 0.

dipole moment (absolute value)

Definition at line 175 of file Particle.hpp.

Referenced by serialize().

◆ ext_flag

uint8_t ParticleProperties::ext_flag = static_cast<uint8_t>(0b000u)

Flag for fixed particle coordinates.

Values:

  • 0: no fixed coordinates
  • 1: fix translation along the x axis
  • 2: fix translation along the y axis
  • 4: fix translation along the z axis

Definition at line 141 of file Particle.hpp.

Referenced by serialize().

◆ ext_force

Utils::Vector3d ParticleProperties::ext_force = {0., 0., 0.}

External force.

Definition at line 227 of file Particle.hpp.

Referenced by serialize().

◆ ext_torque

Utils::Vector3d ParticleProperties::ext_torque = {0., 0., 0.}

External torque in lab frame.

Definition at line 230 of file Particle.hpp.

Referenced by serialize().

◆ gamma

Utils::Vector3d ParticleProperties::gamma = {-1., -1., -1.}

Friction coefficient for translation.

Definition at line 213 of file Particle.hpp.

Referenced by serialize().

◆ gamma_rot

Utils::Vector3d ParticleProperties::gamma_rot = {-1., -1., -1.}

Friction coefficient for rotation.

Definition at line 220 of file Particle.hpp.

Referenced by serialize().

◆ identity

int ParticleProperties::identity = -1

unique identifier for the particle.

Definition at line 110 of file Particle.hpp.

Referenced by serialize().

◆ magnetodynamics

ThermalStonerWohlfarthParameters ParticleProperties::magnetodynamics

Definition at line 239 of file Particle.hpp.

Referenced by serialize().

◆ mass

double ParticleProperties::mass = 1.0

particle mass

Definition at line 149 of file Particle.hpp.

Referenced by serialize().

◆ mol_id

int ParticleProperties::mol_id = 0

Molecule identifier.

Definition at line 112 of file Particle.hpp.

Referenced by serialize().

◆ mu_E

Utils::Vector3d ParticleProperties::mu_E = {0., 0., 0.}

electrophoretic mobility times E-field: mu_0 * E

Definition at line 170 of file Particle.hpp.

Referenced by serialize().

◆ propagation

int ParticleProperties::propagation = PropagationMode::SYSTEM_DEFAULT

which propagation schemes should be applied to the particle

Definition at line 116 of file Particle.hpp.

Referenced by serialize().

◆ q

double ParticleProperties::q = 0.0

charge.

Definition at line 163 of file Particle.hpp.

Referenced by serialize().

◆ rinertia

Utils::Vector3d ParticleProperties::rinertia = {1., 1., 1.}

rotational inertia

Definition at line 156 of file Particle.hpp.

Referenced by serialize().

◆ rotation

uint8_t ParticleProperties::rotation = static_cast<uint8_t>(0b000u)

Bitfield for the particle axes of rotation.

Values:

  • 0: no rotation
  • 1: allow rotation around the x axis
  • 2: allow rotation around the y axis
  • 4: allow rotation around the z axis By default, the particle cannot rotate.

Definition at line 127 of file Particle.hpp.

Referenced by serialize().

◆ swim

ParticleParametersSwimming ParticleProperties::swim

Definition at line 235 of file Particle.hpp.

Referenced by serialize().

◆ type

int ParticleProperties::type = 0

particle type, used for non-bonded interactions.

Definition at line 114 of file Particle.hpp.

Referenced by serialize().

◆ vs_relative

struct ParticleProperties::VirtualSitesRelativeParameters ParticleProperties::vs_relative

Referenced by serialize().


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