Import Geant4 10.3.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2016-06-30 14:12:05 +02:00
parent a654a7ab1f
commit 4ec577e5c4
2021 changed files with 100995 additions and 78277 deletions
+4 -1
View File
@@ -1,4 +1,4 @@
$Id: History 88190 2015-02-02 17:24:54Z gcosmo $
$Id: History 96733 2016-05-02 11:52:48Z gcosmo $
-------------------------------------------------------------------
=========================================================
@@ -24,6 +24,9 @@ committal in the CVS repository !
History file for Ray Tracer category
---------------------------------------
2nd May 2016 John Allison (raytracer-V10-02-00)
- G4RTJpegCoder.cc: Fixed gcc-6.1 warning.
2nd February 2015 Gabriele Cosmo (raytracer-V10-01-00)
- Fix to sources.cmake script to include missing dependency on external library.
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id: G4RTJpegCoder.cc 66373 2012-12-18 09:41:34Z gcosmo $
// $Id: G4RTJpegCoder.cc 96733 2016-05-02 11:52:48Z gcosmo $
//
//
//
@@ -262,13 +262,12 @@ G4JpegCoder::ForwardDCT(int* picData)
for( int u=0; u<8; u++ ){
double cu = u ? 1.0 : DisSqrt2;
double sum = 0;
for( int y=0; y<8; y++ )
for( int x=0; x<8; x++ )
sum += picData[ y * 8 + x ] * mCosT[u][x] * mCosT[v][y];
mDCTData[ v * 8 + u ] = int( sum * cu * cv / 4 );
}
mDCTData[ v * 8 + u ] = int( sum * cu * cv / 4 );
}
}
}