|
| PYTHON () ParticleDataImpl(FluidSolver *parent) |
|
| ParticleDataImpl (FluidSolver *parent, ParticleDataImpl< T > *other) |
|
T & | get (IndexInt idx) |
| access data
|
|
const T & | get (IndexInt idx) const |
|
T & | operator[] (IndexInt idx) |
|
const T & | operator[] (IndexInt idx) const |
|
| PYTHON () void clear() |
| set all values to 0, note - different from particleSystem::clear! doesnt modify size of array (has to stay in sync with parent system)
|
|
| PYTHON () void setSource(Grid< T > *grid |
| set grid from which to get data...
|
|
virtual IndexInt | getSizeSlow () const |
| particle data base interface
|
|
virtual void | addEntry () |
|
virtual ParticleDataBase * | clone () |
|
virtual PdataType | getType () const |
|
virtual void | resize (IndexInt s) |
|
virtual void | copyValueSlow (IndexInt from, IndexInt to) |
|
IndexInt | size () const |
|
void | copyValue (IndexInt from, IndexInt to) |
| fast inlined functions for per particle operations
|
|
void | initNewValue (IndexInt idx, Vec3 pos) |
|
| PYTHON () void setConst(T s) |
| python interface (similar to grid data)
|
|
| PYTHON () void setConstRange(T s |
|
| PYTHON () ParticleDataImpl< T > ©From(const ParticleDataImpl< T > &a) |
|
| PYTHON () void add(const ParticleDataImpl< T > &a) |
|
| PYTHON () void sub(const ParticleDataImpl< T > &a) |
|
| PYTHON () void addConst(T s) |
|
| PYTHON () void addScaled(const ParticleDataImpl< T > &a |
|
| PYTHON () void mult(const ParticleDataImpl< T > &a) |
|
| PYTHON () void multConst(T s) |
|
| PYTHON () void safeDiv(const ParticleDataImpl< T > &a) |
|
| PYTHON () void clamp(Real min |
|
| PYTHON () void clampMin(Real vmin) |
|
| PYTHON () void clampMax(Real vmax) |
|
| PYTHON () Real getMaxAbs() |
|
| PYTHON () Real getMax() |
|
| PYTHON () Real getMin() |
|
| PYTHON () T sum(const ParticleDataImpl< int > *t |
|
| PYTHON () Real sumSquare() const |
|
| PYTHON () Real sumMagnitude() const |
|
| PYTHON () void setConstIntFlag(T s |
| special, set if int flag in t has "flag"
|
|
| PYTHON () void printPdata(IndexInt start |
|
template<> |
void | initNewValue (IndexInt idx, Vec3 pos) |
|
template<> |
ParticleDataBase::PdataType | getType () const |
|
template<> |
ParticleDataBase::PdataType | getType () const |
|
template<> |
ParticleDataBase::PdataType | getType () const |
|
template<> |
Real | getMax () |
|
Public Member Functions inherited from Manta::ParticleDataBase |
| PYTHON () ParticleDataBase(FluidSolver *parent) |
|
void | setParticleSys (ParticleBase *set) |
| set base pointer
|
|
void | checkPartIndex (IndexInt idx) const |
| debugging
|
|
template<class T>
class Manta::ParticleDataImpl< T >
abstract interface for particle data