#include <iostream>
#include <iomanip>
#include <fstream>
#include "JAcoustics/JGeometry.hh"
#include "JAcoustics/JModel.hh"
#include "Jeep/JParser.hh"
#include "Jeep/JMessage.hh"
Go to the source code of this file.
|
int | main (int argc, char **argv) |
| Example application for acoustics geometry. More...
|
|
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Example application for acoustics geometry.
Definition at line 15 of file JGeometry.cc.
27 JParser<> zap(
"Example application for acoustics geometry.");
36 catch(
const exception &error) {
37 FATAL(error.what() << endl);
43 const double x0 = 0.0;
44 const double y0 = 0.0;
45 const double z0 = 0.0;
46 const double z1 = 20.0;
47 const double dz = 10.0;
53 for (
int i = 1; i <= 18; ++i) {
57 string.mechanics = mechanics;
59 for (
int i = 1; i <= 18; ++i) {
66 cout << setw(2) << i <<
' '
78 for (
int i = 1; i <= 18; ++i) {
Utility class to parse command line options.
*fatal Wrong number of arguments esac JCookie sh typeset Z DETECTOR typeset Z SOURCE_RUN typeset Z TARGET_RUN set_variable PARAMETERS_FILE $WORKDIR parameters
Empty structure for specification of parser element that is initialised (i.e. does not require input)...
Auxiliary data structure for floating point format specification.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
double getY() const
Get y position.
const JPosition3D & getPosition() const
Get position.
double getX() const
Get x position.
Data structure for position in three dimensions.
double getZ() const
Get z position.
Auxiliary data structure for parameters of mechanical model.