Code_TYMPAN  4.4.0
Industrial site acoustic simulation
AcousticRaytracerConfiguration.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) <2012-2014> <EDF-R&D> <FRANCE>
3  * This program is free software; you can redistribute it and/or modify
4  * it under the terms of the GNU General Public License as published by
5  * the Free Software Foundation; either version 2 of the License, or
6  * (at your option) any later version.
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10  * See the GNU General Public License for more details.
11  * You should have received a copy of the GNU General Public License along
12  * with this program; if not, write to the Free Software Foundation, Inc.,
13  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
14  */
15 
16 #ifndef ACOUSTICRAYTRACERCONFIGURATION_H
17 #define ACOUSTICRAYTRACERCONFIGURATION_H
18 
23 {
24 public:
29 
30  // Attributes
31  // Ray tracing
32  unsigned int NbRaysPerSource;
33  unsigned int Discretization;
35  unsigned int Accelerator;
37  unsigned int MaxTreeDepth;
38  unsigned int NbRayWithDiffraction;
39  unsigned int MaxProfondeur;
40  unsigned int MaxReflexion;
41  unsigned int MaxDiffraction;
42  double MaxLength;
43  double SizeReceiver;
44  double AngleDiffMin;
46  double CylindreThick;
48 
49  // Sampler
50  double InitialAnglePhi;
51  double FinalAnglePhi;
53  double FinalAngleTheta;
54 
55  // Filters
56  bool UseSol;
64 
65  // Post Filters
72 
73  // Miscellaneous
74  bool KeepDebugRay;
75 private:
76  // singleton
78 };
79 
80 #endif
Class defining the configuration of the acoustic ray tracer.
unsigned int MaxTreeDepth
BvhAccelerator Accelerator option (Maximal tree depth)
bool DiffractionFilterRayAtCreation
Flag to filter the created rays during diffraction.
bool KeepDebugRay
Flag to store rays into a debug_rays array after being invalidated.
static AcousticRaytracerConfiguration * _pInstance
unsigned int NbRaysPerSource
Number of rays per source for the Sampler.
double CylindreThick
Diffraction cylinder diameter.
unsigned int MaxReflexion
Maximal reflection events.
double MaxLength
LengthSelector Selector option (maximal length)
unsigned int MaxDiffraction
Maximal diffraction events.
bool UsePathDifValidation
Flag to activate path validations during diffraction.
double InitialAnglePhi
Starting angle phi for the curve ray sampler.
bool DebugUseDiffractionAngleSelector
Flag to add the DiffractionAngleSelector filter.
unsigned int MaxProfondeur
Maximal number of events for ray validation in ANIME3D solver.
bool UsePostFilters
Flag to use some specifics Selector.
bool DebugUseDiffractionPathSelector
Flag to add the DiffractionPathSelector filter.
unsigned int NbRayWithDiffraction
Number of rays to throw during diffraction.
bool DebugUseCloseEventSelector
Flag to add the the CloseEventSelector filter.
double FinalAngleTheta
Ending angle theta for the curve ray sampler.
bool DebugUseFaceSelector
Flag to add the FaceSelector filter.
double InitialAngleTheta
Starting angle theta for the curve ray sampler.
bool DiffractionUseRandomSampler
Flag to enable random (and not regular) sampling for diffraction.
static AcousticRaytracerConfiguration * get()
Get access to the configuration.
double MaxPathDifference
Parameter (by default 24) for path validations during diffraction.
double FinalAnglePhi
Ending angle phi for the curve ray sampler.
bool DebugUseFermatSelector
Flag to add the FermatSelector filter.