Memosa-FVM
0.2
|
#include <MPM_Particles.h>
Public Types | |
typedef Vector< double, 3 > | VecD3 |
typedef Array< VecD3 > | VecD3Array |
Public Member Functions | |
MPM (string fileName) | |
MPM () | |
~MPM () | |
const StorageSite & | getParticles () const |
const StorageSite & | getParticles (int num_particles) |
const shared_ptr< Array< VecD3 > > & | getCoordinates () |
const shared_ptr< Array< VecD3 > > & | getVelocities () |
const shared_ptr< Array < double > > & | getTemperatures () |
const shared_ptr< Array< int > > & | getTypes () |
void | setCoordinates (const shared_ptr< ArrayBase > x) |
void | setVelocities (const shared_ptr< ArrayBase > v) |
void | setTypes (const shared_ptr< ArrayBase > type) |
void | setTemperatures (const shared_ptr< ArrayBase > t) |
void | setandwriteParticles (const char *file) |
const shared_ptr< Array< VecD3 > > | readVelocities (const char *file) |
const shared_ptr< Array< VecD3 > > | readCoordinates (const char *file) |
const shared_ptr< Array< int > > | readTypes (const char *file) |
const shared_ptr< Array< double > > | readTemperatures (const char *file) |
void | Init (const shared_ptr< Array< VecD3 > > coordinates, const shared_ptr< Array< VecD3 > > velocities, const shared_ptr< Array< int > > types, const shared_ptr< Array< double > > temperatures) |
void | Impl (string fileName) |
Protected Attributes | |
StorageSite | _particles |
shared_ptr< Array< VecD3 > > | _coordinates |
shared_ptr< Array< VecD3 > > | _velocities |
shared_ptr< Array< int > > | _types |
shared_ptr< Array< double > > | _temperatures |
Definition at line 15 of file MPM_Particles.h.
typedef Vector<double,3> MPM::VecD3 |
Definition at line 24 of file MPM_Particles.h.
typedef Array<VecD3> MPM::VecD3Array |
Definition at line 25 of file MPM_Particles.h.
MPM::MPM | ( | string | fileName | ) |
Definition at line 15 of file MPM_Particles.cpp.
References Init(), readCoordinates(), readTemperatures(), readTypes(), and readVelocities().
MPM::MPM | ( | ) |
Definition at line 40 of file MPM_Particles.cpp.
MPM::~MPM | ( | ) |
Definition at line 49 of file MPM_Particles.cpp.
Definition at line 33 of file MPM_Particles.h.
References _coordinates.
Referenced by CellMark_Impl().
|
inline |
Definition at line 27 of file MPM_Particles.h.
References _particles.
Referenced by CellMark_Impl().
|
inline |
Definition at line 29 of file MPM_Particles.h.
References _particles, and StorageSite::setCount().
|
inline |
|
inline |
Definition at line 35 of file MPM_Particles.h.
References _velocities.
Referenced by CellMark_Impl().
void MPM::Impl | ( | string | fileName | ) |
void MPM::Init | ( | const shared_ptr< Array< VecD3 > > | coordinates, |
const shared_ptr< Array< VecD3 > > | velocities, | ||
const shared_ptr< Array< int > > | types, | ||
const shared_ptr< Array< double > > | temperatures | ||
) |
Definition at line 371 of file MPM_Particles.cpp.
References _particles, setCoordinates(), StorageSite::setCount(), setTemperatures(), setTypes(), and setVelocities().
Referenced by MPM().
const shared_ptr< Array< double > > MPM::readTemperatures | ( | const char * | file | ) |
const shared_ptr< Array< int > > MPM::readTypes | ( | const char * | file | ) |
void MPM::setandwriteParticles | ( | const char * | file | ) |
Definition at line 52 of file MPM_Particles.cpp.
|
inline |
Definition at line 42 of file MPM_Particles.h.
References _coordinates.
Referenced by Init().
|
inline |
|
inline |
|
inline |
Definition at line 45 of file MPM_Particles.h.
References _velocities.
Referenced by Init().
Definition at line 72 of file MPM_Particles.h.
Referenced by getCoordinates(), and setCoordinates().
|
protected |
Definition at line 71 of file MPM_Particles.h.
Referenced by getParticles(), and Init().
|
protected |
Definition at line 75 of file MPM_Particles.h.
Referenced by getTemperatures(), and setTemperatures().
|
protected |
Definition at line 74 of file MPM_Particles.h.
Referenced by getTypes(), and setTypes().
Definition at line 73 of file MPM_Particles.h.
Referenced by getVelocities(), and setVelocities().