|
| ObserverParticles (SPHBody &sph_body, BaseMaterial *base_material) |
|
Public Member Functions inherited from SPH::BaseParticles |
| BaseParticles (SPHBody &sph_body, BaseMaterial *base_material) |
|
template<typename VariableType > |
void | registerVariable (StdLargeVec< VariableType > &variable_addrs, const std::string &variable_name, VariableType initial_value=VariableType(0)) |
|
template<typename VariableType , class InitializationFunction > |
void | registerVariable (StdLargeVec< VariableType > &variable_addrs, const std::string &variable_name, const InitializationFunction &initialization) |
|
template<typename VariableType > |
StdLargeVec< VariableType > * | getVariableByName (const std::string &variable_name) |
|
template<typename VariableType > |
void | addVariableNameToList (ParticleVariableList &variable_name_list, const std::string &variable_name) |
|
template<typename VariableType > |
void | addVariableToWrite (const std::string &variable_name) |
|
template<class DerivedVariableMethod > |
void | addDerivedVariableToWrite () |
|
template<typename VariableType > |
void | addVariableToRestart (const std::string &variable_name) |
|
template<typename VariableType > |
void | addVariableToReload (const std::string &variable_name) |
|
template<typename VariableType > |
void | registerSortableVariable (const std::string &variable_name) |
|
SPHBody * | getSPHBody () |
|
virtual void | initializeOtherVariables () |
|
void | addBufferParticles (size_t buffer_size) |
|
void | copyFromAnotherParticle (size_t this_index, size_t another_index) |
|
void | updateFromAnotherParticle (size_t this_index, size_t another_index) |
|
size_t | insertAGhostParticle (size_t index_i) |
|
void | switchToBufferParticle (size_t index_i) |
|
template<typename OutStreamType > |
void | writeParticlesToVtk (OutStreamType &output_stream) |
|
void | writeParticlesToPltFile (std::ofstream &output_file) |
|
virtual void | writeSurfaceParticlesToVtuFile (std::ostream &output_file, BodySurface &surface_particles) |
|
void | resizeXmlDocForParticles (XmlEngine &xml_engine) |
|
void | writeParticlesToXmlForRestart (std::string &filefullpath) |
|
void | readParticleFromXmlForRestart (std::string &filefullpath) |
|
XmlEngine * | getReloadXmlEngine () |
|
void | writeToXmlForReloadParticle (std::string &filefullpath) |
|
void | readFromXmlForReloadParticle (std::string &filefullpath) |
|
virtual BaseParticles * | ThisObjectPtr () |
|
virtual Vecd | getKernelGradient (size_t index_i, size_t index_j, Real dW_ij, Vecd &e_ij) |
|
virtual Vecd | ParticleTotalAcceleration (size_t index_i) |
|
virtual Real | ParticleVolume (size_t index_i) |
|
virtual Real | ParticleMass (size_t index_i) |
|
template<typename StreamType > |
void | writeParticlesToVtk (StreamType &output_stream) |
|