OpenLB 1.7
|
#include <elParticle3D.h>
Public Member Functions | |
ElParticle3D () | |
ElParticle3D (std::vector< T > pos, T mas=1., T rad=1., T charge=1.) | |
ElParticle3D (std::vector< T > pos, std::vector< T > vel, T mas=1., T rad=1., T charge=1.) | |
ElParticle3D (const ElParticle3D< T > &p) | |
virtual | ~ElParticle3D () |
virtual void | serialize (T serial[]) |
virtual void | unserialize (T *) |
Public Member Functions inherited from olb::Particle3D< T > | |
Particle3D () | |
Particle3D (std::vector< T > pos, T mas=1., T rad=1., int id=0, T masAdd=0.) | |
Particle3D (std::vector< T > pos, std::vector< T > vel, T mas=1., T rad=1., int id=0, T masAdd=0.) | |
Particle3D (const Particle3D< T > &p) | |
void | setPos (std::vector< T > pos) |
void | setStoredPos (std::vector< T > pos) |
std::vector< T > & | getStoredPos () |
std::vector< T > & | getPos () |
const std::vector< T > & | getPos () const |
void | setVel (std::vector< T > vel) |
void | setStoredVel (std::vector< T > vel) |
std::vector< T > & | getStoredVel () |
int | getID () |
void | setID (int id) |
std::vector< T > & | getVel () |
const std::vector< T > & | getVel () const |
void | addForce (std::vector< T > &frc) |
void | setForce (std::vector< T > &frc) |
void | resetForce () |
std::vector< T > & | getForce () |
const std::vector< T > & | getForce () const |
void | setStoreForce (std::vector< T > &storeForce) |
void | resetStoreForce () |
std::vector< T > & | getStoreForce () |
const std::vector< T > & | getStoreForce () const |
void | serialize (T serial[]) |
void | unserialize (T *) |
void | print () |
void | printDeep (std::string message) |
const T & | getMass () |
const T & | getAddedMass () |
const T & | getEffectiveMass () |
const T & | getInvMass () |
const T & | getInvEffectiveMass () |
const T & | getMass () const |
const T & | getAddedMass () const |
const T & | getEffectiveMass () const |
void | setMass (T m) |
void | setAddedMass (T m) |
const T & | getRad () |
const T & | getRad () const |
void | setRad (T r) |
const int & | getCuboid () |
void | setCuboid (int c) |
const bool & | getActive () |
const bool & | getActive () const |
void | setActive (bool act) |
Public Attributes | |
T | _charge |
Public Attributes inherited from olb::Particle3D< T > | |
std::vector< std::pair< size_t, T > > | _verletList |
Static Public Attributes | |
static const int | serialPartSize = 10 |
Static Public Attributes inherited from olb::Particle3D< T > | |
static const int | serialPartSize = 19 |
Additional Inherited Members | |
Protected Attributes inherited from olb::Particle3D< T > | |
std::vector< T > | _pos |
std::vector< T > | _vel |
std::vector< T > | _force |
T | _invMas |
T | _invMasAdd |
T | _invEffectiveMas |
T | _effectiveMas |
T | _mas |
T | _masAdd |
T | _rad |
int | _cuboid |
globIC | |
int | _id |
bool | _active |
std::vector< T > | _storePos |
std::vector< T > | _storeVel |
std::vector< T > | _storeForce |
Definition at line 41 of file elParticle3D.h.
olb::ElParticle3D< T >::ElParticle3D | ( | ) |
Definition at line 40 of file elParticle3D.hh.
olb::ElParticle3D< T >::ElParticle3D | ( | std::vector< T > | pos, |
T | mas = 1., | ||
T | rad = 1., | ||
T | charge = 1. ) |
Definition at line 46 of file elParticle3D.hh.
olb::ElParticle3D< T >::ElParticle3D | ( | std::vector< T > | pos, |
std::vector< T > | vel, | ||
T | mas = 1., | ||
T | rad = 1., | ||
T | charge = 1. ) |
Definition at line 52 of file elParticle3D.hh.
olb::ElParticle3D< T >::ElParticle3D | ( | const ElParticle3D< T > & | p | ) |
Definition at line 60 of file elParticle3D.hh.
|
inlinevirtual |
Definition at line 47 of file elParticle3D.h.
|
virtual |
Definition at line 66 of file elParticle3D.hh.
|
virtual |
Definition at line 81 of file elParticle3D.hh.
T olb::ElParticle3D< T >::_charge |
Definition at line 51 of file elParticle3D.h.
|
static |
Definition at line 50 of file elParticle3D.h.