ESyS-Particle
2.2
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
ScalarTriangleFieldSlave.h
Go to the documentation of this file.
1
2
// //
3
// Copyright (c) 2003-2013 by The University of Queensland //
4
// Earth Systems Science Computational Centre (ESSCC) //
5
// http://www.uq.edu.au/esscc //
6
// //
7
// Primary Business: Brisbane, Queensland, Australia //
8
// Licensed under the Open Software License version 3.0 //
9
// http://www.opensource.org/licenses/osl-3.0.php //
10
// //
12
13
#ifndef __SCALAR_TRIANGLE_FIELD_SLAVE_H
14
#define __SCALAR_TRIANGLE_FIELD_SLAVE_H
15
16
// -- project includes --
17
#include "
Fields/FieldSlave.h
"
18
#include "
Model/TriMesh.h
"
19
#include "
tml/comm/comm.h
"
20
21
// == STL includes --
22
#include <map>
23
using
std::map;
24
using
std::multimap;
25
35
class
ScalarTriangleFieldSlave
:
public
AFieldSlave
36
{
37
private
:
38
map<int,double>
m_data
;
39
40
protected
:
41
TriMesh
*
m_mesh
;
42
Triangle::ScalarFieldFunction
m_rdf
;
43
virtual
void
SendDataFull
();
44
virtual
void
SendDataFullDX
();
45
46
public
:
47
ScalarTriangleFieldSlave
(
TML_Comm
*,
TriMesh
*,
Triangle::ScalarFieldFunction
);
48
49
virtual
~ScalarTriangleFieldSlave
()
50
{
51
}
52
53
virtual
void
sendData
();
54
};
55
56
#endif // __SCALAR_TRIANGLE_FIELD_SLAVE_H
Fields
ScalarTriangleFieldSlave.h
Generated on Mon May 6 2013 23:26:29 for ESyS-Particle by
1.8.3.1