@@ -110,6 +109,7 @@ int main( int iNumInArgs, char* pcInArgs[] )
CGRASScene("GRAS_5_1_LS04_MP04",pLS04,pMP04),
};
// Configuration
constboolbOnlyNeighbouredEdgeDiffraction=false;
...
...
@@ -117,80 +117,67 @@ int main( int iNumInArgs, char* pcInArgs[] )
constboolbFilterNotVisiblePathsBetweenEdges=false;//Intersection test between edges(expensive)
constboolbFilterNotVisiblePointToEdge=false;//Intersection test between emitter/sensor and edges
constboolbFilterNotVisiblePaths=true;//Intersection test of calculated sub paths
constfloatfIntersectionTestResolution=0.001;
constfloatfIntersectionTestResolution=0.001f;
constintiNumIterations=10;//!< Number of iterations for the calculation of the aperture points
constintfMaxAccumulatedDiffractionAngle=-2.0f*ITAConstants::PI_F;// zero or below -> disabled
constfloatfMaxAccumulatedDiffractionAngle=-2.0f*ITAConstants::PI_F;// zero or below -> disabled
constfloatfLevelDropThreshhold=-90.f-30.f-11.f;//90 dB Power level of Diesel; 30 dB masking; 11 dB initial power level drop
constfloatfReflectionPenalty=-10*log10f(0.8);//Level reduction of a reflection with reflection factor rho = 0.8 from ISO9613-2
constfloatfReflectionPenalty=-10.0f*log10(0.8f);//Level reduction of a reflection with reflection factor rho = 0.8 from ISO9613-2
constfloatfDiffractionPenalty=2.5f;// Minimum level reduction of a diffracted signal into the shadow region for a low frequency (Taken from BA Filbert Figure 16. UTD)
@@ -86,7 +86,7 @@ int main( int iNumInArgs, char* pcInArgs[] )
pLS03->sName="LS03_Genelec8020c";
std::vector<CGRASScene>vGRAS_6_Scenes={
vector<CGRASScene>vGRAS_6_Scenes={
CGRASScene("GRAS_6_LS01_MP01",pLS01,pMP01),
CGRASScene("GRAS_6_LS02_MP01",pLS02,pMP01),
CGRASScene("GRAS_6_LS03_MP01",pLS03,pMP01),
...
...
@@ -98,6 +98,7 @@ int main( int iNumInArgs, char* pcInArgs[] )
CGRASScene("GRAS_6_LS03_MP03",pLS03,pMP03),
};
// Configuration
constboolbOnlyNeighbouredEdgeDiffraction=false;
...
...
@@ -105,80 +106,67 @@ int main( int iNumInArgs, char* pcInArgs[] )
constboolbFilterNotVisiblePathsBetweenEdges=false;//Intersection test between edges(expensive)
constboolbFilterNotVisiblePointToEdge=false;//Intersection test between emitter/sensor and edges
constboolbFilterNotVisiblePaths=true;//Intersection test of calculated sub paths
constfloatfIntersectionTestResolution=0.001;
constfloatfIntersectionTestResolution=0.001f;
constintiNumIterations=10;//!< Number of iterations for the calculation of the aperture points
constintfMaxAccumulatedDiffractionAngle=-2.0f*ITAConstants::PI_F;// zero or below -> disabled
constfloatfMaxAccumulatedDiffractionAngle=-2.0f*ITAConstants::PI_F;// zero or below -> disabled
constfloatfLevelDropThreshhold=-90.f-30.f-11.f;//90 dB Power level of Diesel; 30 dB masking; 11 dB initial power level drop
constfloatfReflectionPenalty=-10*log10f(0.8);//Level reduction of a reflection with reflection factor rho = 0.8 from ISO9613-2
constfloatfReflectionPenalty=-10.0f*log10(0.8f);//Level reduction of a reflection with reflection factor rho = 0.8 from ISO9613-2
constfloatfDiffractionPenalty=2.5f;// Minimum level reduction of a diffracted signal into the shadow region for a low frequency (Taken from BA Filbert Figure 16. UTD)