#include <iostream>
#include <iomanip>
#include <fstream>
#include "JTools/JGrid.hh"
#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 16 of file JGeometry.cc.
31 JParser<> zap(
"Example application for acoustics geometry.");
41 catch(
const exception &error) {
42 FATAL(error.what() << endl);
48 const double x0 = 0.0;
49 const double y0 = 0.0;
50 const double z0 = 0.0;
56 for (
int i = 1; i <= grid.getSize(); ++i) {
60 for (
int i = 1; i <= grid.getSize(); ++i) {
67 cout << setw(2) << i <<
' '
79 for (
int i = 1; i <= grid.getSize(); ++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.