ESyS-Particle  4.0.1
VectorWallFieldSlave.h
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 __VECTORWALLFIELDSLAVE_H
00014 #define __VECTORWALLFIELDSLAVE_H
00015 
00016 // --- TML includes ---
00017 #include "tml/comm/comm.h"
00018 #include "Fields/WallFieldSlave.h"
00019 
00027 template <typename WallType>
00028 class VectorWallFieldSlave : public AWallFieldSlave
00029 {
00030  protected:
00031   typename WallType::VectorFieldFunction m_rdf;
00032 
00033  public:
00034   VectorWallFieldSlave(TML_Comm*,typename WallType::VectorFieldFunction);
00035   virtual void sendData();
00036 };
00037 
00038 #include "VectorWallFieldSlave.hpp"
00039 
00040 #endif // __VECTORWALLFIELDSLAVE_H