OpenLB 1.7
|
#include <particle3D.h>
Public Member Functions | |
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 | |
std::vector< std::pair< size_t, T > > | _verletList |
Static Public Attributes | |
static const int | serialPartSize = 19 |
Protected Attributes | |
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 42 of file particle3D.h.
olb::Particle3D< T >::Particle3D | ( | ) |
Definition at line 42 of file particle3D.hh.
olb::Particle3D< T >::Particle3D | ( | std::vector< T > | pos, |
T | mas = 1., | ||
T | rad = 1., | ||
int | id = 0, | ||
T | masAdd = 0. ) |
Definition at line 78 of file particle3D.hh.
References olb::Particle3D< T >::setAddedMass(), and olb::Particle3D< T >::setMass().
olb::Particle3D< T >::Particle3D | ( | std::vector< T > | pos, |
std::vector< T > | vel, | ||
T | mas = 1., | ||
T | rad = 1., | ||
int | id = 0, | ||
T | masAdd = 0. ) |
Definition at line 138 of file particle3D.hh.
olb::Particle3D< T >::Particle3D | ( | const Particle3D< T > & | p | ) |
Definition at line 97 of file particle3D.hh.
References olb::Particle3D< T >::_mas, olb::Particle3D< T >::_masAdd, olb::Particle3D< T >::setAddedMass(), and olb::Particle3D< T >::setMass().
|
inline |
Definition at line 230 of file particle3D.hh.
|
inline |
Definition at line 524 of file particle3D.hh.
|
inline |
Definition at line 530 of file particle3D.hh.
|
inline |
Definition at line 429 of file particle3D.hh.
|
inline |
Definition at line 459 of file particle3D.hh.
|
inline |
Definition at line 512 of file particle3D.hh.
|
inline |
Definition at line 447 of file particle3D.hh.
|
inline |
Definition at line 465 of file particle3D.hh.
|
inline |
Definition at line 268 of file particle3D.hh.
|
inline |
Definition at line 274 of file particle3D.hh.
|
inline |
Definition at line 206 of file particle3D.hh.
|
inline |
Definition at line 441 of file particle3D.hh.
|
inline |
Definition at line 435 of file particle3D.hh.
|
inline |
|
inline |
Definition at line 453 of file particle3D.hh.
|
inline |
|
inline |
Definition at line 182 of file particle3D.hh.
|
inline |
|
inline |
Definition at line 500 of file particle3D.hh.
|
inline |
Definition at line 170 of file particle3D.hh.
|
inline |
Definition at line 200 of file particle3D.hh.
|
inline |
Definition at line 280 of file particle3D.hh.
|
inline |
Definition at line 286 of file particle3D.hh.
|
inline |
|
inline |
Definition at line 224 of file particle3D.hh.
void olb::Particle3D< T >::print | ( | ) |
void olb::Particle3D< T >::printDeep | ( | std::string | message | ) |
Definition at line 405 of file particle3D.hh.
|
inline |
Definition at line 243 of file particle3D.hh.
|
inline |
Definition at line 260 of file particle3D.hh.
void olb::Particle3D< T >::serialize | ( | T | serial[] | ) |
Definition at line 347 of file particle3D.hh.
|
inline |
|
inline |
Definition at line 483 of file particle3D.hh.
|
inline |
Definition at line 518 of file particle3D.hh.
|
inline |
Definition at line 238 of file particle3D.hh.
|
inline |
Definition at line 212 of file particle3D.hh.
|
inline |
Definition at line 471 of file particle3D.hh.
|
inline |
Definition at line 158 of file particle3D.hh.
|
inline |
Definition at line 506 of file particle3D.hh.
|
inline |
Definition at line 164 of file particle3D.hh.
|
inline |
Definition at line 194 of file particle3D.hh.
|
inline |
Definition at line 252 of file particle3D.hh.
|
inline |
Definition at line 188 of file particle3D.hh.
void olb::Particle3D< T >::unserialize | ( | T * | data | ) |
Definition at line 372 of file particle3D.hh.
|
protected |
Definition at line 130 of file particle3D.h.
|
protected |
globIC
Definition at line 128 of file particle3D.h.
|
protected |
Definition at line 123 of file particle3D.h.
|
protected |
Definition at line 119 of file particle3D.h.
|
protected |
Definition at line 129 of file particle3D.h.
|
protected |
Definition at line 122 of file particle3D.h.
|
protected |
Definition at line 120 of file particle3D.h.
|
protected |
Definition at line 121 of file particle3D.h.
|
protected |
Definition at line 124 of file particle3D.h.
|
protected |
Definition at line 125 of file particle3D.h.
|
protected |
Definition at line 117 of file particle3D.h.
|
protected |
Definition at line 126 of file particle3D.h.
|
protected |
Definition at line 133 of file particle3D.h.
|
protected |
Definition at line 131 of file particle3D.h.
|
protected |
Definition at line 132 of file particle3D.h.
|
protected |
Definition at line 118 of file particle3D.h.
std::vector<std::pair<size_t, T> > olb::Particle3D< T >::_verletList |
Definition at line 114 of file particle3D.h.
|
static |
Definition at line 113 of file particle3D.h.