ESyS-Particle
2.2
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
ParticlePy.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
14
#ifndef ESYS_LSMPARTICLEPY_H
15
#define ESYS_LSMPARTICLEPY_H
16
17
#include "
Model/Particle.h
"
18
#include "
Python/esys/lsm/util/Vec3Py.h
"
19
20
namespace
esys
21
{
22
namespace
lsm
23
{
24
class
ParticlePy
:
public
CParticle
25
{
26
public
:
27
ParticlePy
();
28
29
ParticlePy
(
int
id
,
const
Vec3Py
&posn,
double
radius,
double
mass);
30
31
ParticlePy
(
const
ParticlePy
&p);
32
33
ParticlePy
(
const
CParticle
&p);
34
35
Vec3Py
getPosn
()
const
;
36
void
setPosn
(
const
Vec3Py
&posn);
37
38
Vec3Py
getVelocity
()
const
;
39
void
setVelocity
(
const
Vec3Py
&vel);
40
41
Vec3Py
getInitialPosn
()
const
;
42
43
Vec3Py
getAcceleration
()
const
;
44
void
setAcceleration
(
const
Vec3Py
&accel);
45
46
Vec3Py
getForce
()
const
;
47
void
setForce
(
const
Vec3Py
&force);
48
};
49
50
void
exportParticle
();
51
}
52
}
53
#endif
Python
esys
lsm
ParticlePy.h
Generated on Mon May 6 2013 23:26:31 for ESyS-Particle by
1.8.3.1