ESyS-Particle
2.2
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
ABCDamping.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 MODEL_ABCDAMPING_H
14
#define MODEL_ABCDAMPING_H
15
16
// -- project includes --
17
#include "
Model/Damping.h
"
18
#include "
Model/ABCDampingIGP.h
"
19
24
template
<
class
ParticleType>
25
class
ABCDamping
:
public
CDamping
<ParticleType>
26
{
27
protected
:
28
Vec3
m_pos
;
29
Vec3
m_normal
;
30
double
m_c1
;
31
32
public
:
33
typedef
ABCDampingIGP
ParameterType
;
34
35
36
typedef
double (
ABCDamping
::*
ScalarFieldFunction
)()
const
;
37
typedef
pair<bool,double> (
ABCDamping
::*
CheckedScalarFieldFunction
)()
const
;
38
typedef
Vec3
(
ABCDamping
::*
VectorFieldFunction
)()
const
;
39
40
static
ScalarFieldFunction
getScalarFieldFunction
(
const
string
&);
41
static
CheckedScalarFieldFunction
getCheckedScalarFieldFunction
(
const
string
&);
42
static
VectorFieldFunction
getVectorFieldFunction
(
const
string
&);
43
44
ABCDamping
(ParticleType*,
ABCDampingIGP
*);
45
virtual
~ABCDamping
();
46
};
47
48
#include "
Model/ABCDamping.hpp
"
49
50
#endif // MODEL_ABCDAMPING_H
Model
ABCDamping.h
Generated on Mon May 6 2013 23:26:30 for ESyS-Particle by
1.8.3.1