ESyS-Particle
2.3
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
SimpleSpherePy.h
Go to the documentation of this file.
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 //
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_LSM_SIMPLEPARTICLEPY_H
15
#define ESYS_LSM_SIMPLEPARTICLEPY_H
16
17
#include <
Geometry/SimpleParticle.h
>
18
#include "
Python/esys/lsm/util/Vec3Py.h
"
19
20
namespace
esys
21
{
22
namespace
lsm
23
{
24
class
SimpleSpherePy
:
public
SimpleParticle
25
{
26
public
:
27
SimpleSpherePy
(
28
const
Vec3Py
¢re,
29
double
radius,
30
int
id
= 0,
31
int
tag = 0,
32
double
mass = -1.0
// indicates use of default mass
33
);
34
35
SimpleSpherePy
(
36
int
id
,
37
const
Vec3Py
&posn,
38
double
radius,
39
double
mass
40
);
41
42
SimpleSpherePy
(
const
SimpleSpherePy
&particle);
43
44
bool
operator==
(
const
SimpleSpherePy
&p)
const
;
45
46
Vec3Py
getPosnPy
()
const
;
47
48
void
setPosnPy
(
const
Vec3Py
posn);
49
50
void
translateByPy
(
const
Vec3Py
&translation);
51
52
void
rigidRotatePy
(
const
Vec3Py
&axis,
const
Vec3Py
&pt);
53
54
static
SimpleSpherePy
INVALID
;
55
};
56
57
void
exportSimpleSphere
();
58
}
59
}
60
61
#endif
esys::lsm::SimpleSpherePy::translateByPy
void translateByPy(const Vec3Py &translation)
Definition:
SimpleSpherePy.cpp:71
esys::lsm::SimpleSpherePy::getPosnPy
Vec3Py getPosnPy() const
Definition:
SimpleSpherePy.cpp:66
esys::lsm::exportSimpleSphere
void exportSimpleSphere()
Definition:
SimpleSpherePy.cpp:100
SimpleParticle.h
esys::lsm::SimpleSpherePy
Definition:
SimpleSpherePy.h:24
esys
Definition:
CheckPointable.cpp:16
esys::lsm::SimpleSpherePy::INVALID
static SimpleSpherePy INVALID
Definition:
SimpleSpherePy.h:54
esys::lsm::SimpleSpherePy::operator==
bool operator==(const SimpleSpherePy &p) const
Definition:
SimpleSpherePy.cpp:61
esys::lsm::SimpleSpherePy::SimpleSpherePy
SimpleSpherePy(const Vec3Py ¢re, double radius, int id=0, int tag=0, double mass=-1.0)
Definition:
SimpleSpherePy.cpp:23
esys::lsm::Vec3Py
Definition:
Vec3Py.h:28
Vec3Py.h
esys::lsm::SimpleSpherePy::setPosnPy
void setPosnPy(const Vec3Py posn)
Definition:
SimpleSpherePy.cpp:56
esys::lsm::SimpleSpherePy::rigidRotatePy
void rigidRotatePy(const Vec3Py &axis, const Vec3Py &pt)
Definition:
SimpleSpherePy.cpp:76
SimpleParticle
Definition:
SimpleParticle.h:24
Python
esys
lsm
geometry
SimpleSpherePy.h
Generated on Mon Sep 15 2014 16:24:09 for ESyS-Particle by
1.8.8