ESyS-Particle
4.0.1
|
00001 00002 // // 00003 // Copyright (c) 2003-2011 by The University of Queensland // 00004 // Earth Systems Science Computational Centre (ESSCC) // 00005 // http://www.uq.edu.au/esscc // 00006 // // 00007 // Primary Business: Brisbane, Queensland, Australia // 00008 // Licensed under the Open Software License version 3.0 // 00009 // http://www.opensource.org/licenses/osl-3.0.php // 00010 // // 00012 00013 #ifndef __VECTOR_PARTICLE_FIELD_SLAVE_H 00014 #define __VECTOR_PARTICLE_FIELD_SLAVE_H 00015 00016 // -- project includes -- 00017 #include "FieldSlave.h" 00018 00019 template <class T> class ParallelParticleArray; 00020 class TML_Comm; 00021 00030 template <typename T> 00031 class VectorParticleFieldSlave : public AFieldSlave 00032 { 00033 private: 00034 00035 protected: 00036 typename T::VectorFieldFunction m_rdf; 00037 ParallelParticleArray<T>* m_ppa; 00038 00039 public: 00040 VectorParticleFieldSlave(TML_Comm*,ParallelParticleArray<T>*,typename T::VectorFieldFunction); 00041 virtual void sendData(); 00042 }; 00043 00044 #include "VectorParticleFieldSlave.hpp" 00045 00046 #endif //__SCALAR_PARTICLE_FIELD_SLAVE_H