Jpp
test_elongated_shower_pde
the software that should make you happy
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
software
JAcoustics
JEmitter.hh
Go to the documentation of this file.
1
#ifndef __JACOUSTICS__JEMITTER__
2
#define __JACOUSTICS__JEMITTER__
3
4
#include "
JLang/JObjectID.hh
"
5
#include "
JGeometry3D/JPosition3D.hh
"
6
7
8
/**
9
* \file
10
*
11
* Acoustic emitter.
12
* \author mdejong
13
*/
14
namespace
JACOUSTICS {}
15
namespace
JPP {
using namespace
JACOUSTICS; }
16
17
namespace
JACOUSTICS {
18
19
using
JLANG::JObjectID
;
20
using
JGEOMETRY3D::JVector3D
;
21
using
JGEOMETRY3D::JPosition3D
;
22
23
24
/**
25
* Acoustic emitter.
26
*/
27
struct
JEmitter
:
28
public
JObjectID
,
29
public
JPosition3D
30
{
31
/**
32
* Default constructor.
33
*/
34
JEmitter
() :
35
JObjectID
(),
36
JPosition3D
()
37
{}
38
39
40
/**
41
* Constructor.
42
*
43
* \param id identifier
44
* \param pos position
45
*/
46
JEmitter
(
const
int
id
,
const
JVector3D
& pos) :
47
JObjectID
(id),
48
JPosition3D
(pos)
49
{}
50
};
51
}
52
53
#endif
JPosition3D.hh
JACOUSTICS::JEmitter::JEmitter
JEmitter(const int id, const JVector3D &pos)
Constructor.
Definition:
JEmitter.hh:46
JGEOMETRY3D::JVector3D
Data structure for vector in three dimensions.
Definition:
JVector3D.hh:34
JACOUSTICS::JEmitter
Acoustic emitter.
Definition:
JEmitter.hh:27
JObjectID.hh
JLANG::JObjectID
Auxiliary class for object identification.
Definition:
JObjectID.hh:22
JGEOMETRY3D::JPosition3D
Data structure for position in three dimensions.
Definition:
JPosition3D.hh:36
JACOUSTICS::JEmitter::JEmitter
JEmitter()
Default constructor.
Definition:
JEmitter.hh:34
Generated by
1.8.5