ESyS-Particle
4.0.1
Main Page
Related Pages
Namespaces
Classes
Files
File List
Model
WallInteraction.hpp
1
2
// //
3
// Copyright (c) 2003-2011 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 __WALLINTERACTION_HPP
14
#define __WALLINTERACTION_HPP
15
16
template
<
class
T>
17
AWallInteraction<T>::AWallInteraction
(T* p,
CWall
* w,
bool
iflag)
18
{
19
m_p=p;
20
m_wall=w;
21
m_inner_flag=iflag;
22
m_init=
true
;
23
}
24
31
template
<
class
T>
32
bool
AWallInteraction<T>::hasTag
(
int
tag ,
int
mask)
const
33
{
34
int
tag1=m_p->getTag();
35
36
return
((tag1 & mask)==(tag & mask));
37
}
38
39
#endif // for the error of redefination !
Generated on Wed Jun 6 2012 00:05:07 for ESyS-Particle by
1.8.1