1
/////////////////////////////////////////////////////////////
3
// Copyright (c) 2003-2014 by The University of Queensland //
4
// Centre for Geoscience Computing //
5
// http://earth.uq.edu.au/centre-geoscience-computing //
7
// Primary Business: Brisbane, Queensland, Australia //
8
// Licensed under the Open Software License version 3.0 //
9
// http://www.apache.org/licenses/LICENSE-2.0 //
11
/////////////////////////////////////////////////////////////
13
#ifndef __SCALAR_FLUID_FIELD_SLAVE_H
14
#define __SCALAR_FLUID_FIELD_SLAVE_H
16
// -- project includes --
17
#include "FieldSlave.h"
18
#include "Model/FluidCell.h"
20
template <class T> class ParallelParticleArray;
24
\class ScalarFluidFieldSlave
25
\brief class for slave part of scalar field defined on the fluid cells
32
class ScalarFluidFieldSlave : public AFieldSlave
35
virtual void SendDataFull();
36
virtual void SendDataSum();
37
virtual void SendDataMax();
40
CFluidCell::ScalarFieldFunction m_rdf;
41
ParallelParticleArray<T>* m_ppa;
44
ScalarFluidFieldSlave(TML_Comm*,ParallelParticleArray<T>*,CFluidCell::ScalarFieldFunction);
46
virtual void sendData();
49
#include "ScalarFluidFieldSlave.hpp"
51
#endif //__SCALAR_FLUID_FIELD_SLAVE_H