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_TAGGED_H 00014 #define __VECTOR_PARTICLE_FIELD_SLAVE_TAGGED__H 00015 00016 // -- project includes -- 00017 #include "VectorParticleFieldSlave.h" 00018 00019 class TML_Comm; 00020 00021 template <class T> class ParallelParticleArray; 00022 00031 template <typename T> 00032 class VectorParticleFieldSlaveTagged : public VectorParticleFieldSlave<T> 00033 { 00034 private: 00035 int m_tag,m_mask; 00036 00037 protected: 00038 public: 00039 VectorParticleFieldSlaveTagged(TML_Comm*,ParallelParticleArray<T>*,typename T::VectorFieldFunction,int,int); 00040 virtual void sendData(); 00041 }; 00042 00043 #include "VectorParticleFieldSlaveTagged.hpp" 00044 00045 #endif //__SCALAR_PARTICLE_FIELD_SLAVE_TAGGED__H