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

Properties of a self-propelled particle. More...

#include <Particle.hpp>

Public Member Functions

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

Public Attributes

double f_swim = 0.
 Imposed constant force.
 
bool swimming = false
 Is the particle a swimmer.
 
bool is_engine_force_on_fluid = false
 Whether f_swim is applied to the particle or to the fluid.
 

Detailed Description

Properties of a self-propelled particle.

Definition at line 50 of file Particle.hpp.

Member Function Documentation

◆ serialize()

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

Definition at line 58 of file Particle.hpp.

References f_swim, is_engine_force_on_fluid, and swimming.

Member Data Documentation

◆ f_swim

double ParticleParametersSwimming::f_swim = 0.

Imposed constant force.

Definition at line 52 of file Particle.hpp.

Referenced by serialize().

◆ is_engine_force_on_fluid

bool ParticleParametersSwimming::is_engine_force_on_fluid = false

Whether f_swim is applied to the particle or to the fluid.

Definition at line 56 of file Particle.hpp.

Referenced by serialize().

◆ swimming

bool ParticleParametersSwimming::swimming = false

Is the particle a swimmer.

Definition at line 54 of file Particle.hpp.

Referenced by ScriptInterface::Particles::ParticleHandle::ParticleHandle(), and serialize().


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