OpenLB 1.7
|
#include <magneticParticle3D.h>
Public Member Functions | |
MagneticParticle3D () | |
MagneticParticle3D (std::vector< T > pos, T mas=1., T rad=1., int id=0) | |
MagneticParticle3D (std::vector< T > pos, std::vector< T > vel, T mas=1., T rad=1., int id=0, T masAdd=1.) | |
MagneticParticle3D (const MagneticParticle3D< T > &p) | |
MagneticParticle3D (std::vector< T > pos, std::vector< T > vel, T mas, T rad, int id, std::vector< T > dMoment, std::vector< T > aVel, std::vector< T > torque, T magnetisation) | |
MagneticParticle3D (std::vector< T > pos, std::vector< T > vel, T mas, T rad, int id, std::vector< T > dMoment, std::vector< T > aVel, std::vector< T > torque, T magnetisation, int sActivity) | |
void | serialize (T serial[]) |
void | unserialize (T *) |
void | resetTorque () |
void | setMoment (std::vector< T > moment) |
std::vector< T > & | getMoment () |
const std::vector< T > & | getMoment () const |
void | setAVel (std::vector< T > aVel) |
std::vector< T > & | getAVel () |
const std::vector< T > & | getAVel () const |
void | setTorque (std::vector< T > torque) |
std::vector< T > & | getTorque () |
const std::vector< T > & | getTorque () const |
void | setMagnetisation (T magnetisation) |
T & | getMagnetisation () |
const T & | getMagnetisation () const |
void | setSActivity (int sActivity) |
int & | getSActivity () |
void | setAggloItr (typename std::deque< std::list< MagneticParticle3D< T > * > >::iterator aggloItr) |
std::deque< std::list< MagneticParticle3D< T > * > >::iterator & | getAggloItr () |
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) |
Static Public Attributes | |
static const int | serialPartSize = 28 |
Static Public Attributes inherited from olb::Particle3D< T > | |
static const int | serialPartSize = 19 |
Additional Inherited Members | |
Public Attributes inherited from olb::Particle3D< T > | |
std::vector< std::pair< size_t, T > > | _verletList |
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 44 of file magneticParticle3D.h.
olb::MagneticParticle3D< T >::MagneticParticle3D | ( | ) |
Definition at line 42 of file magneticParticle3D.hh.
olb::MagneticParticle3D< T >::MagneticParticle3D | ( | std::vector< T > | pos, |
T | mas = 1., | ||
T | rad = 1., | ||
int | id = 0 ) |
olb::MagneticParticle3D< T >::MagneticParticle3D | ( | std::vector< T > | pos, |
std::vector< T > | vel, | ||
T | mas = 1., | ||
T | rad = 1., | ||
int | id = 0, | ||
T | masAdd = 1. ) |
Definition at line 52 of file magneticParticle3D.hh.
olb::MagneticParticle3D< T >::MagneticParticle3D | ( | const MagneticParticle3D< T > & | p | ) |
Definition at line 47 of file magneticParticle3D.hh.
olb::MagneticParticle3D< T >::MagneticParticle3D | ( | std::vector< T > | pos, |
std::vector< T > | vel, | ||
T | mas, | ||
T | rad, | ||
int | id, | ||
std::vector< T > | dMoment, | ||
std::vector< T > | aVel, | ||
std::vector< T > | torque, | ||
T | magnetisation ) |
Definition at line 58 of file magneticParticle3D.hh.
olb::MagneticParticle3D< T >::MagneticParticle3D | ( | std::vector< T > | pos, |
std::vector< T > | vel, | ||
T | mas, | ||
T | rad, | ||
int | id, | ||
std::vector< T > | dMoment, | ||
std::vector< T > | aVel, | ||
std::vector< T > | torque, | ||
T | magnetisation, | ||
int | sActivity ) |
Definition at line 65 of file magneticParticle3D.hh.
|
inline |
Definition at line 135 of file magneticParticle3D.hh.
|
inline |
Definition at line 104 of file magneticParticle3D.hh.
|
inline |
Definition at line 110 of file magneticParticle3D.hh.
|
inline |
Definition at line 159 of file magneticParticle3D.hh.
|
inline |
Definition at line 165 of file magneticParticle3D.hh.
|
inline |
Definition at line 80 of file magneticParticle3D.hh.
|
inline |
Definition at line 86 of file magneticParticle3D.hh.
|
inline |
Definition at line 171 of file magneticParticle3D.hh.
|
inline |
Definition at line 147 of file magneticParticle3D.hh.
|
inline |
Definition at line 153 of file magneticParticle3D.hh.
|
inline |
Definition at line 72 of file magneticParticle3D.hh.
void olb::MagneticParticle3D< T >::serialize | ( | T | serial[] | ) |
Definition at line 177 of file magneticParticle3D.hh.
|
inline |
Definition at line 141 of file magneticParticle3D.hh.
|
inline |
Definition at line 98 of file magneticParticle3D.hh.
|
inline |
Definition at line 122 of file magneticParticle3D.hh.
|
inline |
Definition at line 92 of file magneticParticle3D.hh.
|
inline |
Definition at line 129 of file magneticParticle3D.hh.
|
inline |
Definition at line 116 of file magneticParticle3D.hh.
void olb::MagneticParticle3D< T >::unserialize | ( | T * | data | ) |
Definition at line 200 of file magneticParticle3D.hh.
|
static |
Definition at line 79 of file magneticParticle3D.h.