Geant4 Cross Reference (Editor's cut) |
1 # Category global History 2 3 See `CONTRIBUTING.rst` for details of **required** info/format for each entry, 4 which **must** added in reverse chronological order (newest at the top). 5 It must **not** be used as a substitute for writing good git commit messages! 6 7 ------------------------------------------------------------------------------- 8 9 ## 2024-04-25 Pere Mato (global-V11-01-28) 10 - Changed Windows.h to windows.h since for MinGW always seems to be lower case, not relevant for native builds. 11 _MSC_VER is only available for VC compiler, the os one is _WIN32. 12 13 ## 2024-04-20 Gabriele Cosmo 14 - Fixed compilation error in G4PhysicsModelCatalog on Windows VC++ with 15 C++20 Standard enabled. 16 Based on [GitHub PR#69](https://github.com/Geant4/geant4/pull/69). 17 18 ## 2024-04-04 Stephan Hageboeck 19 - Provide a helpful error message when GEANT4_DATA_DIR is set to an invalid 20 location. 21 22 ## 2023-12-21 Yoshihide Sato (global-V11-01-27) 23 - G4PhysicsModelCatalog.cc: added the ID for the Light-Ion QMD model. 24 25 ## 2023-11-23 Gabriele Cosmo (global-V11-01-26) 26 - Updated tag IDs for geant4-11-02-ref-00. 27 28 ## 2023-11-20 Gabriele Cosmo (global-V11-01-25) 29 - Updated tag IDs for geant4-11-02-cand-02. 30 31 ## 2023-11-17 I. Hrivnacova (global-V11-01-24) 32 - Fixed memory leak in G4StatAnalysis::GetCpuClock(): 33 do not allocate local variable on heap. 34 35 ## 2023-11-16 I. Hrivnacova (global-V11-01-23) 36 - Fixed memory leak in G4Type[Recursive]Mutex<T> and simplified code 37 by removing unused function parameter. 38 39 ## 2023-11-13 Gabriele Cosmo (global-V11-01-22) 40 - Updated tag IDs for geant4-11-02-cand-01. 41 42 ## 2023-11-06 Gabriele Cosmo (global-V11-01-21) 43 - Updated tag IDs for geant4-11-02-cand-00. 44 45 ## 2023-11-01 Gabriele Cosmo (global-V11-01-20) 46 - Fixed compilation error on macOS Apple Silicon when enabling FPE_DEBUG. 47 No guarantee on the correctness of signal handling on this platform. 48 Addressing problem report #2571. 49 50 ## 2023-10-30 Gabriele Cosmo (global-V11-01-19) 51 - Updated tag IDs for geant4-11-01-ref-10. 52 53 ## 2023-09-26 Vladimir Ivantchenko (global-V11-01-18) 54 - G4PhysicsVector, G4PhysicsFreeVector, G4PhysicsLogVector, 55 G4PhysicsLinearVector - added extra method to support optional logarithmic 56 search for bin in free vector needed for HP package update; use static_cast 57 everywhere instead of C type conversion; use uniform class format. 58 59 ## 2023-09-25 Gabriele Cosmo (global-V11-01-17) 60 - Updated tag IDs for geant4-11-01-ref-09. 61 62 ## 2023-09-05 Makoto Asai (global-V11-01-16) 63 - Adding IgnoreTheIssue enum entry in G4ExceptionSeverity.hh. 64 65 ## 2023-08-29 Gabriele Cosmo (global-V11-01-15) 66 - Updated tag IDs for geant4-11-01-ref-08. 67 68 ## 2023-07-20 Gabriele Cosmo (global-V11-01-14) 69 - Updated tag IDs for geant4-11-01-ref-07. 70 71 ## 2023-06-30 Gabriele Cosmo (global-V11-01-13) 72 - Updated tag IDs for geant4-11-01-ref-06. 73 74 ## 2023-06-14 Ben Morgan (global-V11-01-12) 75 - Add `G4VERSION_REFERENCE_TAG` macro to distinguish release/development versions 76 and cycle of the latter. 77 78 ## 2023-05-31 Alberto Ribon (global-V11-01-11) 79 - G4PhysicsModelCatalog.cc: added the new INCLXX model of antiproton 80 annihilation at rest. 81 82 ## 2023-05-31 Gabriele Cosmo (global-V11-01-10) 83 - Updated tag IDs for geant4-11-01-ref-05. 84 85 ## 2023-04-30 Gabriele Cosmo (global-V11-01-09) 86 - Updated tag IDs for geant4-11-01-ref-04. 87 88 ## 2023-04-06 Gabriele Cosmo (global-V11-01-08) 89 - Fixed typo in G4Backtrace class description. 90 Reported in [GitHub PR#57](https://github.com/Geant4/geant4/pull/57). 91 92 ## 2023-03-31 Gabriele Cosmo (global-V11-01-07) 93 - Updated tag IDs for geant4-11-01-ref-03. 94 95 ## 2023-02-28 Gabriele Cosmo (global-V11-01-06) 96 - Updated tag IDs for geant4-11-01-ref-02. 97 98 ## 2023-01-31 Gabriele Cosmo (global-V11-01-05) 99 - Removed obsolete and no longer used G4SIunits.hh header. 100 101 ## 2023-01-30 Gabriele Cosmo (global-V11-01-04) 102 - Updated tag IDs for geant4-11-01-ref-01. 103 104 ## 2023-01-09 Ben Morgan (global-V11-01-03) 105 - Add G4debug output stream for logging messages at lower priority than 106 G4cout. 107 108 ## 2022-12-20 Vladimir Ivanchenko (global-V11-01-02) 109 - G4DataVector - simplified inline methods in order to remove compilation 110 warnings at some CMSSW platforms 111 112 ## 2022-12-14 Ben Morgan (global-V11-01-01) 113 - Remove public interface to G4strstreambuf 114 - G4strstreambuf becomes a private implementation detail of G4ios 115 - Minimized G4cout/G4strstreambuf/G4coutDestination coupling 116 117 ## 2022-12-12 Ben Morgan (global-V11-01-00) 118 - Remove obsolete GNUmakefile scripts 119 120 ## 2022-11-29 Gabriele Cosmo (global-V11-00-33) 121 - Updated tag IDs for geant4-11-01-ref-00. 122 123 ## 2022-11-18 Gabriele Cosmo (global-V11-00-32) 124 - More compilation warnings fixes for implicit type conversions. 125 126 ## 2022-11-09 Gabriele Cosmo (global-V11-00-31) 127 - Fixed compilation warnings for implicit type conversions on macOS/XCode 14.1. 128 129 ## 2022-10-31 Gabriele Cosmo (global-V11-00-30) 130 - Updated tag IDs for geant4-11-00-ref-09. 131 132 ## 2022-10-04 Gabriele Cosmo (global-V11-00-29) 133 - Fixed compilation warning on Intel-icx compiler for variable set but not 134 used, in G4AnalyticalPolSolver::QuarticRoots(). 135 136 ## 2022-09-30 Gabriele Cosmo (global-V11-00-28) 137 - Updated tag IDs for geant4-11-00-ref-08. 138 139 ## 2022-09-22 Ben Morgan (global-V11-00-27) 140 - Apply patch for MinGW from [GitHub PR#51](https://github.com/Geant4/geant4/pull/51) 141 142 ## 2022-08-29 Gabriele Cosmo (global-V11-00-26) 143 - Updated tag IDs for geant4-11-00-ref-07. 144 145 ## 2022-08-04 Ben Morgan (global-V11-00-25) 146 - Move implementation details of G4Exception to source file. 147 - Remove obsolete re-declaration of G4Exception in G4Timer. 148 149 ## 2022-07-03 Ben Morgan (global-V11-00-24) 150 - Additional clang-tidy fixes for header-only code or missed in global-V11-00-06) 151 152 ## 2022-06-24 Gabriele Cosmo (global-V11-00-23) 153 - Updated tag IDs for geant4-11-00-ref-06 and geant4-11-01-beta-01. 154 155 ## 2022-06-12 Gabriele Cosmo (global-V11-00-22) 156 - G4FindDataDir: fixed compilation with GNUmake build. 157 158 ## 2022-06-09 Igor Semeniouk (global-V11-00-21) 159 - G4FindDataDir: correction for windows runtime, G4MULTITHREADED flag. 160 Use the environment variable GEANT4_DATA_DIR as top data dir. 161 162 ## 2022-06-07 Ben Morgan (global-V11-00-20) 163 - Remove dependency on TBB which is not a direct dependency of the global 164 category. 165 166 ## 2022-05-31 Gabriele Cosmo (global-V11-00-19) 167 - Commented out debug printout in G4ThreadLocalSingleton constructor. 168 169 ## 2022-05-28 Gabriele Cosmo (global-V11-00-18) 170 - Updated tag IDs for geant4-11-00-ref-05. 171 172 ## 2022-05-23 Gabriele Cosmo (global-V11-00-17) 173 - Corrected G4ErrorPropagatorData destructor. 174 175 ## 2022-05-25 Ben Morgan (global-V11-00-16) 176 - Support GNUmake builds of G4FindDataDir 177 178 ## 2022-05-12 Guilherme Amadio (global-V11-00-15) 179 - Make dataset environment variables optional. 180 181 ## 2022-04-27 Gabriele Cosmo (global-V11-00-14) 182 - Updated tag IDs for geant4-11-00-ref-04. 183 184 ## 2022-04-01 Jonas Hahnfeld (global-V11-00-13) 185 - Fix two typos in Bremsstrahlung. 186 187 ## 2022-03-29 Gabriele Cosmo (global-V11-00-12) 188 - Updated tag IDs for geant4-11-00-ref-03. 189 190 ## 2022-03-25 Ben Morgan (global-V11-00-11) 191 - Move core Tasking interfaces that only depend on PTL to global category from 192 tasking category 193 194 ## 2022-03-18 Ben Morgan (global-V11-00-10) 195 - Replace use of deprecated std::result_of with std::invoke_result_t. 196 197 ## 2022-03-10 Ben Morgan (global-V11-00-09) 198 - Remove obsolete management/CMakeLists.txt script 199 - Declare G4hepgeometry dependencies as INTERFACE as the module is header-only 200 201 ## 2022-03-01 Ben Morgan (global-V11-00-08) 202 - Revert clang-tidy pass-by-value 203 - Provides no benefit for short strings, which are the case in the global use case 204 205 ## 2022-02-18 Gabriele Cosmo (global-V11-00-07) 206 - Updated tag IDs for geant4-11-00-ref-02. 207 208 ## 2022-02-24 Ben Morgan (global-V11-00-06) 209 - Apply set of clang-tidy modernize, readability and performance fixes. 210 211 ## 2022-02-18 Ben Morgan (global-V11-00-05) 212 - Provide overload `G4String::operator[](int)` to workaround MSVC compiler 213 error C2666. 214 Addressing [Problem report #2463](https://bugzilla-geant4.kek.jp/show_bug.cgi?id=2463). 215 216 ## 2022-02-08 Gabriele Cosmo (global-V11-00-04) 217 - Fixed compilation warnings for shadowing variables in G4String. 218 219 ## 2022-01-31 Ben Morgan (global-V11-00-03) 220 - Replace `geant4_global_library_target` with direct file inclusion and 221 call to `geant4_add_category` to define library build from source modules. 222 223 ## 2022-01-31 Gabriele Cosmo (global-V11-00-02) 224 - Updated tag IDs for geant4-11-00-ref-01. 225 226 ## 2022-01-24 Daren Sawkey (global-V11-00-01) 227 - Replace G4lrint with std::lrint; remove G4lint and G4rint. 228 Addressing issue #116. 229 230 ## 2021-12-10 Ben Morgan (global-V11-00-00) 231 - Change to new Markdown History format. 232 233 --- 234 235 # History entries prior to 11.0 236 237 December 3, 2021 Gabriele Cosmo (global-V10-07-36) 238 - Updated tag IDs for geant4-11-00-ref-00. 239 240 October 30, 2021 Vladimir Ivanchenko (global-V10-07-35) 241 - G4PhysicsModelCatalog : extended number of EM types 242 243 October 28, 2021 Gabriele Cosmo (global-V10-07-34) 244 - Updated tag IDs for geant4-10-07-ref-09. 245 246 October 25, 2021 Ben Morgan (global-V10-07-33) 247 - Deprecate non-std::string member functions, replacing with new free 248 functions in G4StrUtil namespace 249 250 October 18, 2021 Ben Morgan (global-V10-07-32) 251 - Remove obsolete/std::string synonym member functions from G4String: 252 - hash/stlhash 253 - data 254 - replace 255 - index 256 - isNull 257 - first/last 258 - append/prepend 259 - call operators 260 261 October 13, 2021 Alberto Ribon (global-V10-07-31) 262 - G4PhysicsModelCatalog : made the last changes as agreed during 263 the Collaboration meeting. This version should be ready for the 264 release G4 11.0 265 266 October 8, 2021 Vladimir Ivanchenko (global-V10-07-30) 267 - G4PhysicsOrderedFreeVector is back redirected to G4PhysicsFreeVector; 268 CMS request 269 270 October 7, 2021 Vladimir Ivanchenko (global-V10-07-29) 271 - G4PhysicsModelCatalog : extended number of EM types 272 273 October 1, 2021 Ben Morgan (global-V10-07-28) 274 - Simplify G4String interfaces and implementation with C++11/17 275 276 September 30, 2021 Gabriele Cosmo (global-V10-07-27) 277 - Updated tag IDs for geant4-10-07-ref-08. 278 279 September 27, 2021 Vladimir Ivanchenko (global-V10-07-26) 280 - G4PhysicsModelCatalog : EM part is filled according to proposal 281 agreed at the annual workshop 282 283 September 16, 2021 Vladimir Ivanchenko (global-V10-07-25) 284 - Fixed G4PhysicsVector::GetMinEnergy() and format icc file 285 286 September 10, 2021 Guilherme Amadio (global-V10-07-24) 287 - Optimize G4PhysicsVector::Interpolation. 288 289 September 8, 2021 Michel Maire (global-V10-07-23) 290 - G4BestUnit : modify previous feature: 291 for energy = 0, print "eV" instead of "meV" 292 293 August 31, 2021 Gabriele Cosmo (global-V10-07-22) 294 - Updated tag IDs for geant4-10-07-ref-07. 295 296 August 27, 2021 Vladimir Ivanchenko (global-V10-07-21) 297 - G4PhysicsVectorType: added enumeration of Spline type, use namespace 298 - G4PhysicsVector, G4PhysicsFreeVector, G4PhysicsLogVector, 299 G4PhysicsLinearVector: major update - introduced new public access methods; 300 removed obsolete unused methods; introduced possibility to use different 301 Spline methods; do not fill second derivative vector if Spline not enabled; 302 improved control on input data; reduce number of calls to min/max; attempt 303 to optimise run time code G4PhysicsTable, improved use of the vector type. 304 305 August 23, 2021 Guilherme Amadio (global-V10-07-20) 306 - G4BackTrace: move from deprecated sigignore() to signal(). 307 308 August 22, 2021 Michel Maire (global-V10-07-19) 309 - G4BestUnit : if value=0, do print unit symbol. 310 311 August 4, 2021 Alberto Ribon (global-V10-07-18) 312 - G4PhysicsModelCatalog : new version of the catalog of physics models. 313 Introduced a modelID (a unique integer for each physics model, with 314 close values for similar/related physics models), besides an index 315 (the position in a vector) and the name (string) of the physics model. 316 The main difference with respect to the previous version is that 317 the three identifiers of each physics model - modelID, index and 318 name - must stay constant and the same for all applications, 319 physics lists and future versions of Geant4, starting with 11.0. 320 321 July 18, 2021 Vladimir Ivanchenko (global-V10-07-17) 322 - G4PhysicsVector, G4PhysicsTable, G4PhysicsFreeVector - removed 323 obsolete methods SetSpline(); T_G4PhysicsFreeVector type set 324 to be default; improved comments and printouts 325 326 June 21, 2021 Gabriele Cosmo (global-V10-07-16) 327 - Updated G4SIUnits and G4PhysicalConstants to include new symbols 328 (minute, hour, day, year and millielectronvolt) and new constants 329 (Bohr_magneton and nuclear_magneton), based on CLHEP-2.4.4.2. 330 - Updated tag IDs for geant4-10-07-ref-06. 331 332 June 3, 2021 Gabriele Cosmo (global-V10-07-15) 333 - Added protection for WIN32 in G4BackTrace. 334 335 May 27, 2021 Gabriele Cosmo (global-V10-07-14) 336 - Updated tag IDs for geant4-10-07-ref-05. 337 338 May 24, 2021 Vladimir Ivanchenko (global-V10-07-13) 339 - Removed deprecated classes: G4LPhysicsFreeVector, G4PhysicsLnVector 340 and G4PhysicsOrderedFreeVector. 341 342 May 18, 2021 Ben Morgan (global-V10-07-12) 343 - New G4Filesystem header to support transparent use of C++ filesystem 344 whether it is in std:: or std::experimental namespaces. 345 346 May 18, 2021 Jonathan Madsen (global-V10-07-11) 347 - G4ThreadLocalSingleton: added way to explicitly call Clear() for all 348 TLS singletons. 349 - Reworked G4Backtrace to use fewer dynamic memory allocations when 350 printing backtrace in order to avoid overflowing the signal stack. 351 352 May 7, 2021 Gabriele Cosmo (global-V10-07-10) 353 - Updated G4SIUnits and G4PhysicalConstants to include new commented symbols. 354 (minute, hour, day, year and millielectronvolt) and new constants 355 (Bohr_magneton and nuclear_magneton). 356 357 April 29, 2021 Gabriele Cosmo (global-V10-07-09) 358 - Updated tag IDs for geant4-10-07-ref-04. 359 360 April 28, 2021 Michel Maire (global-V10-07-08) 361 - G4UnitsTable: added units for Velocity and Momentum. 362 363 March 31, 2021 Gabriele Cosmo (global-V10-07-07) 364 - Updated tag IDs for geant4-10-07-ref-03. 365 366 March 26, 2021 Gabriele Cosmo (global-V10-07-06) 367 - Zero terminate buffer in G4strstreambuf destructor before flushing. 368 Addressing problem report #2350. 369 370 March 15, 2021 Gabriele Cosmo (global-V10-07-05) 371 - G4ConvergenceTester: fixed potential thread contention likely 372 responsible for crashes in ThreadSafe-Scorers example, observed in 373 system testing. Some code cleanup. 374 375 March 12, 2021 Ben Morgan (global-V10-07-04) 376 - Modernize CMake build. 377 378 March 5, 2021 Ben Morgan (global-V10-07-03) 379 - Add patch from Seth Johnson to allow user query of G4PhysicsVector's 380 use or not of spline interpolation. 381 382 February 25, 2021 Gabriele Cosmo (global-V10-07-02) 383 - Updated tag IDs for geant4-10-07-ref-02. 384 385 February 4, 2021 Vladimir Ivanchenko (global-V10-07-01) 386 - G4PhysicsFreeVector, G4LPhysicsFreeVector, G4PhysicsLogVector, 387 G4PhysicsLinearFreeVector, G4PhysicsOrderedFreeVector - to 388 each constructor added extra boolean variable making spline; 389 this is needed for later removal of the SetSpline(..) method 390 required forreorganisation of the code using templates 391 - G4LPhysicsFreeVector, G4PhysicsOrderedFreeVector - moved 392 implementation to G4PhysicsFreeVector 393 - G4PhysicsFreeVector - added control on continues increase 394 energy in the energy vector to all constructors 395 - G4PhysicsVector - extended warning printout 396 397 January 28, 2021 Gabriele (global-V10-07-00) 398 - Updated tag IDs for geant4-10-07-ref-01. 399 400 December 2, 2020 Gabriele (global-V10-06-27) 401 - Removed condition restricting to __x86_64__ architectures for macOS 402 configuration in tls.hh. 403 404 November 21, 2020 Gabriele Cosmo (global-V10-06-26) 405 - Fixed compilation warnings in G4Profiler. 406 - Updated tag IDs for release 10.7. 407 408 November 12, 2020 Jonathan Madsen (global-V10-06-25) 409 - Added new G4Profiler.hh header 410 - Implemented new profiling routines which allow per-{run,event,track,step} 411 configuration w.r.t. when to profiler, what to collect in the profiler, 412 and how to label the entries. 413 Also, includes user-profiling config and macros. 414 - Use of TIMEMORY_AUTO_TIMER is now deprecated. 415 416 October 29, 2020 Ben Morgan (global-V10-06-25) 417 - Always use new CMake system. 418 419 October 30, 2020 Gabriele Cosmo (global-V10-06-24) 420 - Updated tag IDs for geant4-10-06-ref-10. 421 422 October 20, 2020 Jonathan Madsen (global-V10-06-23) 423 - Added G4Backtrace.hh for printing backtraces from raised signals 424 - This is a more generic implementation of G4FPEDetection and can 425 catch FPE issues but, by default, does not interfere with it. 426 - The default backtraced signals are: SIGQUIT, SIGILL, SIGABRT, SIGKILL, 427 SIGBUS, SIGSEGV. 428 - The default signals can be overridden within user-code before and 429 after the creation of the run-manager (See "Usage" section in G4Backtrace.hh) 430 - The default signals can be overridden via environment variable 431 G4BACKTRACE. 432 433 September 30, 2020 Gabriele Cosmo (global-V10-06-22) 434 - Updated tag IDs for geant4-10-06-ref-09. 435 436 September 25, 2020 Vladimir Ivanchenko (global-V10-06-21) 437 - G4PhysicsLinearVector, G4PhysicsLogVector - fixed scale of energy; this 438 problem does not affect results in general; it fix data table scale 439 and may change dEdx and cross sections numerically on small level. 440 441 September 24, 2020 Gabriele Cosmo (global-V10-06-20) 442 - Re-instate static pointer for 'masterG4coutDestination' in G4coutDestination 443 with proper symbol exporting on Windows (necessary for MT builds). 444 Restores trapping of G4cout from workers in Qt GUI. 445 446 August 31, 2020 Gabriele Cosmo (global-V10-06-19) 447 - Updated tag IDs for geant4-10-06-ref-08. 448 449 August 4, 2020 Daren Sawkey (global-V10-06-18) 450 - New G4PhysicsOrderedFreeVector(std::vector, std::vector) constructor. 451 452 July 23, 2020 Gabriele Cosmo (global-V10-06-17) 453 - Updated tag IDs for geant4-10-06-ref-07. 454 455 July 17, 2020 Gabriele Cosmo (global-V10-06-16) 456 - Updated e_SI value for electron charge in G4SIunits.h, based 457 on May 2019 redefinition of SI units. 458 Reference: https://www.britannica.com/science/electron-charge. 459 460 June 26, 2020 Gabriele Cosmo (global-V10-06-15) 461 - Updated tag IDs for geant4-10-06-ref-06. 462 463 May 31, 2020 Gabriele Cosmo (global-V10-06-14) 464 - Updated tag IDs for geant4-10-06-ref-05. 465 466 May 28, 2020 Ben Morgan (global-V10-06-13) 467 - management/sources.cmake: Add location of generated header to 468 public include directories of G4globman. 469 470 May 20, 2020 Gabriele Cosmo (global-V10-06-12) 471 - Minor c++11 revision in HepNumerics module. 472 - Re-applied clang-format after minor rules adaptations. 473 474 May 18, 2020 Gabriele Cosmo (global-V10-06-11) 475 - Removed unnecessary use of deprecated G4USE_STD11 flag. 476 Also indicated in GitHub PR#13. 477 478 May 10, 2020 Jonathan Madsen (global-V10-06-10) 479 - Applied clang-format to G4global category 480 481 May 5, 2020 Gabriele Cosmo (global-V10-06-09) 482 - C++11 revision in 'management' module and some code cleanup/formatting. 483 484 April 29, 2020 Gabriele Cosmo (global-V10-06-08) 485 - Updated tag IDs for geant4-10-06-ref-04. 486 487 March 31, 2020 Ben Morgan (global-V10-06-07) 488 - G4UnitsTable: added inheriting constructors for std::vector. 489 490 March 31, 2020 Gabriele Cosmo (global-V10-06-06) 491 - Updated tag IDs for geant4-10-06-ref-03. 492 493 February 29, 2020 Gabriele Cosmo (global-V10-06-05) 494 - Updated tag IDs for geant4-10-06-ref-02. 495 496 February 03, 2020 Vladimir Ivanchenko (global-V10-06-04) 497 - G4PhysicsLinearVector, G4PhysicsLogVector - more accurate 498 checks in class constructors - fixed Coverity warning 499 500 January 30, 2020 Gabriele Cosmo (global-V10-06-03) 501 - Fixed symbol exporting problem in G4coutDestination on Windows; define 502 'masterG4coutDestination' static pointer as a normal pointer. 503 Addressing problem report #2217. 504 505 January 16, 2020 Vladimir Ivanchenko (global-V10-06-02) 506 - G4Physics2DVector - extend number of characters in the table dump 507 from 5 to 8; use similar algorithm for bin selection as in 1d vector; 508 if any dimension is less than 2 through G4Exception 509 - G4PhysicsVector - use the same code for interpolation for all types 510 of PhysicsVector; removed obsolete unused methods; maximally use 511 const variables; preserve precision of printout; 512 - G4PhysicsLinearVector - added checks on vector 513 length: if it is less than 2 through G4Exception 514 - G4PhysicsLogVector - added checks on vector length: if it is less 515 than 3 through G4Exception 516 517 January 14, 2020 Gabriele Cosmo (global-V10-06-01) 518 - Added windefs.hh header, including protections for double definition 519 of global symbols from Windows Kits code. 520 - Updated tag IDs for geant4-10-06-ref-01. 521 522 December 09, 2019 Ben Morgan (global-V10-06-00) 523 - Cleanup CMake build, removing obsolete granular library options and 524 explicit include_directories. 525 526 December 03, 2019 Gabriele Cosmo (global-V10-05-26) 527 - Updated tag IDs for release 10.6. 528 529 November 22, 2019 Jonathan Madsen (global-V10-05-25) 530 - Updated G4TiMemory.hh to support new macros 531 - Updated templates.hh to use move semantics in consume_parameters 532 - Eliminates warning about unnecessary copy for some compilers 533 - Updated sources.cmake to use ${timemory_LIBRARIES} instead of 534 difficult to type ${TiMemory_LIBRARIES} 535 536 November 19, 2019 Gabriele Cosmo (global-V10-05-24) 537 - Updated tag IDs for geant4-10-06-cand-01. 538 539 November 15, 2019 Gabriele Cosmo (global-V10-05-23) 540 - Fixed implicit type conversions in G4String internal methods. 541 542 November 12, 2019 Gabriele Cosmo (global-V10-05-22) 543 - Updated tag IDs for geant4-10-06-cand-00. 544 545 November 08, 2019 Evgueni Tcherniaev (global-V10-05-21) 546 - G4SimplexDownhill: fixed minor Coverity defect 547 548 October 30, 2019 Gabriele Cosmo (global-V10-05-20) 549 - Updated date and tag-ID for geant4-10-05-ref-10. 550 551 October 25, 2019 Gabriele Cosmo (global-V10-05-19) 552 - Added 'External' (physical) volume type to geomdefs.hh. 553 554 September 30, 2019 Gabriele Cosmo (global-V10-05-18) 555 - Updated date and tag-ID for geant4-10-05-ref-09. 556 557 September 12, 2019 Evgueni Tcherniaev (global-V10-05-17) 558 - Added HEPRandom/include/G4QuickRand.hh 559 560 August 31, 2019 Gabriele Cosmo (global-V10-05-16) 561 - Updated date and tag-ID for geant4-10-05-ref-08. 562 563 August 2, 2019 Makoto Asain (global-V10-05-15) 564 - G4PhysicsVector::insertAt() : add protection against idx > entries(). 565 Addressing to Bug report #2182. 566 567 July 21, 2019 Mihaly Novak (global-V10-05-14) 568 - G4PhysicsVector: remove temporary codes used during the optimisation of the 569 physics log-vector data access 570 571 July 18, 2019 Mihaly Novak (global-V10-05-13) 572 - G4PhysicsVector: further optimisation of the LogVectorValue data access method 573 (all conditional branchings are eliminated by increased robustness of the alg.) 574 575 July 17, 2019 Mihaly Novak (global-V10-05-12) 576 - G4PhysicsVector: add optimised LogVectorValue method(special Value method only 577 for log-vectors) to G4PhysicsVector 578 - G4PhysicsVector, G4PhysicsLogVector, G4PhysicsLinearVector, G4PhysicsVector: 579 change dBin member to invdBin(=1/dBin) to get rid of run-time divisions 580 581 July 15, 2019 Gabriele Cosmo (global-V10-05-11) 582 - Updated date and tag-ID for geant4-10-05-ref-07. 583 584 June 17, 2019 Gabriele Cosmo (global-V10-05-10) 585 - Updated date and tag-ID for geant4-10-05-ref-06. 586 587 May 28, 2019 Gabriele Cosmo (global-V10-05-09) 588 - Updated date and tag-ID for geant4-10-05-ref-05. 589 590 May 20, 2019 Gabriele Cosmo (global-V10-05-08) 591 - Defined default move constructor and move assignment operator for G4String 592 and G4DataVector. 593 594 May 16, 2019 Gabriele Cosmo (global-V10-05-07) 595 - Defaulted copy constructor for G4StatDouble, to fix compilation warnings 596 on gcc-9.1. 597 598 April 27, 2019 Gabriele Cosmo (global-V10-05-06) 599 - Updated date and tag-ID for geant4-10-05-ref-04. 600 601 April 25, 2019 Ben Morgan (global-V10-05-05) 602 - DEV-250: Add G4GlobalConfig.hh generated header to hold global, always 603 required, preprocessor symbols instead of relying on -D flags. 604 - G4USE_STD11 605 - G4MULTITHREADED 606 - G4_STORE_TRAJECTORY 607 - G4VERBOSE 608 - GEANT4_USE_TIMEMORY 609 - Add inclusion of G4GlobalConfig.hh in G4Types.hh, tls.hh and 610 G4TiMemory.hh so that global and other categories pick up 611 the definitions transparently. Protect inclusion so that 612 only CMake builds use this header 613 - Update other headers/srcs to include G4Types/G4Threading if 614 they use G4MULTITHREADED 615 - Uses cmake-V10-05-02 616 617 March 29, 2019 Gabriele Cosmo (global-V10-05-04) 618 - Updated date and tag-ID for geant4-10-05-ref-03. 619 620 March 17, 2019 Mihaly Novak (global-V10-05-03) 621 - G4PhysicsVector: adding additional public Value() method option to propagate 622 down the known log-energy value (can avoid the log call in case of log-vector) 623 - templates: new LOG_EKIN_MIN constant as value taken incase of zero kin-energy. 624 625 March 13, 2019 Gabriele Cosmo (global-V10-05-02) 626 - Enable FPE detection on MacOS with clang. 627 Addressing problem report #2147. 628 629 February 28, 2019 Gabriele Cosmo 630 - Updated date and tag-ID for geant4-10-05-ref-02. 631 632 January 31, 2019 Ivana Hrivnacova (global-V10-05-01) 633 - Merged GitHub PR #4: all Boolean operators now return G4bool. 634 635 January 30, 2019 Gabriele Cosmo (global-V10-05-00) 636 - Updated date and tag-ID for geant4-10-05-ref-01. 637 638 November 26, 2018 Gabriele Cosmo (global-V10-04-31) 639 - G4Cache, G4CacheDetails: minor code cleanup and formatting. 640 641 November 16, 2018 Gabriele Cosmo (global-V10-04-30) 642 - G4OrderedTable and G4DataVector: fixed store/retrieve of binary 643 data format. 644 - G4AllocatorPool: moved copy-ctr and operator=() to public section. 645 - Changed ID for release 10.5. 646 - Fixed unit tests. 647 648 November 13, 2018 Jonathan Madsen (global-V10-04-29) 649 - Fixes to G4ConvergenceTester to ensure there are no divide-by-zeros 650 when calculating the stat history 651 652 November 9, 2018 Gabriele Cosmo (global-V10-04-28) 653 - G4ConvergenceTester: fixed printout typos. 654 655 November 8, 2018 Gabriele Cosmo (global-V10-04-27) 656 - G4Threading: replaced 'typedef' statements with C++11 'using' correspondents. 657 658 November 1, 2018 Gabriele Cosmo (global-V10-04-26) 659 - Fixed inclusion recursion in G4EnvironmentUtils header. 660 661 October 30, 2018 Gabriele Cosmo (global-V10-04-25) 662 - Renamed G4Utility.hh to G4EnvironmentUtils.hh and moved one of the 663 functions to templates.hh. 664 665 October 25, 2018 Jonathan Madsen (global-V10-04-24) 666 - added operator += (G4double) to G4ConvergenceTester 667 - added G4StatAnalysis.{hh,icc} class 668 - this class is a lightweight statistics class that calculates the 669 mean, FOM, relative error, standard deviation, variance, coefficient of 670 variation, efficiency, r2eff, r2int (corr-coeff-of-interp/coeff-of-determ) 671 - G4Utility.hh - convenient environment converters and variadic template 672 to consume unused parameters and variables 673 674 October 12, 2018 Gabriele Cosmo (global-V10-04-23, 22) 675 - Moved back main G4Exception functions to source to reduce dependencies. 676 - Reset singleton pointer in G4StateManager destructor; addressing problem 677 report #2094. Minor code cleanup. 678 679 September 14, 2018 Vladimir Ivanchenko (global-V10-04-21) 680 - G4PhysicsVector: similar fix as in previous tag of the problem #2087 681 682 September 10, 2018 Mihaly Novak (global-V10-04-20) 683 - G4Physics2DVector: fixed possible out-of-bound access in the FindBin method. 684 problem report #2087 685 686 August 14, 2018 Gabriele Cosmo (global-V10-04-19) 687 - G4Timer: fixed CPU number printout in operator<<(). Use G4 types. 688 Code formatting. 689 690 June 6, 2018 Jonathan Madsen (global-V10-04-18) 691 - Added G4TiMemory.hh which defines an dummy initializer and empty macros when 692 TiMemory is disabled and includes the TiMemory headers and defines an 693 initializer when built with TiMemory support 694 - Removed "#define times ostimes" from G4Timer.hh and G4SliceTimer.hh 695 - conflicts with TiMemory and this is left over from a conflict that 696 no longer exists (see global-01-00-03 from 1999) 697 - Removed corresponding "#undef times" from G4Timer.cc and G4SliceTimer.cc 698 - Added TiMemory libraries and includes to sources.cmake 699 700 May 18, 2018 Gabriele Cosmo (global-V10-04-17) 701 - Moved G4Exception functions to inline and extracted banner front/end 702 strings for use in Qt parsing. 703 704 May 17, 2018 Jonathan Madsen (global-V10-04-16) 705 - Removed G4GLOB_DLL from G4CacheReference<G4double> 706 707 May 17, 2018 Jonathan Madsen (global-V10-04-15) 708 - Updated "thread-local-static-var" model to 709 "function-returning-thread-local-static-reference" model 710 which fixes Windows DLL + MT 711 712 March 23, 2018 Mihaly Novak (global-V10-04-14) 713 - Increased accuracy of G4Pow::A13 in the most critical [1/4,4] interval. 714 715 March 22, 2018 Gabriele Cosmo (global-V10-04-13) 716 - Avoid exporting symbols for Windows DLLs in multi-threaded builds. 717 718 March 21, 2018 Gabriele Cosmo (global-V10-04-12) 719 - Moved test80 to unit tests in HEPRandom/test module and renamed testRngMT. 720 721 March 9, 2018 Gabriele Cosmo (global-V10-04-11) 722 - Removed obsolete MT wrappers for random numbers, no longer necessary. 723 Simplified definition of G4Random types in Randomize.hh accordingly. 724 - Full support for thread-local storage on clang (also MacOS clang) now 725 enabled; updated tls.hh definitions accordingly; removed use of the 726 G4USE_STD11 flag, now always enabled by default. 727 - Minor code cleanup in G4UniformRandPool. 728 729 March 7, 2018 Jonathan Madsen (global-V10-04-10) 730 - Replaced erroneous "id_type" return type for G4DummyThread::get_id() 731 with correct "id" type. 732 733 March 6, 2018 Jonathan Madsen (global-V10-04-09) 734 - updated G4cout_p and G4cerr_p to point to std::cout and std::cerr before 735 and after library load. G4cout before G4RunManager creation has been seen to 736 fail on Windows 737 - Improvement to G4AutoLock in non-MT mode + bug fix (void try_lock() -> 738 bool try_lock()) plus error handling within G4AutoLock if static mutex 739 is attempted to be used at application cleanup (previously handled in 740 G4Cache) 741 - using atomics in G4Cache 742 - Define G4ThisThread, G4Promise, G4Future, and G4SharedFuture in G4Threading 743 the promises and futures are not currently used except for in upcoming 744 RNG testing but will be used in future 745 - G4TypeMutex and G4RecursiveTypeMutex now accept an index, e.g. 746 G4AutoLock l(G4TypeMutex<G4SomeClass>(0)) and 747 G4AutoLock l(G4TypeMutex<G4SomeClass>(1)) 748 - G4DummyThread typedef std::thread::id as id instead of id_type 749 750 March 6, 2018 Gabriele Cosmo (global-V10-04-08) 751 - Use thread_local keyword on Windows, instead of __declspec(thread) in tls.hh. 752 - Removed no longer necessary windefs.hh header. 753 754 February 21, 2018 Jonathan Madsen (global-V10-04-07) 755 - Overloaded G4AutoLock member functions in serial mode to not 756 execute locking/unlocking 757 - Fixed std::system_error in G4Cache where destructor tries 758 to use a static G4Mutex that has already been deleted by cleanup 759 which is a non-critical error related to a singleton memory leak 760 - Returned some functionality in G4Threading to dummy types such 761 as G4MUTEXLOCK and G4MUTEXUNLOCK do not actually lock 762 and G4Thread is a dummy thread that executes upon construction 763 764 February 19, 2018 Jonathan Madsen (global-V10-04-06) 765 - Added G4TypeMutex<T> and G4TypeRecursiveMutex<T> function to threading 766 for safely obtaining a static mutex that is unique to the template type T 767 - Replaced static G4Mutex in G4Cache<T> with calls to G4TypeMutex<G4Cache<T>> 768 function calls to safely initialize mutexes on Windows 769 770 February 14, 2018 Jonathan Madsen (global-V10-04-05) 771 - G4THREADSLEEP had an extra space before paramter field rendering the 772 macro invalid. This was fixed 773 - Sequential clang builds were emitting -Wunused-private-field warning 774 in G4MTBarrier. Modified G4CONDITION macros to fix this 775 776 February 13, 2018 Jonathan Madsen (global-V10-04-04) 777 - Simplified G4Threading by not ifdef'ing out G4Mutex 778 It was determined the average time to lock and unlock a mutex in 779 single-thread mode is ~5 nanoseconds in release mode. Therefore, it 780 was determined the mutex locking is not a concern for performance in 781 non-MT mode. This fixes issues with G4Mutex and G4AutoLock in 782 global-V10-04-03 783 - Extended G4TemplateAutoLock to take advantage of the features 784 std::unique_lock offers 785 - migrated G4Timer real (wall) time to use std::chrono::high_precision_clock 786 from C++11 787 788 February 12, 2018 Jonathan Madsen (global-V10-04-03) 789 - G4Threading - replaced POSIX threading with C++11 threading 790 - std::condition_variable 791 - std::mutex + std::recursive_mutex 792 - std::thread 793 - many of the former macros are now dummy macros (e.g. G4MUTEXINIT, 794 G4MUTEX_INITIALIZER, etc.) 795 - G4GetPidId() -> uses std::this_thread::get_id() 796 - G4GetNumberOfCores() -> uses std::thread::hardware_concurrency() 797 - Updated pin affinity 798 - Removed G4THREADSELF (not used, no C++11 platform-independent equivalent) 799 - G4AutoLock is now a thin wrapper around std::unique_lock providing previous 800 functionality + more features (e.g. try_lock, try_lock_until, etc.) 801 - Added G4RecursiveAutoLock for recursive mutexes 802 - Expanded DEFINED_PPC and DEFINED_INTEL in G4FPEDetection (warning in GCC 7+) 803 - G4MTBarrier: removed WIN32 specifics, updated G4CONDITIONWAIT to use 804 G4AutoLock (std::unique_lock) instead of G4Mutex, removed G4MUTEX_INITIALIZER 805 from constructor 806 807 February 12, 2018 G.Cosmo (global-V10-04-02) 808 - G4StateManager: move static method SetVerboseLevel() to be non inline. 809 810 February 9, 2018 M.Asai (global-V10-04-01) 811 - G4MTcoutDestination.cc blocks G4cout from worker threads while spplication 812 is in G4State_Init instead of G4State_Idle. 813 - G4StateManager has a new method to set verbosity and print the state change. 814 815 December 19, 2017 G.Cosmo (global-V10-04-00) 816 - Fixed self-consistency in G4ReferenceCountedHandle header (missing #include). 817 Added missing #ifdef guard in G4CacheDetails header; code formatting. 818 Thanks to Raphael Isemann for reporting these. 819 820 October 20, 2017 E.Tcherniaev (global-V10-03-11) 821 - Use more performant G.Marsaglia (1972) algorithm for G4RandomDirection. 822 Thanks to Kostas Savvidy for the suggestion. 823 - Updated unit test G4RandomDirectionTest. 824 825 July 24, 2017 E.Tcherniaev (global-V10-03-10) 826 - Added G4RandomPointOnEllipsoid() and G4RandomPointOnEllipse() to functions 827 collection in G4RandomTools.hh. 828 829 July 20, 2017 E.Tcherniaev (global-V10-03-09) 830 - Added G4RandomRadiusInRing() and G4RandomPointInEllipse() to functions 831 collection in G4RandomTools.hh. 832 833 June 21, 2017 G.Cosmo (global-V10-03-08) 834 - Corrected TLS setup in tls.hh for gcc compiler. 835 836 April 20, 2017 G.Cosmo (global-V10-03-07) 837 - Removed obsolete internal definition of abs() in templates.hh. 838 - Code cleanup/formatting in recent G4cout* classes. 839 840 April 18, 2017 A.Dotti (global-V10-03-06) 841 - Fixed WIN compilation error. 842 843 April 18, 2017 A.Dotti (global-V10-03-05) 844 - Fixed compiler error for gcc < 5. 845 - Fixed compilation warning on Mac OS 10.11 clang-8. 846 847 April 18, 2017 A.Dotti (global-V10-03-04) 848 - New structure for G4coutDestination functionality with division 849 between sink and filter. 850 851 April 6, 2017 E.Tcherniaev (global-V10-03-03) 852 - Added function G4RandomDirection(G4double cosTheta) to G4RandomDirection.hh. 853 Addressing enhancement request #1961. 854 855 March 14, 2017 G.Cosmo (global-V10-03-02) 856 - Fix in destructor of G4ThreadLocalSingleton to destroy mutex as last 857 action. Fixes contention reported by Valgrind/DRD. 858 859 March 13, 2017 G.Cosmo (global-V10-03-01) 860 - G4TWorkspacePool: implemented CleanUpAndDestroyAllWorkspaces(), 861 and Recycle() to be called by worker threads. 862 863 December 19, 2016 G.Cosmo (global-V10-03-00) 864 - Removed obsolete utility class G4SubString used internally in G4String, 865 as no longer necessary and also including unnecessary and buggy operators. 866 Addressing problem report #1864. 867 868 November 16, 2016 G.Cosmo (global-V10-02-33) 869 - Fixed compilation warning on MacOS Sierra in MT mode in function 870 G4Threading::G4GetPidId(). 871 872 October 21, 2016 A.Dotti (global-V10-02-31, -32) 873 - To avoid confusion rename method to: 874 G4Threading::GetNumberOfRunningWorkerThreads() 875 876 October 21, 2016 G.Cosmo (global-V10-02-30) 877 - Made initialisation of G4TWorkspacePool thread-local data to be inline 878 along with generic template type. 879 Fixing compilation/linking errors on clang-3.9 and XCode-8 on MacOS. 880 881 October 17, 2016 G.Cosmo (global-V10-02-29) 882 - Moved inclusion of <atomic> within G4MULTITHREADED guard in G4Threading.cc 883 884 October 11, 2016 A.Dotti (global-V10-02-28) 885 - Added G4Threading::GetNumberOfActiveWorkerThreads() function. 886 887 September 26, 2016 G.Cosmo (global-V10-02-27) 888 - Added kilovolt/m and megavolt/m to G4UnitsTable for electric field. 889 Addressing enhancement request #1891. 890 891 September 7, 2016 M.Asai (global-V10-02-26) 892 - G4StatDouble: Additional constructor. 893 894 September 6, 2016 M.Asai (global-V10-02-25) 895 - G4StatDouble: Added = and += operators. 896 897 August 31, 2016 V.Ivanchenko (global-V10-02-24) 898 - G4StatDouble: fixed computation of RMS - was completely wrong. 899 900 August 18, 2016 G.Cosmo (global-V10-02-23) 901 - G4UnitsTable: added IsUnitDefined() method, checking existance of a unit 902 in the table. Addressing problem report #1880. 903 904 August 15, 2016 V.Ivanchenko (global-V10-02-22) 905 - G4PhysicsVector, G4PhysicsTable and derived classes: general cleanup. 906 Updated comments; removed duplicate methods; more correct names for some 907 variables; adoption of c++11 keywords. 908 Removed .icc files for G4LPhysicsFreeVector and G4PhysicsOrderedFreeVector. 909 910 August 12, 2016 G.Cosmo (global-V10-02-21) 911 - G4UnitsTable: use 'hep_pascal' instead of 'pascal' to avoid potential 912 symbol conflicts on Windows. 913 914 July 29, 2016 M.Asai (global-V10-02-20) 915 - Fix G4UnitDefinition to be properly shared by all threads. 916 Addressed to Bug report #1869. 917 918 July 21 and 22, 2016 M.Asai (global-V10-02-16, -17, -18 and -19) 919 - Fix G4UnitsTable to be properly shared by all threads. 920 Addressed to Bug report #1869. 921 922 June 3, 2016 G.Cosmo (global-V10-02-15) 923 - Enabled new units 'us' and 'ps' in G4SystemOfUnits.hh. 924 Now requiring CLHEP-2.3.3.0. 925 - Updated version ID for 10.3-Beta. 926 927 May 2, 2016 G.Cosmo (global-V10-02-14) 928 - Added 'us' and 'ps' units symbols for microsend and picosecond 929 respectively to G4UnitsTable. (M.Maire) 930 Commented out in G4SystemOfUnits.hh, pending installation of new 931 external CLHEP library. 932 - Converted all units anc constants from "static const" to "static constexpr". 933 - Coworks with tag "externals-V10-02-08". 934 935 April 25, 2016 G.Cosmo (global-V10-02-13) 936 - Added check for support of atomics for clang compiler in HEPRandom wrappers. 937 938 April 14, 2016 G.Cosmo (global-V10-02-12) 939 - Define G4GeometryTolerance singleton instance pointer as tread-local 940 to get rid of spurious race conflicts at initialisation. 941 942 March 30, 2016 G.Cosmo (global-V10-02-11) 943 - Added MixMax in unit tests for HepRandom. 944 945 March 22, 2016 A.Dotti (global-V10-02-10) 946 - Fixing compilation of unit test for HEPRandom. Only test 947 subdirectory touched to port to new G4 interfaces 948 949 March 16, 2016 G.Cosmo (global-V10-02-09) 950 - Improved algorithm for G4RandomDirection (E.Tcherniaev). 951 - Turn warnings to fatal exceptions in G4UnitsTable for non existing 952 units or categories in the table. Addressing problem report #1843. 953 954 February 17, 1016 A.Dotti (global-V10-02-08, 07, 06, 05) 955 - Fixed sequential build and Windows builds for G4MTBarrier class. 956 957 February 16, 2016 A.Dotti (global-V10-02-04) 958 - Fixed typo CONDTIONBROADCAST for sequential mode. 959 - Removed default move constructor to prevent compilation errors on Windows. 960 961 February 16, 2016 A.Dotti (global-V10-02-03) 962 - Introduced new utility class G4MTBarrier implementing a synchronization 963 point between threads. 964 - Corrected typo for macro CONDITIONBROADCAST. 965 966 January 28, 2016 A.Dotti (global-V10-02-02) 967 - Changed exception code in G4TWorkspacePool from G4TWorkspacePool 968 to "WorkspaceNN". 969 970 December 17, 2015 G.Cosmo (global-V10-02-01) 971 - Corrected conditions for proper treatment of gcc-5 in tls.hh and 972 G4Threading.hh. 973 974 December 10, 2015 G.Cosmo (global-V10-02-00) 975 - Removed unused and buggy operator=(const G4String&) in G4SubString. 976 977 November 5, 2015 G.Cosmo (global-V10-01-25) 978 - Enabled units liter, L, dL, cL, mL in G4SystemOfUnits.hh and G4UnitsTable. 979 Requires new CLHEP version 2.3.1.0. 980 - Updated dates and tag-ID for release 10.2. 981 982 November 4, 2015 A.Dotti (global-V10-01-24) 983 - Coverity fix in G4UniformRandPool. 984 985 October 21, 2015 V.Ivantchenko (global-V10-01-23) 986 - G4PhysicsVector, G4Physics2DVector, G4PhysicsOrderedFreeVector: 987 use std::lower_bound instead of old do/while loops according to 988 proposal of K.Genser (FNAL); also minor cleanup of the code. 989 990 October 16, 2015 V.Ivantchenko (global-V10-01-22) 991 - G4Pow: added protections against zero value of argument of methods powN(), 992 powA() and A13(). Minor cleanup. 993 994 September 18, 2015 J.Allison (global-V10-01-21) 995 - Added string length check in G4String::operator==. 996 997 August 28, 2015 G.Cosmo (global-V10-01-20) 998 - Tune radial tolerance to same value as for Cartesian in G4GeometryTolerance. 999 1000 August 21, 2015 J.Allison 1001 - Added 'inline' specification to functions in G4String.icc. 1002 1003 August 21, 2015 G.Cosmo (global-V10-01-19) 1004 - Temporarly commented out changes in G4SystemOfUnits.hh and G4UnitsTable, 1005 pending new release of CLHEP for the added units. 1006 1007 August 19, 2015 M.Maire (global-V10-01-18) 1008 - G4SystemOfUnits.hh : keep only liter, L, dL, cL, mL 1009 - Updated G4SIunits.hh and G4UnitsTable. 1010 1011 August 10, 2015 M.Maire 1012 - G4SystemOfUnits.hh : add dm, dm2, dm3, liter 1013 - Update G4SIunits.hh 1014 1015 August 12, 2015 G.Cosmo (global-V10-01-17) 1016 - Explicit settings for Intel-icc compiler in tls.hh. 1017 - Added missing inclusion of <assert.h> in G4UniformRandPool header. 1018 1019 August 10, 2015 G.Cosmo (global-V10-01-16) 1020 - Force use of G4MT wrappers for Intel-icc compiler for random numbers. 1021 Temporary solution, pending full migration to C++11 for CLHEP classes. 1022 1023 June 26, 2015 A.Dotti (global-V10-01-15) 1024 - Coverity fix in G4UniformRandPool and bug fixing 1025 1026 June 12, 2015 A.Dotti (global-V10-01-14) 1027 - Fix bug in G4CacheReference::Destroy method 1028 - Modify behavior of G4Cache to identify internal 1029 inconsistencies. An exception is thrown 1030 1031 May 27, 2015 J.Allison (global-V10-01-13) 1032 - Define G4THREADSLEEP(tick) macro in G4Threading.hh also for sequential 1033 builds. 1034 1035 May 26, 2015 G.Cosmo (global-V10-01-12) 1036 - Corrected logic for use of TLS on clang compiler for the Random module. 1037 1038 May 22, 2015 G.Cosmo (global-V10-01-11) 1039 - Added inclusion of <unistd.h> in G4Threading.hh for self-consistency 1040 with the call to sleep(). 1041 1042 May 18, 2015 A.Dotti (global-V10-01-10) 1043 - Adding copy constructor and assignement operator for G4Cache 1044 Addressing issue #1739 1045 1046 May 13, 2015 G.Cosmo (global-V10-01-09) 1047 - Added guard against potential loop in G4RandomTools::G4LambertianRand(). 1048 1049 May 5, 2015 A.Dotti (global-V10-01-08) 1050 - Introduced IsMasterThread() function as suggested by J. Allison. 1051 1052 April 26, 2015 V.Ivantchenko 1053 - G4StatDouble: return RMS 0 instead of -1 in the case the number 1054 of entries is below 2 (fixes arithmetic exceptions in examples for 1055 run with 1 event only). 1056 1057 April 9, 2015 A.Dotti (global-V10-01-07) 1058 - Fix testRandPool for sequential builds 1059 1060 April 8, 2015 G.Cosmo (global-V10-01-06) 1061 - Some code cleanup/formatting in G4UniformRandPool. 1062 Corrected signature of destroy_pool_align() for Windows to fix 1063 compilation errors. 1064 - Corrected GNUmakefile in HepRandom unit tests. 1065 1066 April 8, 2015 A.Dotti (global-V10-01-05) 1067 - Fixed compilation error on Windows. 1068 1069 April 8, 2015 A.Dotti (global-V10-01-04) 1070 - First implementation of G4UniformRandPool for serial generation of 1071 uniform random numbers. 1072 Note: feature not actived yet. 1073 1074 March 27, 2015 G.Cosmo (global-V10-01-03) 1075 - Added "g/mole" Molar mass definition to G4UnitsTable. 1076 1077 February 20, 2015 G.Cosmo (global-V10-01-02) 1078 - Added type-info information to G4Allocator to aid debugging. 1079 1080 January 12, 2015 G.Cosmo (global-V10-01-01) 1081 - Define G4THREADSLEEP(tick) macro in G4Threading.hh. 1082 1083 December 10, 2014 G.Cosmo (global-V10-01-00) 1084 - Define support for c++11 thread_local keyword on Intel-icc compiler 1085 version 15. 1086 1087 November 18, 2014 G.Cosmo (global-V10-00-44) 1088 - G4FPEDetection.hh: added call to 'sigfillset' to clear any signals 1089 before any use of sigset_t in InvalidOperationDetection() for both 1090 MacOS and Linux, as suggested in specifications. 1091 1092 November 17, 2014 M.Kelsey 1093 - G4FPEDetection.hh: restrict FPE trapping to GCC only, excluding CLang. 1094 Addresses problem with Qt generating an apparent FPE deep inside its 1095 code with MacOSX CLang builds. 1096 1097 November 7, 2014 G.Cosmo (global-V10-00-43/42) 1098 - Coherent use of 'thread_local' keyword for c++11, when supported. 1099 - Updated dates and tag-ID for release 10.1. 1100 1101 November 6, 2014 V.Ivantchenko 1102 - G4StatDouble: corrected use 'const' interface for Add() method. 1103 1104 November 5, 2014 A.Dotti (global-V10-00-41) 1105 - Added missing G4GLOB_DLL specification for DLL import/export to 1106 G4CacheDetails specialization of cache reference for double. 1107 1108 October 24, 2014 J.Apostolakis, A.Dotti (global-V10-00-39,-40) 1109 - Adding template class G4TWorkspacePool. 1110 1111 October 24, 2014 A.Dotti (global-V10-00-38) 1112 - Introduced G4Threading enum to hold thread IDs constants. 1113 - G4MTcoutDestination now supports special non-worker threads for 1114 which the ID makes no sense. 1115 1116 October 16, 2014 A.Dotti (global-V10-00-37) 1117 - Fixed G4ThreadLocalSingleton destructor. 1118 1119 October 16, 2014 A.Dotti (global-V10-00-36) 1120 - Introduced G4MUTEXDESTROY macro. 1121 1122 October 9, 2014 A.Dotti (global-V10-00-35) 1123 - Adding methods G4MTcoutDestination::GetPrefixString() and 1124 G4MTcoutDestination::GetFullPrefixString() that return the 1125 thread cout identification prefix respectively without and 1126 with thread ID. Requested by visualization. 1127 1128 September 23, 2014 G.Cosmo (global-V10-00-34) 1129 - Use G4Exp, G4Log and G4Pow to speedup G4JTPolynomialSolver. 1130 - Updated dates and tag-ID. 1131 1132 August 29, 2014 A.Dotti (global-V10-00-33) 1133 - Coverity fix #58649. 1134 1135 August 19, 2014 M.Asai (global-V10-00-32) 1136 - Recover G4PhysicsModelCatalog::Destroy() that has slipped out 1137 from previous tag. 1138 1139 August 19, 2014 K.Genser (global-V10-00-31) 1140 - G4PhysicsModelCatalog: made it more const; hide operator= and copy c'tor. 1141 Co-works with tag "track-V10-00-04" 1142 1143 August 5, 2014 V.Ivanchenko (global-V10-00-30) 1144 - G4PhysicsModelCatalog: make destructor public in order delete the class 1145 at exit. 1146 - G4Pow: fixed destruction. 1147 1148 August 5, 2014 V.Ivanchenko (global-V10-00-29) 1149 - G4Pow: make destructor public in order delete the class at exit. 1150 1151 July 21, 2014 V.Ivanchenko (global-V10-00-28) 1152 - G4PhysicsVector: removed G4Allocator. 1153 - G4PhysicsModelCatalog: added destruction of catalog. 1154 1155 July 14, 2014 G.Cosmo (global-V10-00-27) 1156 - Added symbol to exclusion list in windefs.h. 1157 1158 July 1, 2014 A.Dotti (global-V10-00-26) 1159 - Added std::flush to receiving of G4MTcoutDestination. 1160 Addressing problem report #1644. 1161 1162 June 13, 2014 A.Dotti (global-V10-00-25) 1163 - Bug fix in G4Threading::IsMultiThreadedApplication function 1164 for sequential mode. 1165 1166 June 12, 2014 A.Dotti (global-V10-00-23,global-V10-00-24) 1167 - Added forward of cout and cerr in MT to master G4coutDestination 1168 if setup in client derived classes. To be used by special 1169 sessions (e.g. GUI) that want to intercept thread cout/cerr. 1170 1171 May 21, 2014 G.Cosmo (global-V10-00-22) 1172 - Correction in G4Exp::G4Expf() to remove 2nd order term contribution 1173 repeated twice by mistake. Correction included in VDT 0.3.7 library, 1174 kindly contributed by D.Piparo (CERN). 1175 1176 May 6, 2014 G.Cosmo (global-V10-00-21) 1177 - Temporarly set G4ThreadLocalStatic to "static __thread" in tls.hh for 1178 platforms supporting TLS (overcomes limitation in latest GCC compiler). 1179 - Updated version and date for development. 1180 1181 May 5, 2014 V.Ivantchenko (global-V10-00-20) 1182 - Moved G4PhysicsVector::Value(energy,idx) from inline back to source. 1183 - G4Physics2DVector::Retrieve(): added extra protection to fix 1184 Coverity reports in classes which are using 2-D vector. 1185 1186 April 24, 2014 G.Cosmo (global-V10-00-19, global-V10-00-18) 1187 - Added protection for clang on MT with c++11, as not yet supporting 1188 'thread_local' keyword on MacOS (!). Added protection in all G4MTRandom* 1189 classes. 1190 - More rationalisation of definitions in tls.hh. 1191 1192 April 24, 2014 G.Cosmo (global-V10-00-17) 1193 - Rationalised definitions in tls.hh and corrected use of 'thread_local' 1194 keyword to conform to Standard. 1195 1196 April 11, 2014 A.Dotti (global-V10-00-16) 1197 - New utility function G4Threading::IsMultithreadedApplication() 1198 and G4Threding::SetMultithreadedApplication(bool) used to 1199 specify which type of kernel is instantiated indipendently by 1200 build type (e.g. to distinghuish application migrated to MT or 1201 still using sequential run manager) 1202 1203 April 11, 2014 G.Cosmo (global-V10-00-15) 1204 - Move G4PhysicsVector::Value(energy,idx) to inline. 1205 1206 April 10, 2014 G.Cosmo (global-V10-00-14) 1207 - Get rid of deprecated 'register' storage class specifier in source files. 1208 1209 April 8, 2014 G.Cosmo (global-V10-00-13) 1210 - Define G4ThreadLocal to be std::thread_local in case C++11 standard is 1211 used (temporarly enabled only on GNUMake system for testing, through use 1212 of environment variable G4USE_STD11); directly adopt CLHEP classes in such 1213 a case instead of G4MT* wrappers. 1214 1215 March 27, 2014 G.Cosmo (global-V10-00-12) 1216 - Fixed signature for call to G4Exception in G4Threading.cc. 1217 1218 March 26, 2014 G.Cosmo (global-V10-00-11) 1219 - Minor refinements to G4Poisson, based on suggestions by K.Genser/FNAL. 1220 1221 March 26, 2014 G.Cosmo (global-V10-00-10) 1222 - Minor code cleanup. 1223 1224 March 25, 2014 A.Dotti (global-V10-00-08,global-V10-00-09) 1225 - Introduce G4SetPinAffinity function (available only for LINUX): 1226 "locks" a pthread to the given CPU index. This will be used by run 1227 category as an option to improve performance on high-core counts CPUs. 1228 1229 March 16, 2014 M.Asai (global-V10-00-07) 1230 - G4MTcoutDestination : by default ignores the printout during 1231 the initialization of each thread, as they are identical to 1232 each other and thus redundant. 1233 1234 March 13, 2014 G.Cosmo (global-V10-00-06) 1235 - Fix in G4SimplexDownhill header to proper define header guard. 1236 1237 February 7, 2014 V.Ivantchenko (global-V10-00-05) 1238 - G4Physics2DVector::Retrieve(): fixed Coverity report for "taited scalar". 1239 - Updated date and tag-ID for geant4-10-00-ref-02. 1240 1241 February 5, 2014 T.Koi (global-V10-00-04) 1242 - Added protections to avoid core dumps caused by division by zero 1243 and other minor updates in G4ConvergenceTester. 1244 1245 January 23, 2014 G.Cosmo (global-V10-00-03) 1246 - Protected __attribute__ calls in G4ios.cc from use in WIN32. 1247 1248 January 13, 2014 A. Dotti (global-V10-00-02) 1249 - Call G4iosInitialization/G4iosFinalization with functions marked 1250 __attribute__((destructor)) and __attribute__((destructor)) to 1251 guarantee G4cout/G4cerr are initialized correctly before main 1252 function 1253 1254 January 14, 2014 V.Ivantchenko (global-V10-00-01) 1255 - G4PhysicsVector: small performance optimisation; division by 6 substituted 1256 by multiplication of 1/6 constant. 1257 1258 December 17, 2013 G.Cosmo (global-V10-00-00) 1259 - Explicitly check the upper bound of 'numberOfYNodes' in 1260 G4Physics2DVector::Retrieve() (read from file), to fix defect 1261 reported by Coverity (L.Pandola). 1262 - Updated date and tag-ID for geant4-10-00-ref-01. 1263 1264 November 20, 2013 A.Dotti (global-V09-06-82) 1265 - Patched G4HepRandom to create default engine if G4Random::setTheSeed 1266 is called at beginning of job (allowed in SEQ). 1267 1268 November 20, 2013 G.Cosmo (global-V09-06-81) 1269 - Patched definition of G4MUTEXINIT() for Windows in G4Threading.hh 1270 to allow for compilation. 1271 1272 October 30, 2013 G.Cosmo (global-V09-06-80) 1273 - Moved G4Poisson to inline on suggestion by K.Genser. 1274 - Updated dates and tag-ID for release 10.0. 1275 1276 October 30, 2013 A.Dotti (global-V09-06-79) 1277 - Corrected compilation warning for non-used parameter in 1278 G4ThreadLocalSingleton class. 1279 - Fix for WIN32/VC9 compilation errors for G4Cache. 1280 1281 Octover 29, 2013 A.Dotti (global-V09-06-78) 1282 - Adding G4ThreadPrivateSingleton class for thread-private singleton 1283 handling and G4AutoDelete namespace with utility function for 1284 simplified garbage-collection: management/include/G4AutoDelete.hh 1285 management/include/G4ThreadLocalSingleton.hh. Two unit tests have 1286 been developed management/test/testAutoDelete.cc and 1287 management/test/testG4TLSSingleton.cc 1288 - Adding G4MUTEXINIT macro that expands to pthread_mutex_init 1289 1290 October 29, 2013 A.Dotti (global-V09-06-77) 1291 - Retagging, wrong commit previous tag 1292 1293 October 28, 2013 A.Dotti (global-V09-06-76) 1294 - Bug fixing in G4Cache::Put method signature 1295 1296 October 23, 2013 A.Dotti (global-V09-06-75) 1297 - Adding G4Cache classes for a thread-private data members in 1298 shared classes. 1299 1300 October 18, 2013 V.Ivantchenko (global-V09-06-74) 1301 - G4PhysicsVector - in the FindBinLocation method extra checks 1302 are added for Log and Lin vectors to avoid rare cases when bin 1303 is computed incorrectly due to limited numerical precision of 1304 computations (P.Arce report) 1305 1306 October 02, 2013 V.Ivantchenko (global-V09-06-73) 1307 - G4Pow - fixed typo in previous tag 1308 1309 October 02, 2013 V.Ivantchenko (global-V09-06-72) 1310 - G4Pow - is now static not G4ThreadLocal, added check that it is 1311 instantiated in the master thread 1312 - G4PhysicsVector - FindBinLocation is now inlined and not virtual, 1313 using table type different algorithms are invoked to compute bin 1314 number; use G4Log 1315 - G4PhysicsLogVector, G4PhysicsLinearVector, G4PhysicsOrderedFreeVector, 1316 G4LPhysicsFreeVector, G4PhysicsFreeVector, G4PhysicsLnVector - removed 1317 FindBinLocation methods 1318 - G4PhysicsLogVector - use G4Log and G4Exp instead of log10 1319 1320 October 1, 2013 T.Koi (global-V09-06-71) 1321 - Add data member of name to G4ConvergenceTester 1322 Tune format of output result 1323 1324 September 26, 2013 M.Asai (global-V09-06-70) 1325 - Fix a typo of class name in sources.cmake. 1326 1327 September 26, 2013 M.Asai (global-V09-06-69) 1328 - Introducing G4PhysicsModelCatalog class to be used my physics models 1329 and G4Track. 1330 1331 September 16, 2013 V.Ivantchenko (global-V09-06-68) 1332 - G4Pow: optimized logA() and logX() functions. 1333 1334 September 4, 2013 G.Cosmo (global-V09-06-67) 1335 - Added inclusion of <stdin.h> in G4Exp and G4Log headers. 1336 Make them matching to std::exp and std::log on Windows plaatform. 1337 - Use G4Log and G4Exp within G4Pow and G4Poisson. Expected slight 1338 performance boost; numerical results to be validated. 1339 1340 September 3, 2013 M.Asai (global-V09-06-66) 1341 - Introducing G4Threading::IsWorkerThread() method. It returns true when 1342 it is invoked in a worker thread, while it returns true for masther 1343 thread and for sequential mode. 1344 1345 September 3, 2013 G.Cosmo, V.Ivantchenko (global-V09-06-65, global-V09-06-64) 1346 - Added G4Log and G4Exp headers for fast log and exp; converted from 1347 the VDT library (http://svnweb.cern.ch/world/wsvn/vdt). 1348 1349 August 31, 2013 M.Asai (global-V09-06-63) 1350 - G4Threading::G4GetThreadId() returns -2 instead of 0 for the case 1351 of sequential mode. 1352 1353 August 26, 2013 A.Dotti(global-V09-06-62) 1354 - Add namespace G4Threading to functions defined in G4Threading.hh 1355 1356 August 26, 2013 A.Dotti(global-V09-06-61) 1357 - Correct MT defects identified by DRD: 1358 i. Protect G4MTcoutDestination 1359 ii. Correct check of already-locked condition for G4AutoLock 1360 iii. Protect creation of shared resource in G4MTHepRandom 1361 - Add performance test for RNG engines 1362 1363 August 15, 2013 M.Asai (global-V09-06-60) 1364 - G4MTcoutDestination now has a capabilitu of printing out only for 1365 the selected thread to make the display readable. 1366 1367 August 6, 2013 V.Ivantchenko (global-V09-06-59) 1368 - Fixed compillation 1369 August 6, 2013 V.Ivantchenko (global-V09-06-58) 1370 - G4PhysicsLogVector, G4PhysicsLnVector - more accurate check of 1371 bin inside FindBinLocation method to avoid non-reproducibility 1372 1373 July 24, 2013 V.Ivantchenko (global-V09-06-57) 1374 - G4StatDouble: new method add(G4StatDouble*) to be used in MT mode 1375 1376 July 16, 2013 G.Cosmo (global-V09-06-56) 1377 - Correction to CMake scripts for granular build. 1378 - Updated date and tag-ID in G4Version.hh. 1379 1380 July 3, 2013 A.Dotti (global-V09-06-55) 1381 - Previous tag was broken. 1382 1383 July 3, 2013 A.Dotti (global-V09-06-54) 1384 - Adding missing implementation of fucntion G4SetThreadId for sequential builds 1385 1386 July 3, 2013 V.Ivantchenko (global-V09-06-53) 1387 - G4PhysicsVector: added pointer to G4Pow in order to speedup 1388 bin location for logarithmic vectors (result are identical) 1389 - G4PhysicsLogVector - use in FindBinLocation G4Pow::log10A instead 1390 of std::log 1391 - G4PhysicsLnVector - use in FindBinLocation G4Pow::logX instead 1392 of std::log 1393 1394 July 1, 2013 V.Ivantchenko (global-V09-06-52) 1395 - G4PhysicsVector: make FindBin method public, added method 1396 FindLinearEnergy for sampling of energy for vectors 1397 with cumulative probability function 1398 - G4Physics2DVector: make FindBinLocationX and FindBinLocationY 1399 methods public, add method FindLinearX for sampling of energy 1400 for 2D cumulative probability functions, added new inlined 1401 method Value with different signature 1402 1403 June 26, 2013 G.Cosmo (global-V09-06-51) 1404 - Restore default precision in cout in G4AllocatorList. 1405 1406 June 24, 2013 G.Cosmo (global-V09-06-50) 1407 - Added tag ID specific for MT mode in G4Version.hh. 1408 1409 June 21, 2013 M.Asai (global-V09-06-49) 1410 - G4AllocatorList::Destroy() takes the verbosity. Also, due to the revised 1411 order of deletion of kernel classes, G4cout is available for this method 1412 for worker thread as well. 1413 1414 June 21, 2013 G.Cosmo (global-V09-06-48) 1415 - Refined printout of statistics in G4AllocatorList::Destroy(). 1416 1417 June 19, 2013 G.Cosmo (global-V09-06-47) 1418 - Protected printout of statistics in G4AllocatorList::Destroy() within 1419 G4VERBOSE and avoid it in MT-mode. 1420 1421 June 18, 2013 G.Cosmo (global-V09-06-46) 1422 - Made pure virtual utility methods in G4AllocatorBase, so statistics 1423 are accessible from allocator's base class pointer. 1424 - Corrected logic in G4AllocatorList::Destroy() to effectively delete 1425 allocated pools and release memory. 1426 Added statistics on pools and amount of memory released. 1427 1428 June 17, 2013 M.Asai (global-V09-06-45) 1429 - Split destructor and Destroy() method in G4AllocatorList. 1430 They should be invoked separately. Destroy() now may take 1431 an integer argument that is the number of static G4Allocator 1432 objects. Such static G4Allocator objects are not deleted. 1433 1434 June 17, 2013 G.Cosmo 1435 - Move virtual destructor of G4AllocatorBase to source, to avoid 1436 misalignments on deletion on exit through the base-class pointer. 1437 - Comment out deletion of allocators pointers for testing and reset 1438 storage. 1439 1440 June 17, 2013 G.Cosmo (global-V09-06-44) 1441 - Temporarly avoid resetting storage in G4AllocatorList::Destroy(). 1442 1443 June 16, 2013 M.Asai (global-V09-06-43) 1444 - Introducing G4AllocatorList class which stores pointers of all 1445 G4Allocator objects for each thread so that they all are cleanly 1446 deleted at the program termination. 1447 - Adding G4AllocatorBase base class to define virtual destructor 1448 and virtual method for G4Allocator. 1449 1450 June 15, 2013 V.Ivantchenko (global-V09-06-42) 1451 - G4PhysicsVector: added protection to avoid check energy value 1452 outside vector when bin location is performed/ 1453 1454 June 14, 2013 V.Ivantchenko (global-V09-06-41) 1455 - G4PhysicsVector: make class read-only in run time, access to 1456 value only via const methods; to enable Spline, SetSpline command 1457 should be applied after vector is filled, or equivalently 1458 direct call to fill second derivatives should be done. 1459 1460 June 14, 2013 G.Cosmo (global-V09-06-40) 1461 - Removed split mechanism from G4PhysicsVector; removed G4PhysicsVectorCache 1462 class; removed G4PVSplitter. Made G4PhysicsVector a read-only class. 1463 - Removed G4Physics2DVectorCache class, no longer used. 1464 - Updated tag-id in G4Version.hh to "1000". 1465 1466 June 12, 2013 G.Cosmo (global-V09-06-39) 1467 - Simplified implementation of new/delete operators for G4PhysicsVector 1468 and G4PhysicsVectorCache and avoid deletion of allocator global pointers 1469 in respective destructors. 1470 1471 June 7, 2013 G.Cosmo (global-V09-06-38) 1472 - Added call to clear() in G4PhysicsTable::clearAndDestroy(). 1473 - Added 'safe' inclusion of <windows.h> from G4Threading.hh, in new 1474 header windefs.hh. 1475 - Updated date and tag for 10.0-Beta. 1476 1477 June 5, 2013 G.Folger (global-V09-06-37) 1478 - In management/G4FPEDetection.hh add first version of stack backtrace 1479 when FPE exception is detected. Linux only. 1480 1481 May 29, 2013 G.Cosmo (global-V09-06-36) 1482 - Fix for allowing compilation on Windows in G4Threading: disable definition 1483 of min()/max() and 'pascal' from inclusion of <windows.h>. 1484 1485 May 29, 2013 G.Cosmo (global-V09-06-35) 1486 - Removed unnecessary thread-local specifications in G4GeometryTolerance 1487 singleton, as it is initialised and configured only once by master thread 1488 before the event loop. 1489 - Consistently use wrappers and typedefs from G4Threading for pthreads 1490 functions and types in G4MTHepRandom, G4PVSplitter and G4PhysicsVector, 1491 to allow for porting on Windows. 1492 1493 May 23, 2013 M.Asai (global-V09-06-34) 1494 - Replaced G4coutIdDestination class to G4MTcoutDestination class for cleaner 1495 handling of thread-local cout/cerr. 1496 1497 May 22, 2013 G.Cosmo (global-V09-06-33) 1498 - Fix in G4Threading for sequential mode in definition of G4GetNumberOfCores(). 1499 - Some code cleanup. 1500 1501 May 18, 2013 A.Dotti (global-V09-06-32) 1502 - Fix for sequentual compilation error introduced in latest tag. 1503 1504 May 17, 2013 A.Dotti (global-V09-06-31) 1505 - Adding new cout streaming for MT: on file and with header 1506 at each line (with optional buffering) 1507 - Adding G4GetNumberOfCores and G4GetThreadId global helper functions 1508 1509 May 16, 2013 V.Ivanchenko (global-V09-06-30) 1510 - G4Physics2DVector - removed cache; changed signature of 1511 several methods; all run time methods become const; 1512 the class become read only in run time 1513 1514 May 16, 2013 A.Dotti (global-V09-06-29) 1515 - Adding explicit creation of worker threads as "joinable" 1516 1517 May 14, 2013 G.Cosmo (global-V09-06-28) 1518 - Restored thread-local instance pointer in G4Pow... 1519 1520 May 13, 2013 M.Asai (global-V09-06-27) 1521 - Roll back G4Physics2DVector class to global-V09-06-24 to avoid 1522 G4Physics2DVectorCache thread-local. 1523 - G4Pow: removed G4ThreadLocal declaration. 1524 Fixed compilation warning from gcc-4.7 in logA() method. 1525 1526 May 11, 2013 M.Asai (global-V09-06-26) 1527 - Fixed Windows runtime error of the previous tag. 1528 1529 May 10, 2013 M.Asai (global-V09-06-25) 1530 - Make G4Physics2DVectorCache used in G4Physics2DVector class thread-local. 1531 1532 May 8, 2013 G.Cosmo (global-V09-06-24) 1533 - Improved accuracy for log10A() and powA() in G4Pow (V.Ivantchenko). 1534 - Get rid of thread-local specifications for constant variables and data 1535 in HEPNumerics module. 1536 1537 May 7, 2013 V.Ivanchenko (global-V09-06-23) 1538 - G4Pow: added new methods logX() and expA(); improved accuracy of 1539 logA() and A13(): now all these methods provide accuracy better than 0.1% 1540 for any value of argument. 1541 - Added post-const qualifier to all methods in G4Pow (G.Cosmo). 1542 1543 May 2, 2013 V.Ivanchenko (global-V09-06-22) 1544 - Fixed typo introduced in G4Pow in tag "06-20". 1545 1546 May 2, 2013 G.Cosmo (global-V09-06-21) 1547 - Updated tags in G4Version. 1548 1549 April 30, 2013 V.Ivanchenko (global-V09-06-20) 1550 - G4Pow: fixed bug in interpolation inside logA() and A13() methods, 1551 now interpolation is accurate at better than per mille level; in worse 1552 cases (x~1.45 or x~0.75) better than 2% level. 1553 1554 April 18, 2013 G.Cosmo (global-V09-06-19) 1555 - Moved 'tpmalloc' and 'memoryprotection' modules to source/externals. 1556 1557 April 9, 2013 A.Dotti (global-V09-06-18, global-V09-06-17) 1558 - Fix for compilation on Windows, bug introduced in latest tag 1559 for Conditions 1560 1561 April 9, 2013 A.Dotti (global-V09-06-16) 1562 - Adding typedef for new G4Condtion type (pthread_cond_t) and macros 1563 G4CONDITIONWAIT and G4CONDITIONBROADCAST 1564 1565 April 7, 2013 A.Dotti (global-V09-06-15) 1566 - Bug fixing: do not delete static data mamber theGenerator 1567 (only affects MT builds) 1568 1569 March 29, 2013 G.Cosmo (global-V09-06-14) 1570 - Code cleanup for HEPRandom module and new introduced MT classes. 1571 Added G4heprandom sub-library to the build system.i 1572 Moved G4Poisson to non-inline. 1573 1574 March 18, 2013 A.Dotti (global-V09-06-13) 1575 - Enable MT mode for MacOSX with gcc >= 4.7. 1576 - Corrected getpid() problem in G4Threading. 1577 - Fixed shadowing warning from G4Autolock (G.Cosmo). 1578 1579 March 12, 2013 G.Cosmo (global-V09-06-12, global-V09-06-11) 1580 - Added public accessors for MT data to G4PhysicsVector. 1581 1582 March 11, 2013 G.Cosmo (global-V09-06-10) 1583 - Further optimisation in G4ReferenceCountedHandle for the use of allocators. 1584 - Redefined G4DLL_API to G4GLOB_DLL to avoid cases of macro redefinition. 1585 1586 March 9, 2013 G.Cosmo (global-V09-06-09) 1587 - Take out G4Threading revision picked up from trunk, causing compilation 1588 errors on Linux and Windows. Restored version as in "global-V09-06-05". 1589 1590 March 8, 2013 G.Cosmo (global-V09-06-08) 1591 - Renamed MT macro to safer ID in G4PhysicsVector. 1592 1593 March 7, 2013 G.Cosmo (global-V09-06-07) 1594 - Renamed internal type name in G4PhysicsVector for MT split. 1595 1596 March 7, 2013 G.Cosmo (global-V09-06-06) 1597 - Renamed G4MTTransitoryPhysicsVector to G4PVSplitter and adopt export/import 1598 flag for static members to overcome problems on Windows DLLs build. 1599 - Cleanup of code for MT changes in G4PhysicsVector, G4ios and G4strstreambuf. 1600 - Moved G4MTTransitory and G4MTTransitoryParticle headers in geometry and 1601 particles categories respectively. 1602 - Simplified setup for import/export flags on Windows in G4Types.hh. 1603 Replacing G4DLLIMPORT/G4DLLEXPORT flags with G4DLL_API. 1604 1605 February 25, 2013 A.Dotti (global-V09-06-05) 1606 - Fixing naming clash with G4MT for G4cout variables. 1607 1608 February 25, 2013 A.Dotti (global-V09-06-04) 1609 - Fixed compilation warning and naming issue in G4AutoLock and G4Threading. 1610 1611 February 22, 2013 G.Cosmo (global-V09-06-03) 1612 - Removed unused private members in G4JTPolynomialSolver. 1613 1614 February 21, 2013 J.Madsen 1615 - Minor changes to G4ConvergenceTester: output can now optionally be 1616 redirected a different stream (defaults is cout). 1617 Accessors are made public and check if data has been added. 1618 1619 February 20, 2013 A.Dotti (global-V09-06-02) 1620 - Added new classes implementing platform independent threading 1621 G4AutoLock and G4Threading. Not yet activated. 1622 - Generalised flags for MacOS multi-threaded mode (G.Cosmo). 1623 1624 February 13, 2013 G.Cosmo (global-V09-06-01) 1625 - Withdrawn changes introduced in previous tag for G4UnitsTable. 1626 - Cleanup of MT code on kernel G4 classes. 1627 1628 February 08, 2013 J.Jacquemier (global-V09-06-00) 1629 - G4UnitsTable: Migrated to STL map, iterator and algorithm 1630 1631 January 14, 2013 A.Dotti, G.Cosmo 1632 - Merged changes for MT development. 1633 1634 November 16, 2012 V.Ivantchenko (global-V09-05-15) 1635 - G4Physics2DVector: fixed comments, more correct references. 1636 - Updated date for release 9.6. 1637 1638 November 5, 2012 M.Maire (global-V09-05-14) 1639 - Reverted change to G4UnitsTable for parsec unit definition, introduced 1640 in tag "global-V09-05-10". Back to use 'pc' to avoid formatting printout 1641 issues. 1642 1643 November 1, 2012 G.Cosmo (global-V09-05-13) 1644 - Added missing header in sources.cmake script for management module. 1645 1646 October 24, 2012 G.Cosmo (global-V09-05-12) 1647 - Use 'const G4String&' as arguments in G4coutdestination instead of 1648 plain string copy to reduce memory churn (K.Murakami). 1649 - Removed unnecessary string data member in G4PhysicsVector to reduce 1650 memory footprint. Removed related Get/SetComment() methods. 1651 - Co-works with tags: intercoms-V09-05-06 and interfaces-V09-05-29. 1652 1653 October 22, 2012 V.Ivantchenko (global-V09-05-11) 1654 - G4Physics2DVector: added bicubic interpolation option. 1655 No effect on results if option is not active. 1656 - G4PhysicsVector - fixed typo in comments. 1657 1658 October 18, 2012 G.Cosmo (global-V09-05-10) 1659 - Added header for thread local storage defines. 1660 - Replaced 'pc' with 'parsec' in G4UnitsTable unit definition. 1661 1662 October 9, 2012 G.Cosmo (global-V09-05-09) 1663 - Temporarily comment out inclusion of headers for system of units and 1664 physical constants in globals.hh. 1665 1666 August 8, 2012 G.Cosmo (global-V09-05-08) 1667 - Fixed more cases for explicitly use inclusion of headers for system of 1668 units and physical constants. 1669 1670 July 5, 2012 G.Cosmo (global-V09-05-07) 1671 - Implemented workaround to aid for templated symbols of 1672 G4ReferenceCountedHandle to be properly imported/exported 1673 for DLL build on Windows systems based on CMake (P.Mato). 1674 Addressing problem report #1329. 1675 1676 June 11, 2012 G.Cosmo (global-V09-05-06) 1677 - Explicitly use inclusion of headers for system of units and physical 1678 constants, in plan to remove implicit inclusion from globals.hh. 1679 1680 June 6, 2012 P.Gumplinger 1681 - Make sure that vectors are actually ordered in G4PhysicsOrderedFreeVector. 1682 1683 May 30, 2012 G.Cosmo (global-V09-05-05) 1684 - Fixed case of shadowed variable in G4Tokenizer header. 1685 1686 May 16, 2012 V.Ivantchenko (global-V09-05-04) 1687 - G4PhysicsVector: added GetMaxEnergy() inlined method; indicate inline 1688 methods in header file by explicitly adding inline keyword; added inline 1689 method Value() and private method ComputeValue() in order to have inline 1690 access to the value for the case of multiple calls with the the same 1691 energy value. 1692 1693 May 15, 2012 G.Cosmo (global-V09-05-03) 1694 - Fixed spurious cases of hidden variable visibility, detected with 1695 '-Wshadow' compilation option on gcc compiler. 1696 1697 April 23, 2012 G.Cosmo (global-V09-05-02) 1698 - Added call to BuildUnitsTable() from static accessor to guarantee proper 1699 initialization of units in static calls. 1700 Modified warnings in cout to be compliant with G4Exception syntax. 1701 1702 February 7, 2012 G.Cosmo (global-V09-05-01) 1703 - Corrected cases of variables never read in G4ConvergenceTester and 1704 G4DataInterpolation. 1705 1706 January 10, 2012 G.Cosmo (global-V09-05-00) 1707 - Added GetClockTime() function to G4Timer to print the actual clock time. 1708 - Fixed compilation errors in G4StatDouble for constness in signature of 1709 rms() methods. 1710 1711 November 24, 2011 J.Apostolakis 1712 - Introduced G4StatDouble class in HEPNumerics module, a class providing 1713 simple "one variable statistics" capability; adapted from the original 1714 code by G.Santin included in the GRAS tool. 1715 1716 November 19, 2011 V.Ivantchenko (global-V09-04-24) 1717 - G4Pow: reduced vector for factorial from 512 to 170 (result should be 1718 below DBL_MAX). Fixed computation of log(factorial). 1719 1720 November 17, 2011 G.Folger (global-V09-04-23) 1721 - Added G4lrint(), G4lint(), G4rint() as global utility functions in 1722 templates.hh for generic use. 1723 1724 November 15, 2011 G.Cosmo (global-V09-04-22) 1725 - Removed call to obsolete G4Exception signature in G4Timer and G4SliceTimer. 1726 - Added new line to G4Exception notification to properly flush buffer. 1727 1728 November 10, 2011 V.Ivantchenko (global-V09-04-21) 1729 - Fixed Coverity defects on G4Physics2DVector. 1730 1731 November 10, 2011 G.Cosmo (global-V09-04-20) 1732 - Updated banner for G4Exception and some cleanup. 1733 - Changed date for release 9.5. 1734 1735 October 20, 2011 M.Asai (global-V09-04-19) 1736 - Removing obsolete G4Exception from globals.hh and G4Exception.cc. 1737 1738 October 7, 2011 V.Ivantchenko (global-V09-04-18) 1739 - G4Physics2DVector, G4Physics2DVectorCache: new classes implementing 1740 a 2-dimensional vector with linear interpolation. 1741 1742 September 23, 2011 V.Ivantchenko (global-V09-04-17) 1743 - G4PhysicsLogVector, G4PhysicsLnVector, G4PhysicsLinearVector: updated 1744 to safer implementation of ScaleVector() method. 1745 1746 August 25, 2011 G.Cosmo (global-V09-04-16) 1747 - Added banner for errors and warnings in G4Exception. 1748 Redirect warnings to cout instead of cerr. 1749 1750 August 19, 2011 G.Cosmo (global-V09-04-15) 1751 - Use G4Allocator for allocation of G4PhysicsVector and G4PhysicsVectorCache 1752 objects. 1753 - Replaced G4IOS_ALLOC_EXPORT flag with G4GLOB_ALLOC_EXPORT. 1754 1755 August 16, 2011 H.Kurashige (global-V09-04-14) 1756 - Added 'dBin', 'baseBin' and 'verboseLevel' in the base class G4PhysicsVector 1757 to avoid additional properties data introduced in derived classes. 1758 - Fixed ScaleVector() method in G4PhysicsVector derived classes. 1759 1760 August 09, 2011 M.Asai (global-V09-04-13) 1761 - Fixed a spelling mistake in globals.hh and G4Exception.cc for 1762 G4ExceptionDesciption typedef. 1763 1764 July 28, 2011 M.Asai (global-V09-04-12) 1765 - Added two now G4Exception syntax. 1766 1767 July 12, 2011 G.Cosmo (global-V09-04-11) 1768 - Added missing post-const qualifier to G4String::compareTo() methods 1769 (M.Kelsey). 1770 - Updated date and version. 1771 1772 June 20, 2011 V.Ivanchenko (global-V09-04-10) 1773 - Added protection in G4Pow::powN() method for high exponent values. 1774 1775 June 15, 2011 B.Morgan (global-V09-04-09) 1776 - More fixes for CMake setup. 1777 1778 May 19, 2011 B.Morgan (global-v09-04-08) 1779 - CMakeLists.txt : Added G4IOS_ALLOC_EXPORT compiler definition via 1780 add_definitions so all submodules pick it up. 1781 1782 May 13, 2011 G.Cosmo (global-V09-04-07) 1783 - Fixed compilation warnings from gcc-4.6.0 for variables set but not used 1784 in G4AnalyticalPolSolver. 1785 1786 May 10, 2011 G.Cosmo (global-V09-04-06) 1787 - Cleared unused CLHEP headers included in Randomize.hh. 1788 1789 May 5, 2011 G.Cosmo (global-V09-04-05) 1790 - Added G4Evaluator typedef in G4Evaluator.hh header. 1791 1792 March 31, 2011 V.Ivantchenko 1793 - Fixed internal copy constructor in G4PhysicsVector. 1794 1795 Mar 25, 2011 G.Cosmo (global-V09-04-04) 1796 - Added more G4 types for random classes in Randomize.hh. 1797 - Use G4UniformRand() in G4Poisson. 1798 1799 Mar 25, 2011 G.Cosmo (global-V09-04-03) 1800 - Added G4Rep3x3 typedef to CLHEP::HepRep3x3 in G4RotationMatrix.hh. 1801 1802 Jan 26, 2011 G.Cosmo (global-V09-04-02) 1803 - Added trailing spaces to version string in G4Version.hh. 1804 1805 Jan 26, 2011 G.Cosmo (global-V09-04-01) 1806 - Manually added corrected tag strings in G4Version.hh, temporary solution 1807 for the no longer supported feature in SVN... 1808 1809 Jan 08, 2011 V.Ivantchenko (global-V09-04-00) 1810 - Extended length of internal arrays in G4Pow from 256 to 512. 1811 Allows to fix numerical problems observed in some ion/ion collision tests. 1812 1813 Dec 24, 2010 H.Kurasige 1814 - Use unsigned-int for table size type in G4PhysicsTable. 1815 Fixes a problem for data persistency. 1816 1817 Nov 24, 2010 G.Cosmo (global-V09-03-24) 1818 - Changed date for release 9.4. 1819 1820 Nov 09, 2010 T.Koi (global-V09-03-23) 1821 - G4ConvergenceTester: fixed error in calculation of SLOPE; 1822 fixed incorrect initialization of 'noTotal'. Modified some output 1823 1824 Nov 01, 2010 G.Cosmo (global-V09-03-22) 1825 - Fixed dummy initialisation in constructor for G4SimplexDownhill and 1826 G4ConvergenceTester classes. 1827 - Fixed cases of tainted scalar in G4DataVector, G4OrderedTable, 1828 G4PhysicsTable and G4PhysicsVector. 1829 1830 Oct 30, 2010 T.Koi (global-V09-03-21) 1831 - Fixed error in calculation of CPU time for each event in G4ConvergenceTester. 1832 1833 Oct 27, 2010 G.Cosmo (global-V09-03-20, global-V09-03-19) 1834 - Replaced G4IOS_EXPORT flag with G4IOS_ALLOC_EXPORT for DLL exported symbols. 1835 1836 Oct 15, 2010 G.Cosmo (global-V09-03-18) 1837 - Fixed compilation error on WIN32-VC for G4ConvergenceTester. Also, added 1838 explicit initialization of static data to constructor. 1839 1840 Oct 14, 2010 M.Kelsey (global-V09-03-17) 1841 - Modified FPE handler to get correct SIGINFO data for error messages. 1842 1843 Oct 12, 2010 G.Cosmo (global-V09-03-16) 1844 - Added class G4ConvergenceTester, moved from extended example N03Con, 1845 implementing a facility for estimating the quality of the simulation, 1846 by providing statistical information to assist in establishing valid 1847 confidence intervals for Monte Carlo results. 1848 1849 Oct 1, 2010 G.Cosmo (global-V09-03-15) 1850 - Fixed typo in destructor of G4StateManager. 1851 - Fixed type clash with input stream in G4PhysicsVector::Retrieve(), 1852 G4PhysicsTable::RetrievePhysicsTable(), G4OrderedTable::Store() 1853 and G4DataVector::Retrieve(). 1854 - Fixed potential case of memory leak in G4OrderedTable::Retrieve(). 1855 - Added dummy initialization of members in constructors for classes 1856 G4SliceTimer, G4ErrorPropagatorData, 1857 1858 Sep 18, 2010 V.Ivantchenko (global-V09-03-14) 1859 - Withdrawn latest change made to G4PhysicsVector::PutValue(), due to 1860 misunderstanding... 1861 1862 Sep 18, 2010 H.Kurashige (global-V09-03-13) 1863 - Fixed bug in G4PhysicsVector::PutValue() to correctly handle last bin 1864 when Energy=theEmax in getValue(). 1865 1866 Aug 23, 2010 V.Ivantchenko (global-V09-03-12) 1867 - Added methods logfactorial() and powN() to G4Pow class. 1868 1869 Aug 19, 2010 G.Cosmo (global-V09-03-11) 1870 - Correction to G4FPEDetection.hh to avoid compilation error on Linux. 1871 1872 Aug 09, 2010 M.Maire 1873 - G4UnitsTable: added new category "Solid angle". 1874 1875 Jul 16, 2010 G.Cosmo (global-V09-03-10) 1876 - Added INT_MAX and INT_MIN portability macros in templates.hh. 1877 1878 Jul 14, 2010 G.Cosmo (global-V09-03-09) 1879 - G4Allocator: implemented customizable pool size. 1880 - G4AllocatorPool: moved dummy copy constructor to private section. 1881 - Fixed cases of invalidated iterator in G4StateManager. 1882 - Fixed restoring of cout/cerr formatting in G4DataVector, G4PhysicsVector. 1883 - Added dummy initialization of members in constructors for classes 1884 G4JTPolynomialSolver, G4AllocatorPool, G4ErrorPropagatorData. 1885 - Added experimental code for MacOSX in G4FPEDetection.hh. 1886 1887 Jun 09, 2010 G.Cosmo (global-V09-03-08) 1888 - Changed date for release 9.4-beta. 1889 1890 May 29, 2010 V.Ivantchenko (global-V09-03-07) 1891 - More safe numerical computation of A13 and logA methods in G4Pow. 1892 1893 May 28, 2010 H.Kurasige 1894 - Restored G4PVDataVector vectors in G4PhysicsVector owned by value instead 1895 of pointers, as originally was before tag "global-V09-03-00". 1896 1897 May 05, 2010 G.Cosmo (global-V09-03-06) 1898 - Move interpolation methods to inline in G4PhysicsVector. 1899 - Some cleanup. 1900 1901 May 04, 2010 H.Kurashige (global-V09-03-05) 1902 - Introduced G4PhysicsVectorCache, placeholder for cache R/W data in use 1903 by G4PhysicsVector and derivates. 1904 Modified G4PhysicsVector and G4LPhysicsFreeVector accordingly. 1905 1906 Apr 06, 2010 G.Cosmo (global-V09-03-04) 1907 - Changed date for release 9.3.p01. 1908 1909 Mar 30, 2010 G.Cosmo (global-V09-03-03) 1910 - Moved 'mem' pool in G4Allocator to public section, to allow for use of 1911 allocator in vectors on Windows/C++. 1912 1913 Mar 23, 2010 V.Ivanchenko (global-V09-03-02) 1914 - G4PhysicsLogVector, G4PhysicsLnVector, G4PhysicsLinearVector: preserve 1915 values of 'edgeMin' and 'edgeMax' in constructors avoiding recomputation, 1916 to avoid precision problem; fixes problem detected on Windows/VC++. 1917 1918 Feb 01, 2010 G.Cosmo (global-V09-03-01) 1919 - Restored G4PVDataVector as typedef for optimisation; removed class files. 1920 1921 Dec 22, 2009 H.Kurashige (global-V09-03-00) 1922 - Modified G4PhysicsVector to use pointers to G4PVDataVector instead of 1923 holding it as static data. 1924 1925 Dec 07, 2009 L.Pandola, V.Ivanchenko (global-V09-02-12) 1926 - G4PhysicsVector: fixed initialisation of 'lastEnergy' to -DBL_MAX 1927 allowing to have negative scale of energy. 1928 1929 Nov 24, 2009 G.Cosmo (global-V09-02-11) 1930 - Changed date for release 9.3. 1931 1932 Nov 17, 2009 V.Ivanchenko (global-V09-02-10) 1933 - G4PhysicsVector: fixed Value() method for the case when energy is 1934 around 'edgeMax'; adding extra protection. 1935 1936 Nov 04, 2009 V.Ivanchenko (global-V09-02-09) 1937 - G4PhysicsVector: cleaned up initialisation of cached values; 1938 simplified Value() method, now not looking into previous bin; 1939 added method ScaleVector() needed for ICRU'73 data. 1940 1941 Oct 29, 2009 G.Cosmo (global-V09-02-08) 1942 - Cleared warning for unused argument in G4Allocator internal method. 1943 1944 Aug 07, 2009 G.Cosmo (global-V09-02-07) 1945 - Some improvements to G4String and G4SubString implementation of operators 1946 and comparison stub functions, to reduce generation of temporaries. 1947 - Removed obsolete static hash(s) method. 1948 1949 Jul 03, 2009 V.Ivanchenko (global-V09-02-06) 1950 - New class G4Pow, a singleton for fast computation of log() and pow() for 1951 integer and double arguments in the interval [1-256]. 1952 - G4PhysicsVector: 1953 o Added ComputeSecDerivative() and SplinePossible() methods as a 1954 computation of Spline coefficients for small number of bins. 1955 o Removed old obsolete hidden bin approach. 1956 o Use std::vector for second derivatives instead of C arrays. 1957 1958 May 26, 2009 A.Bagulya (global-V09-02-05) 1959 - G4PhysicsVector: do not change flag "useSpline" during initialisation 1960 to address bug in N02 reported by valgrind 1961 1962 May 26, 2009 A.Bagulya (global-V09-02-04) 1963 - G4PhysicsVector: set limits of number of bins for spline: 4 for the case 1964 of first derivatives defined; 5 for the case when "Not-a-Knot" algorithm 1965 is used. 1966 1967 May 15, 2009 P.Arce (global-V09-02-03) 1968 - Added G4ErrorStage enum to G4ErrorPropagatorData class. 1969 1970 May 13, 2009 A.Bagulya (global-V09-02-02) 1971 - G4PhysicsVector: added method ComputeSecondDerivatives() for the case when 1972 user provides first derivative at endpoits; use "Not-a-Knot" algorithm for 1973 the computation of second derivatives in default method 1974 FillSecondDerivatives(). 1975 - Changed date for release 9.3-beta. 1976 1977 Mar 16, 2009 G.Cosmo (global-V09-02-01) 1978 - Changed date for release 9.2.p01. 1979 1980 Jan 27, 2009 G.Cosmo (global-V09-02-00) 1981 - Correction in management/GNUmakefile to CPPFLAGS, adding G4RF_DEBUG in 1982 case enabled. 1983 1984 Dec 08, 2008 G.Cosmo (global-V09-01-18) 1985 - Added new constructor G4String(const char*, str_size). 1986 1987 Dec 02, 2008 G.Cosmo (global-V09-01-17) 1988 - Changed date for release 9.2. 1989 1990 Nov 07, 2008 P.Gumplinger (global-V09-01-16) 1991 - Removed unnecessary 'const' qualifier from G4PlaneVectorRand() function 1992 declaration. 1993 1994 Nov 07, 2008 G.Cosmo (global-V09-01-15) 1995 - Added header G4RandomTools.hh, implementing global utility methods for 1996 random Lambertian vector and random plane vector. Implementation derived 1997 from G4OpBoundaryProcess. 1998 1999 Oct 14, 2008 V.Ivantchenko (global-V09-01-14) 2000 - G4PhysicsVector: changed algorithm for computation of second derivatives, to 2001 guarantee continuity with first derivative; fixed second derivative at edges 2002 of the vector to be the same as in neighboring nodes. 2003 2004 Sep 22, 2008 G.Cosmo (global-V09-01-13) 2005 - Corrected initialisation of vectors to conform to definition in 2006 G4PhysicsVector, and added protections against empty vectors. (V.Ivantchenko) 2007 - Corrected definition of copy-constructor and operator=() in G4PhysicsVector 2008 and added corresponding definitions in derived classes, where needed. 2009 2010 Aug 15, 2008 G.Cosmo (global-V09-01-12) 2011 - Restored original implementation of G4SwapPtr() but using reference of 2012 pointers as arguments, allowing for unambiguous use from client code. 2013 2014 Aug 14, 2008 P.Gumplinger (global-V09-01-10, global-V09-01-11) 2015 - Corrected G4SwapPtr() function in templates.hh (see also problem 2016 report #1020). 2017 2018 Jun 26, 2008 G.Cosmo (global-V09-01-09) 2019 - Corrected version number tag. 2020 2021 Jun 23, 2008 G.Cosmo (global-V09-01-08) 2022 - Changed date for release 9.2-beta. 2023 2024 May 06, 2008 M.Maire (global-V09-01-07) 2025 - G4UnitsTable: added units for electric-field, V/m. 2026 2027 Apr 23, 2008 G.Cosmo (global-V09-01-06) 2028 - Changed date for release 9.1.p02. 2029 2030 Apr 21, 2008 V.Ivantchenko (global-V09-01-05) 2031 - Corrected deletion of temporary in G4PhysicsVector::FillSecondDerivatives(). 2032 2033 Apr 07, 2008 A.Bagulya, V.Ivantchenko (global-V09-01-04) 2034 - G4PhysicsVector: 2035 o Introduced cubic spline interpolation, optionally selectable. 2036 o Optimised implementation of GetValue() method. 2037 - G4LPhysicsFreeVector: corrected use of GetValue() to adopt implementation 2038 available from the base class. 2039 2040 Mar 19, 2008 V.Grichine (global-V09-01-03) 2041 - Modified G4RandomDirection global function to use unit radius sphere surface 2042 algorithm instead of 8-quadrants technique, giving 30% performance boost. 2043 2044 Mar 13, 2008 G.Cosmo (global-V09-01-02) 2045 - Introduced inclusion of <cstring> and <climits> in G4String.hh and 2046 templates.hh respectively for porting on gcc-4.3.0 compiler. 2047 - Cleared compilation warnings in G4DataInterpolation and G4JTPolynomialSolver 2048 on gcc-4.3.0 for ambiguous use of parentheses in condition statements. 2049 2050 Feb 15, 2008 G.Cosmo (global-V09-01-01) 2051 - Removed useless specification of units in implementation of 2052 G4GeometryTolerance::SetSurfaceTolerance(). 2053 2054 Jan 22, 2008 G.Cosmo (global-V09-01-00) 2055 - Changed date for release 9.1.p01. 2056 2057 Nov 20, 2007 G.Cosmo (global-V09-00-02) 2058 - Changed date for release 9.1. 2059 2060 Nov 13, 2007 G.Cosmo (global-V09-00-01) 2061 - Cleared compilation warnings for non-inlining and shadowing of variables. 2062 2063 Aug 21, 2007 G.Cosmo (global-V09-00-00) 2064 - Changed date for release 9.0.p01. 2065 2066 Jun 18, 2007 G.Cosmo (global-V08-03-07) 2067 - Force static initialisation to G4GeometryTolerance singleton, to overcome 2068 problems in startup on MacOS for the case of redundant link list of 2069 libraries. 2070 2071 Jun 05, 2007 G.Cosmo (global-V08-03-06) 2072 - Fixed compilation warnings on Intel icc compiler for useless const 2073 specification in return values of G4ErrorPropagatorData methods. 2074 2075 Jun 05, 2007 G.Cosmo (global-V08-03-05) 2076 - Define static methods not inline in G4ErrorPropagatorData class, to allow 2077 for generation of DLLs on Windows. 2078 2079 May 30, 2007 G.Cosmo (global-V08-03-04) 2080 - Changed date for release 9.0. 2081 2082 May 18, 2007 G.Cosmo (global-V08-03-03) 2083 - Removed kAngTolerance and kRadTolerance constants, now provided by the 2084 G4GeometryTolerance class. Values are still kept as the original set in 2085 geomdefs.hh and cannot be changed. 2086 2087 May 16, 2007 G.Cosmo (global-V08-03-02) 2088 - Introduced new utility class G4ErrorPropagatorData to provide access to 2089 mode, state, target and manager verbosity for the error propagation 2090 classes (by P.Arce). 2091 2092 May 13, 2007 V.Ivanchenko (global-V08-03-01) 2093 - Fixed bug in G4LPhysicsVector constructor: initialise vectors of 2094 length=nbin+1 (one bin is hidden for users). Addresses bug report #942. 2095 2096 May 11, 2007 G.Cosmo (global-V08-03-00) 2097 - Added G4GeometryTolerance singleton class for the definition of 2098 tunable geometrical tolerances. The Cartesian tolerance can either be set 2099 to a fixed value (kCarTolerance=1E-9 mm) or to a value computed on the basis 2100 of the maximum extent of the world volume assigned through the 2101 G4GeometryManager at the beginning of the application -before- any 2102 geometrical object is created. 2103 - Old static constant 'kCarTolerance' has been removed. 2104 - Added new class G4SimplexDownhill in HEPNumerics module: a Simplex method 2105 for function minimization. 2106 2107 Apr 25, 2007 G.Cosmo (global-V08-02-02) 2108 - Changed date for release 8.3. 2109 2110 Feb 19, 2007 G.Cosmo (global-V08-02-01) 2111 - Changed date for public patch-01 to release 8.2. 2112 2113 Feb 09, 2007 G.Cosmo (global-V08-02-00) 2114 - Added G4TwoVector type, typef of CLHEP's Hep2Vector class. 2115 2116 Nov 30, 2006 G.Cosmo (global-V08-01-07) 2117 - Added ClearUnitsTable() method to G4UnitDefinition to allow for proper 2118 deallocation of units from the run-manager. 2119 2120 Nov 22, 2006 M.Asai (global-V08-01-06) 2121 - Fixed the incorrect behavior of G4StateManager, so that now it changes the 2122 state AFTER it asks to all the G4VStateDependent classes. 2123 2124 Nov 15, 2006 G.Cosmo (global-V08-01-05) 2125 - Added signal handler for debugging FPE signals and catching NaNs in 2126 applications. Works only on Linux with gcc compiler. 2127 Activated through the run-manager if "run" module is compiled with 2128 the flag G4FPE_DEBUG set in the environment. 2129 - Changed date for release 8.2. 2130 2131 Nov 02, 2006 G.Cosmo (global-V08-01-04) 2132 - Removed definitions of 'sysconf()', 'filetime2msec()' and 'times()' for 2133 WIN32 in G4SliceTimer. Symbols are already defined in G4Timer and 2134 included in the library. Fixes archiving warning on Windows. 2135 2136 Nov 02, 2006 G.Cosmo 2137 - Changed date for release 8.1.p02. 2138 2139 Oct 23, 2006 G.Cosmo (global-V08-01-03) 2140 - New class G4SliceTimer with implementation derived from G4Timer for the 2141 computation of slice time intervals (by M.Asai). 2142 2143 Sep 15, 2006 G.Cosmo (global-V08-01-02) 2144 - Corrected inclusion of CLHEP headers in wrapper files 2145 G4SystemOfUnits.hh and G4PhysicalConstants.hh 2146 2147 Aug 18, 2006 M.Maire (global-V08-01-01) 2148 - G4UnitsTable: removed mum; um should be used instead. 2149 2150 Jul 20, 2006 G.Cosmo (global-V08-01-00) 2151 - Changed date for release 8.1.p01. 2152 2153 Jun 13, 2006 V.Grichine 2154 - Extended unit test G4IntegratorTest in HEPNumerics. 2155 2156 May 03, 2006 G.Cosmo (global-V08-00-04) 2157 - Updated date for release 8.1 in G4Version.hh. 2158 2159 May 03, 2006 G.Cosmo (global-V08-00-03) 2160 - Clear entries in table in destructor of G4UnitDefinition. 2161 2162 May 03, 2006 G.Cosmo (global-V08-00-02) 2163 - Added G4VNotifier class, renamed from G4VStoreNotifier implemented inside 2164 the geometry module. The class is a simple abstract class allowing for 2165 implementation of user notifiers to be activated for example at 2166 registration/deregistration of objects in stores. 2167 2168 Feb 15, 2006 M.Maire (global-V08-00-01) 2169 - G4UnitsTable: added GeV/cm, MeV/cm, keV/cm, eV/cm (Energy/Length) 2170 g/cm2 ("Mass/Surface") and MeV*cm2/g ..etc.. ("Energy*Surface/Mass"). 2171 2172 Jan 30, 2006 M.Maire (global-V08-00-00) 2173 - G4UnitsTable.cc: added Symbol um for micrometer. 2174 2175 Dec 02, 2005 G.Cosmo (global-V07-01-06) 2176 - templates.hh: get rid of hard-coded numbers for DBL_MIN, FLT_MIN, DBL_DIG, 2177 DBL_MAX, FLT_DIG, FLT_MAX/MAXFLOAT. Use numeric_limits from <limits> instead. 2178 Fix necessary to allow for porting on VC++8 compiler. 2179 - Added unit test LimitsTest.cc. 2180 2181 Nov 28, 2005 G.Cosmo (global-V07-01-05) 2182 - Changed header file from version.hh to G4Version.hh. 2183 Coworks with tag "run-V07-01-08" 2184 - Fix in G4strstreambuf destructor to avoid double flushing of buffer. 2185 2186 Nov 09, 2005 G.Cosmo (global-V07-01-04) 2187 - Removed '#undef __DEPRECATED' statement in G4Types.hh for strstream 2188 deprecation by the gcc compiler. 2189 - Added forward declaration for __void__ type to be used for definition of 2190 fake default constructors for usage of direct object persistency. 2191 2192 Nov 04, 2005 G.Cosmo (global-V07-01-03) 2193 - Support for CLHEP-2.0.X series: 2194 o Introduced explicit usage of 'CLHEP::' and 'HepGeom::' namespaces for 2195 vector and geometry types. 2196 o Added wrapper headers for units and constants to allow for usage in the 2197 global namespace. Units and constants are NOT moved to the CLHEP namespace 2198 in this version. 2199 o Works with both 1.9.X and 2.0.X series of CLHEP. 2200 2201 Oct 26, 2005 K.Murakami (global-V07-01-02) 2202 - version.hh: modified for the release 8.0 2203 - G4strstreambuf: revised for migration to sstream 2204 2205 Oct 04, 2005 G.Cosmo (global-V07-01-01) 2206 - G4Allocator: initialise esplicitely data in copy-ctor. 2207 - G4AllocatorPool: added default dummy argument to ctor 2208 to allow for default-ctor 2209 2210 Sep 26, 2005 K.Murakami (global-V07-01-00) 2211 - Added version.hh header, including definitions for software versioning. 2212 2213 Aug 12, 2005 M.Maire 2214 - G4UnitsTable.cc: added Surface/Mass unit (cm2/g). 2215 2216 May 19, 2005 V.Grichine (global-V07-00-06) 2217 - Improved accuracy to G4AnalyticalPolSolver for quartic case. 2218 2219 May 17, 2005 V.Grichine (global-V07-00-05) 2220 - Added new class G4AnalyticalPolSolver in HEPNumerics module, implementing 2221 the CACM algorithm for solving analytically a polynomial equation up to 2222 the 4th order. 2223 2224 Apr 22, 2005 G.Cosmo (global-V07-00-04) 2225 - G4Types.hh: extend check for deprecated warning on <strstream> for 2226 major versions of gcc >= 3. 2227 2228 Mar 21, 2005 J.Allison (global-V07-00-03) 2229 - G4UnitsTable.hh/.cc: Added G4BestUnit::operator G4String. 2230 2231 Mar 18, 2005 G.Cosmo 2232 - Fixed compilation warnings on SUN-CC for G4JTPolynomialSolver. 2233 2234 Mar 15, 2005 G.Cosmo (global-V07-00-02) 2235 - Migrated calls to G4Exception in HEPNumerics to canonical signature. 2236 - Q/A cleanup to clear CodeWizard warnings and minor fixes. 2237 - Moved inline methods to .icc files. 2238 - Minor cosmetics. 2239 2240 Mar 01, 2005 G.Cosmo (global-V07-00-01) 2241 - Fixed compilation warnings on WIN32-VC for G4JTPolynomialSolver; 2242 removed unnecessary inclusion of <cfloat>. 2243 2244 Feb 14, 2005 G.Cosmo (global-V07-00-00) 2245 - Added polynom-solver class G4JTPolynomialSolver implementing the 2246 Jenkins-Traub algorithm for real polynomial root finding. To be 2247 used by the twisted-trap shape for precise computation of 2248 intersections. 2249 2250 Dec 02, 2004 G.Cosmo (global-V06-02-05) 2251 - Added inclusion of <cstddef> to G4Allocator.hh to make the header 2252 self-consistent. 2253 2254 Nov 12, 2004 G.Cosmo (global-V06-02-04) 2255 - Migrated code to use 'std' namespace for mathematical functions 2256 included from <cmath>. Removed explicit inclusion of CLHEP.h and 2257 therefore also implicit inclusions of system headers <math.h>, 2258 <stdlib.h> and <limits.h>. 2259 - Removed implicit inclusion of CLHEP's template function abs(), use 2260 now standard function std::abs() instead. 2261 2262 Nov 01, 2004 H.Kurasige (global-V06-02-03) 2263 - Code cleanup in G4PhysicsTable implementation. 2264 - Added push_back() method. 2265 2266 Oct 29, 2004 G.Cosmo (global-V06-02-02) 2267 - Added global function G4RandomDirection() providing a random 3-vector 2268 normalised in 4pi. 2269 - Cleared obsolete setup for min/max macros required for Windows/VC++6. 2270 2271 Oct 25, 2004 H.Kurashige (global-V06-02-01) 2272 - Added collection of flags and related methods in G4PhysicsTable. 2273 The collection of boolean values will be used by physics processes 2274 to flag if recomputation will be required or not. 2275 2276 Jul 1, 2004 G.Cosmo (global-V06-02-00) 2277 - Merge developments included in "global-V06-01-02" for the new 2278 G4Allocator implementation. 2279 2280 Jun 11, 2004 G.Cosmo (global-V06-01-02c) 2281 - Use global flag G4IOS_EXPORT to export extern symbols for DLLs. 2282 Modified granular GNUmakefiles and corrected G4ios.cc to the new scheme. 2283 - Does NOT include developments introduced in "global-V06-01-02". 2284 2285 Jun 9, 2004 G.Cosmo (global-V06-01-02b) 2286 - Adopt G4DLLIMPORT/G4DLLEXPORT technique to handle extern simbols for 2287 allowing support of DLLs on Windows. 2288 - Does NOT include developments introduced in "global-V06-01-02". 2289 2290 Jun 7, 2004 G.Cosmo (global-V06-01-02a) 2291 - Added support for building DLLs on Windows: 2292 o Added macros for importing symbols. 2293 o Migrated G4ios and G4strstreambuf. 2294 - Does NOT include developments introduced in "global-V06-01-02". 2295 2296 May 26, 2004 G.Cosmo (global-V06-01-02) 2297 - New implementation of the G4Allocator based on a pool of memory-chunks. 2298 The size of a single chunk is kept at 1Kb as for the old allocator. 2299 This implementation replaces the old G4Allocator based on pages and no 2300 longer portable on the new gcc-3.4.0 compiler. 2301 The new allocator also supports the standard interface required for STL 2302 containers, in case it will be used as alternative allocator instead of 2303 the default std::allocator. 2304 o New classes: G4AllocatorPool 2305 o Removed classes: G4AllocatorPage, G4AllocatorUnit. 2306 - Added unit test for allocation of std::vector collections. 2307 2308 May 14, 2004 G.Cosmo (global-V06-01-01) 2309 - G4Allocator: added utility methods for explicitely deallocate storage 2310 and print total allocated pages size: 2311 ResetStorage(), GetAllocatedSize(). 2312 - Added unit test for deallocation. 2313 2314 April 23, 2004 G.Cosmo (global-V06-01-00) 2315 - Fixed bug in HEPNumerics/G4DataInterpolation::PolynomInterpolation() 2316 for indexing in a for-loop. (V.Grichine) 2317 2318 March 15, 2004 G.Cosmo (global-V06-00-01) 2319 - Removed obsolete "includes" target in management/GNUmakefile. 2320 - Corrected comments in G4UserLimits.hh. 2321 2322 January 21, 2004 G.Cosmo (global-V06-00-00) 2323 - G4UnitsTable[.hh.cc]: corrected signatures to consider 2324 'const G4String&' wherever applicable. 2325 2326 November 24, 2003 G.Cosmo (global-V05-02-03) 2327 - G4UnitsTable.cc: fixed units initialisation and deletion of objects in 2328 constructors. 2329 2330 November 4, 2003 G.Cosmo (global-V05-02-02) 2331 - Added method ExistPhysicsTable() to G4PhysicsTable. (H.Kurasige) 2332 2333 October 31, 2003 M.Asai (global-V05-02-01) 2334 - Fixed uninitialized variable in G4StateManager and protect null pointer 2335 of G4VExceptionHandler used in G4Exception 2336 2337 June 17, 2003 G.Cosmo (global-V05-02-00) 2338 - Archived g4std wrappers. Removed definition of G4std in G4Types.hh. 2339 2340 June 6, 2003 G.Cosmo (global-V05-01-01) 2341 - Made g4std wrappers obsolete: 2342 o modified wrappers to include standard std headers 2343 o replaced all occurrences of G4std:: with std:: 2344 o replaced all occurrences of 2345 #include "g4std/XXX" 2346 with 2347 #include <XXX> 2348 o removed usage of G4USE_STD_NAMESPACE macro. 2349 2350 May 21, 2003 G.Cosmo (global-V05-01-00) 2351 - G4PhysicsVector.hh: moved copy costructor and assignment operator to 2352 public. Fixes problem report #486. 2353 2354 April 7, 2003 G.Cosmo (global-V05-00-05) 2355 - G4Allocator.hh: revert back latest change. Performance loss is not really 2356 relevant in a real simulation but not negligible in a specific unit test. 2357 - Added simple unit tests for G4Allocator and G4Timer. 2358 2359 April 1, 2003 G.Cosmo (global-V05-00-04) 2360 - G4Allocator.hh: test additional protection for NULL pointer in FreeSingle(). 2361 2362 March 27, 2003 G.Cosmo (global-V05-00-03) 2363 - Fixed compilation problem on WIN32-VC platform for G4strstreambuf. 2364 2365 March 25, 2003 G.Cosmo (global-V05-00-02) 2366 - Fixed trivial strict pedantic warnings in copy constructor for 2367 G4PhysicsTable and G4strstreambuf. Also for unused parameters in 2368 a couple of methods in G4String. 2369 - Removed unnecessary usage of GNU_GCC preprocessor flag in G4Allocator 2370 and G4strstreambuf. 2371 2372 February 05, 2003 G.Cosmo (global-V05-00-01) 2373 - Removed copies of SystemOfUnits.h and PhysicalConstants.h, now using 2374 directly headers from CLHEP: changed globals.hh and G4SIunits.hh. 2375 2376 January 22, 2003 G.Cosmo (global-V05-00-00) 2377 - global.hh: exclude definition of min/max for Windows .NET VC++ compiler. 2378 2379 December 6, 2002 G.Cosmo (global-V04-01-05) 2380 - G4Integrator.icc: fixed some uninitialised variables. 2381 - Fixed unit test for G4Integrator. 2382 2383 December 4, 2002 M.Asai (global-V04-01-03, global-V04-01-04) 2384 - Migration to new G4ApplicationState. 2385 2386 November 20, 2002 G.Cosmo (global-V04-01-02) 2387 - G4UnitsTable[.hh.cc]: made GetUnitsTable static method non inlined. 2388 - G4Integrator[.icc]: plugged minor memory leak. 2389 2390 August 19, 2002 M.Asai (global-V04-01-01) 2391 - Introducing a new G4Exception scheme. 2392 Added : G4VStateDependent.hh G4VStateDependent.cc G4ExceptionSeverity.hh 2393 Modified : G4Exception.cc G4StateManager.hh globals.hh 2394 2395 June 21, 2002 G.Cosmo (global-V04-01-00) 2396 - G4Allocator.hh: changed definition of page size to become data-member of 2397 G4Allocator. fPageSize is now computed according to the size of the object 2398 to be allocated. The default size is 1024 bytes for objects whose size is 2399 less than 512 bytes, 10 times the size of the object otherwise. 2400 To be benchmarked before put it in production. 2401 2402 May 30, 2002 G.Cosmo (global-V04-00-08) 2403 - G4DataVector.cc: initialise to zero values in collection for contructor 2404 taking capacity. 2405 2406 May 24, 2002 G.Cosmo (global-V04-00-07) 2407 - Introduced temporary modifications for porting on gcc-3.1 compiler: 2408 o g4std/strstream: deactivate gcc-3.1 specific __DEPRECATED flag. 2409 o G4strstreambuf.icc: correct patch for overflow() to be specific only to 2410 gcc-3.0.X versions of the compiler. Behavior now fixed in gcc-3.1. 2411 o G4llocator.hh: use pointer to member data to compute offset in FreeSingle(). 2412 for gcc-3.1 compiler. gcc-3.1 complains and does not correctly handle offsets 2413 computed from non-POD types. Pointers to member data should be used instead. 2414 This advanced C++ feature seems not to work on earlier versions of the same 2415 compiler or on other system configurations. 2416 - Cosmetics for Software Reference Manual on G4Allocator related headers. 2417 2418 May 15, 2002 G.Cosmo (global-V04-00-06) 2419 - G4UnitsTable.cc: fixed bug in operator<< to use the argument 'flux' 2420 instead of G4cout. 2421 - geomdefs.hh: added 'kUndefined' key to specify undefined EAxis. 2422 2423 April 19, 2002 G.Cosmo (global-V04-00-05) 2424 - Moved inline constructors/destructors to no-inline. 2425 Files: G4DataVector[.hh.cc], G4OrderedTable[.hh.cc]. 2426 2427 April 16, 2002 M.Asai (global-V04-00-04) 2428 - Give a bit more information to the user when G4Exception occurs. 2429 Affected files : G4Exception.cc G4StateManager.hh G4StateManager.cc 2430 2431 March 25, 2002 G.Cosmo (global-V04-00-03) 2432 - G4String[.hh.icc]: use G4std::string instead of internal type 'std_string' 2433 in signatures of public methods. 2434 2435 January 28, 2002 G.Cosmo (global-V04-00-02) 2436 - G4strstream.icc: temporary fix to G4strstream::overflow(int) for GNU gcc-3.0.X 2437 compilers, which require returning of character c in case of <CR>. 2438 2439 January 25, 2002 G.Cosmo (global-V04-00-01) 2440 - Removed unnecessary std wrappers for HP-aCC (coworks with config-V04-00-00). 2441 - Removed obsolete inline definitions in g4std/wrappers/DEC-cxx/cmath. 2442 2443 January 17, 2002 G.Cosmo (global-V04-00-00) 2444 - Replaced 'NULL' with '0' in G4Allocator.hh, G4strstreambuf.icc and G4Timer.cc. 2445 - G4strstreambuf.icc: plugged memory leak in destructor for buffer deletion 2446 and some cosmetics. 2447 2448 November 29, 2001 G.Cosmo (global-V03-02-07) 2449 - Fixed warnings on gcc-3.0.2 for G4DataVector.cc and G4PhysicsVector.cc. 2450 - Minor fixes to G4String[.hh.icc] for avoiding compilation warnings on 2451 WIN32-VC and gcc-3.0.2. 2452 2453 November 08, 2001 R.Chytracek (global-V03-02-06) 2454 - New optimised revision of G4ReferenceCountedHandle to reflect new design. 2455 Updated also unit test testReferenceCountedHandle.cc. 2456 2457 October 23, 2001 G.Cosmo (global-V03-02-05) 2458 - Merged changes in "global-V03-02-03" for removal of STLinterface module. 2459 2460 October 22, 2001 G.Cosmo (global-V03-02-04) 2461 - Note: this tag adds the following fearures to "global-V03-02-02" 2462 (removal of STLinterface is NOT included here!): 2463 o Introduced G4ReferenceCountedHandle templated class. 2464 o Added <deque> wrapper in include/g4std. 2465 2466 October 11, 2001 G.Cosmo (global-V03-02-03) 2467 - Removed STLinterface module: 2468 o renamed cstring[.h.icc] to G4String[.hh.icc] and placed 2469 in management/include. 2470 o renamed ctoken.h to G4Tokenizer.hh and placed in management/include. 2471 2472 September 17, 2001 H.Kurashige (global-V03-02-02) 2473 - Added Store/Retrieve method to G4DataVector. 2474 - Added Store/Retrieve method to G4OrderedTable. 2475 2476 July 18, 2001 M.Asai (global-V03-02-01) 2477 - Added a feature of suppressing program abortion due to G4Exception 2478 affected files : G4StateManager.hh G4StateManager.cc G4Exception.cc 2479 2480 July 16, 2001 G.Cosmo (global-V03-02-00) 2481 - Synchronised with CVS HEAD after inclusion liability disclaimer. 2482 2483 June 15, 2001 G.Cosmo (global-V03-01-02) 2484 - globals.hh: removed definition of cbrt() to allow ANSI compilation on 2485 Linux-g++ architecture with new compiler gcc-2.95-2. 2486 2487 June 06, 2001 G.Cosmo (global-V03-01-01) 2488 - G4DataVector: added constructor with argument for initialise values in 2489 collection. 2490 2491 May 30, 2001 G.Cosmo (global-V03-01-00) 2492 - Defined 'str_size' as G4std::string::size_type and replaced usage of 'size_t' 2493 in G4String and G4SubString. Fixes problem report #40. 2494 2495 April 05, 2001 G.Cosmo (global-V03-00-11) 2496 - Added patch to management/GNUmakefile for allowing compilation of G4UnitsTable.cc 2497 on SUN-CC5 (CC 5.2 Patch 109508-02), removing optimisation. 2498 2499 April 03, 2001 G.Cosmo (global-V03-00-10) 2500 - Fixed minor bug in constructor of G4PhysicsLinearVector, G4PhysicsLnVector 2501 and G4PhysicsLogVector (H.Kurasige). 2502 2503 April 02, 2001 G.Cosmo (global-V03-00-09) 2504 - G4UnitsTable.cc: resolved ambiguity of old/new style iostream for 2505 formatting in G4UnitsTable::operator<<. 2506 - Fix for compilation on WIN32-VC: added typedef to base collection G4PhysCollection 2507 in G4PhysicsTable. 2508 2509 March 09, 2001 G.Cosmo (global-V03-00-08) 2510 - Tyde up comments. 2511 - Added patch to G4PhysicsTable::Store/Retrieve methods for non-ISO setup 2512 where 'binary' streams are not implemented. Binary mode is allowed only 2513 with ISO setup (native-STL). 2514 - Removed 'virtual' specifier from Retrieve (...) methods in G4PhysicsVector 2515 derived classes. 2516 - Fixed bug in constructor of G4PhysicsLnVector: 2517 added initialisation of 'dataVector' to zero (H.Kurasige). 2518 2519 March 09, 2001 H.Kurasige 2520 - Added Store/RetrievePhysicsTable methods (G4PhysicsTable). 2521 - Added Store/Retrieve and GetType methods (G4PhysicsVector and related). 2522 - Introduced G4PhysicsVectorType class (enumeration). 2523 - Added unit test PhysicsTableTest.cc. 2524 2525 March 06, 2001 G.Cosmo (global-V03-00-07) 2526 - Completed migration to STL vector for all classes in "global/management" 2527 o Migrated G4UnitsTable 2528 o Migrated G4StateManager 2529 2530 March 05, 2001 G.Cosmo (global-V03-00-06) 2531 - Added new unit 'parsec' to SystemOfUnits.h (M.Maire). 2532 - Updated G4UnitsTable unit test (M.Maire). 2533 - Removed file G4UnitsTest.hh now replaced by G4SIunits.hh. 2534 2535 February 24, 2001 G.Cosmo (global-V03-00-05) 2536 - Implemented migration to STL vectors for G4PhysicsTable (H.Kurasige). 2537 Added class description and comments for Software Reference Manual. 2538 2539 February 05, 2001 H.Kurasige (global-V03-00-04) 2540 - Added default constructors to G4DataVector and G4OrderedTable. Removed 2541 default size. 2542 2543 February 01, 2001 G.Cosmo, H.Kurasige (global-V03-00-03) 2544 - Migration to STL vectors for G4OrderedTable and G4DataVector. In 2545 G4OrderedTable, G4ValVector type has been removed and is now replaced 2546 with G4DataVector. 2547 - Removed from G4PhysicsVector dependency over G4PhysicsTable. 2548 Removed methods: LinkPhysicsTable(), IsLinkedTableExist() and 2549 GetNextTable(). Removed data-member ptrNextTable. 2550 Updated all related subclasses. 2551 - Updated unit tests in management/test. 2552 2553 January 29, 2001 G.Cosmo (global-V03-00-02) 2554 - Added generic class G4PolynomialSolver in HEPNumerics module, extracting 2555 logic from class G4Torus in geometry/solids/CSG. 2556 2557 January 16, 2001 G.Cosmo (global-V03-00-01) 2558 - Minor fixes to last migration in management classes 2559 tagged global-STLmigration-V02. 2560 2561 January 09, 2001 H.Kurashige 2562 - Full STL migration for G4PhysicsVector and related. 2563 2564 January 09, 2001 G.Cosmo (global-V03-00-00) 2565 - Fixed bug in destructor of G4Allocator (report #181): use "delete" 2566 instead of "free" for deleting a page allocated with "new". 2567 2568 December 13, 2000 G.Folger (global-V02-00-06) 2569 - Added GNUmakefile to HEPRandom to handle "includes" gmake target. 2570 2571 November 20, 2000 G.Cosmo (global-V02-00-05) 2572 - QA code cleanup and fixes to remove warnings from 2573 "-Wall -ansi -pedantic" g++ compiler options: 2574 o added/fixed declaration/implementation of private copy constructor 2575 and assignment operator where needed. 2576 o commented out variables declared and not used. 2577 o fixed declaration of variables used before being initialised. 2578 o fixed order of initialisation of member data in constructors. 2579 o fixed usage of unsigned-int (size_t) for array indeces. 2580 o G4strstreambuf: created .icc file and moved implementation of 2581 inlined functions therein. 2582 2583 November 3, 2000 G.Folger (global-V02-00-04) 2584 - Added rules for "includes" target to GNUmakefile and management/GNUmakefile. 2585 Added GNUmakefile in STLInterface for the "include" target. 2586 2587 November 1, 2000 G.Cosmo (global-V02-00-03) 2588 - Moved geometry constants kHistoryMax, kHistoryStride and 2589 kNavigatorVoxelStackMax to geomdefs.hh. 2590 2591 August 22, 2000 H.P.Wellisch 2592 - Added <list> wrapper in management/g4std. 2593 2594 August 02, 2000 G.Cosmo (global-V02-00-02) 2595 - Added <queue> wrapper in management/g4std. 2596 - Added inclusion of new CLHEP random distributions in 2597 HEPRandom/include/Randomize.hh pending update of Randomize.h in CLHEP. 2598 2599 July 22, 2000 M.Asai (global-V02-00-01) 2600 - Move G4VStateDependent and G4StateManager classes into global/management 2601 from intercoms. 2602 - "Abort" state is added to G4ApplicationState. 2603 - Modify G4Exception to change Geant4 status to "Abort". 2604 - Fix a bug of "double deleting" in the destructor of G4StateManager. 2605 2606 July 21, 2000 G.Cosmo (global-V02-00-00) 2607 - STLInterface/cstring.icc: extended buffer for G4String::readLine from 2608 256 to 1024 characters. 2609 2610 June 26, 2000 G.Cosmo (global-V01-01-05) 2611 - Fixes for problem report #104, STLInterface: 2612 o defs.h: defined G4RWTHROW(a) to abort() in case G4NO_STD_EXCEPTIONS 2613 is set. 2614 o tpsrtvec.icc, tvordvec.icc: corrected implementation of last() in case 2615 of call to G4RWTHROW(a). 2616 o cstring.icc: defined function G4String::strcasecompare(a,b) which will 2617 NOT invoke the non-ANSI function strcasecmp(a,b) when G4USE_STD_NAMESPACE 2618 is set. 2619 - STLInterface/defs.h: fixed memory leaks in destruction of 'str' in 2620 destructors and copy-constructors of G4RWGeneralException and G4RWBoundsErr. 2621 - G4Timer.cc: added definition of 'vfork' for IRIX6_2 (requested by FNAL 2622 in report #104). 2623 2624 June 15, 2000 G.Cosmo (global-V01-01-04) 2625 - Introduced fixes to g4std/complex for ISO and non-ISO compliance. 2626 Defined G4complex type as complex type of doubles. 2627 - Changed implementation of G4Integrator to a template class, to allow 2628 porting on Solaris CC compiler which does not implement templated member 2629 functions. 2630 2631 May 25, 2000 J.Allison (global-V01-01-03) 2632 - Added new G4UnitDefinition("kg/m3",...) to G4UnitsTable.cc. 2633 2634 March 23, 2000 G.Cosmo (global-V01-01-02) 2635 - Added class G4PhysicsLnVector[.hh.cc] implementing a physics vector 2636 with natural logarithmic scale for energy/momentum bins. (M.G.Pia) 2637 2638 March 21, 2000 G.Cosmo (global-V01-01-01) 2639 - STLInterface: forced initialization of vectors' members also for 2640 ordered/sorted collections. Even when using the access operator 2641 vector::operator[] as left-hand operand, it requires the vector 2642 to be not empty. Removed usage of vector::reserve(capacity). 2643 2644 March 11, 2000 G.Cosmo (global-V01-01-00) 2645 - STLInterface: implemented correct behavior for vectors' default constructors, 2646 as expected by the RW interface. 2647 o for pointer/value ordered/sorted collections, an EMPTY STL vector is 2648 created and the vector capacity is set to G4RWDEFAULT_CAPACITY 2649 using vector::reserve(capacity). No element initialisation is done. 2650 o for pointer/value simple collections, a default constructor creating 2651 an EMPTY STL vector is implemented; the constructor taking the capacity 2652 as argument, creates an STL vector of the given capacity and explicitly 2653 initialises its elements. NB: pointers are initialised to zero. 2654 - Added "g4std/complex" wrapper file (V.Grichine) 2655 2656 February 16, 2000 H.Kurashige (global-V01-00-04) 2657 - G4UserLimits[.hh.icc]: added identifier for a concrete instance of the 2658 class. Added new member fType (G4String), SetType/GetType methods and 2659 new constructor. 2660 2661 February 08, 2000 G.Cosmo (global-V01-00-03) 2662 - STLInterface/cstring.icc: fixed yet another bug in G4String::toUpper() 2663 and G4String::toLower(). Loop over the string characters was causing 2664 bounds overflow. 2665 - tpvector[.h.icc]: added resize(size_t) method which was missing! 2666 2667 January 31, 2000 G.Cosmo (global-V01-00-02) 2668 - STLInterface: several fixes. 2669 o Fixed bug in G4String::toUpper(). 2670 (bug was introduced inadvertently on 20-Oct-1999). 2671 o Added checks for bound-overflows in G4RWTPtrSortedVector::find(). 2672 o Fixed bound-check for operators () and [] in most collections: 2673 () access operators DO NOT perform bound-checking (except if G4DEBUG set); 2674 [] access operators DO perform bound-checking. 2675 o tpvector[.h.icc]: changed 'unsigned int' to 'size_t' in constructors. 2676 Added 'rwsize' and bound-checking for operator[]. 2677 o tvvector.icc: added call to std_vector() in default constructor. 2678 o tpordvec.icc: added std_pvector:: scope for calls to [] operator, 2679 where missing. 2680 o tvordvec.icc: added std_vector:: scope for calls to [] operator, 2681 where missing. 2682 2683 January 19, 2000 G.Cosmo (global-V01-00-01) 2684 - G4UnitsTable[.hh.cc]: added constructor to G4BestUnit for 3vectors (M.Maire). 2685 - globals.hh: added check on definition of CLHEP_MAX_MIN_DEFINED. 2686 2687 January 3, 2000 G.Cosmo (global-V01-00-00) 2688 - Syncronized changes with HEAD (mainly CVS headers). 2689 - Fixed truncation problem in G4Poisson.hh. 2690 - Removed tphdict_test.cc and tvhdict_test.cc in STLInterface/test. 2691 - Added wrapper for HP-aCC for missing <fstream> standard header. 2692 - Removed G4USE_STL from globals.hh and G4Timer[.hh.cc]. 2693 2694 November 29, 99 G.Cosmo (global-V00-01-14) 2695 - Removed g4std/string wrapper since not anymore needed. 2696 It was previously made available only for Win/NT-VC++. 2697 Inclusion of system <string> is handled only in g4rw/cstring where 2698 G4String is defined. 2699 2700 November 26, 99 G.Cosmo (global-V00-01-13) 2701 - STLInterface: backed up inline keyword for simple methods in 2702 vectors' classes (test comparison with previous tag). 2703 - Reorganised cstring[.h.icc], no functional changes. 2704 2705 November 25, 99 G.Cosmo (global-V00-01-12) 2706 - STLInterface: changes for ISO/ANSI C++ support: 2707 o Reorganised method definitions on wrapper classes; made templated 2708 vectors' methods all not inlined (test). Created .icc files accordingly. 2709 o Changed #define to typedef for std_string and protected in class 2710 scope. Introduced std_vector and std_pvector for collections, 2711 replaced G4std::vector<T> and G4std::vector<T*> accordingly. 2712 - Added default comment header to files in STLInterface and class 2713 descriptions for Software Reference Manual. 2714 2715 November 23, 99 G.Cosmo (global-V00-01-11) 2716 - Introduced changes to support ISO/ANSI code: 2717 o Modified STLInterface wrappers to invoke STL containers from G4std 2718 namespace. 2719 o Modified #include statements to invoke g4std wrappers. 2720 o Introduced G4endl and G4cin in G4ios.hh. Modified code accordingly. 2721 - Made destructors for vector wrappers collections in STLInterface virtual. 2722 - Added comments to G4UserLimits.hh for the Software Reference Manual 2723 (by M.Maire). 2724 2725 November 19, 99 G.Cosmo (global-V00-01-10) 2726 - Addition of comments for the Software Reference Manual (by M.Maire): 2727 G4UnitsTable.hh, G4UnitsTest.hh, PhysicalConstants.h, SystemOfUnits.h. 2728 2729 November 16, 99 G.Cosmo (global-V00-01-09) 2730 - STLInterface: removed wrappers for Dictionaries. 2731 Removed files: tvhdict.h, tphdict.h, rwstlhash.h. 2732 Removed also hash_map wrappers for every system. 2733 - Removed temporary 'using' statements in g4std wrappers. 2734 - Reorganised inline function definitions in management/include: 2735 added G4PhysicsVector.icc, G4LPhysicsFreeVector.icc and 2736 G4PhysicsOrderedFreeVector.icc. 2737 - Fixed bug G4PhysicsVector. Initialised data members in default constructor. 2738 - Removed 'RD44' from header description in every file. 2739 - Modifications for Software Reference Manual for existing class descriptions. 2740 2741 November 15, 99 G.Cosmo (global-V00-01-08) 2742 - Fixes for keywords which did not migrate by mistake in the conversion 2743 of the HEAD. Namely: RWDEFAULT_CAPACITY, RWBoundsErr, RWGeneralException, 2744 RWTHROW, RW2STL_LessPtr and in some cases RWCString. 2745 2746 November 11, 99 G.Cosmo (global-V00-01-07) 2747 - Migration RWT->G4RWT performed: 2748 o Moved STLInterface wrapper classes to STLinterface/g4rw. 2749 o Renamed RWCString to G4String and removed related typedef. 2750 o Removed RW_NPOS from defs.h and renamed other RW types/constants 2751 according to the migration. 2752 2753 November 10, 99 G.Cosmo (global-V00-01-06) 2754 - Temporarly redefined RW_NPOS in STLInterface/rw/defs.h. 2755 Will be removed in the RWT->G4RWT migration and replaced with 2756 G4std::string::npos directly in the code. 2757 2758 November 09, 99 G.Cosmo (global-V00-01-05) 2759 - Added new signature HashDefault(const unsigned long&) in STLInterface 2760 rw/rwstlhash.h. 2761 2762 October 28, 99 G.Cosmo (global-V00-01-04) 2763 - Removed G4STREAM implementation from G4ios and G4strstreambuf, no longer 2764 needed. Incremented buffer size to 4096 chars. (by H.Yoshida) 2765 2766 October 22, 99 G.Cosmo (global-V00-01-03) 2767 - Added first implementation of wrapper files for ISO-ANSI migration: 2768 added new directory management/include/g4std. 2769 - Added definition of G4std keyword in G4Types.hh. 2770 2771 October 20, 99 G.Cosmo (global-V00-01-02) 2772 - Tagged. 2773 2774 October 20, 99 J.Allison 2775 - STLInterface: cstring.h: changed (*this)[i] to std_string::operator[](i). 2776 - STLInterface: removed G4USE_EXPLICIT_TYPES_IN_TEMPLATES; introduced 2777 typename keyword where needed for HP aCC. Files modified: 2778 cstring.h, tpordvec.h, tpsrtvec.h, tpvector.h, tvhdict.h, tvordvec.h 2779 and tvvector.h. 2780 2781 October 6, 99 G.Cosmo (global-V00-01-01) 2782 - STLInterface: Changed tolower/toupper to old implementation in cstring.h 2783 (by F.Behner) 2784 2785 September 14, 99 G.Cosmo 2786 - STLInterface: renamed classes HashPtr and Hash to G4HashPtr and G4Hash in 2787 tphdict and tvhdict to make them compliant with G4 coding standards and 2788 avoid clashes with external software in global scope. 2789 - STLInterface: removed useless tests over size_t < 0 in files tvordvec.h, 2790 tvvector.h, tpsrtvec.h and tpordvec.h. 2791 - STLInterface: casted pointers to long in rwstlhash.h instead of unsigned. 2792 2793 September 13, 99 V.Grichine 2794 - Added new class G4Integrator (.hh/.icc) and test file 2795 G4IntegratorTest.cc in HEPNumerics for integration of generic 2796 functions. 2797 2798 September 10, 99 G.Cosmo 2799 - Added inline keyword to G4Poisson function in HEPRandom/include 2800 which was missing. 2801 2802 August 24, 99 J.Allison (global-V00-01-00) 2803 - Initialised pointer in first constructor of G4DataInterpolation. 2804 - Included STLInterface-V00-01-00. 2805 2806 June 21, 99 J.Allison (global-01-00-05) 2807 - Changed G4Exception to abort, i.e., produce core dump. 2808 - Includes STLInterface-18. 2809 2810 May 24, 99 G.Cosmo (global-01-00-04) 2811 - globals.hh: removed inclusion of G4Timer.hh, left only G4Types.hh. 2812 The attempted solution does not work in situation where STL headers are pulled 2813 in before globals.hh. Several of this cases experienced on HP-aCC. 2814 - STLInterface/rw/tphdict.h: added find() method to retrieve a key. 2815 2816 May 24, 99 G.Cosmo (global-01-00-03) 2817 - G4Timer.hh: removed CPP cludge for the "times" clash in ObjectSpace. 2818 Removed direct inclusion of global.hh to decouple translation unit from 2819 RW/STL headers. (F.Benher) 2820 - Introduced G4Types.hh and replaced basic types definitions in globals.hh 2821 and G4Timer.hh. 2822 - Added inclusion of G4Timer.hh in globals.hh to get rid of clashes about the 2823 order of inclusion. G4Timer.hh must appear -before- STL's <algorithm>. 2824 2825 May 19, 99 G.Cosmo (global-01-00-02) 2826 - templates.hh: added definition of DBL_EPSILON and FLT_EPSILON. 2827 Added 'F' to single precision literal constants. 2828 - Updates to STLInterface wrappers from the STL task-force. Added 2829 AIX-xlC STL wrappers. 2830 2831 May 17, 99 J.Allison 2832 - Added #undef os_times in G4Timer.hh to avoid clash with ObjectSpace when 2833 using STLInterface on Sun. 2834 2835 May 14, 99 G.Cosmo (global-01-00-01) 2836 - Still updates to STLInterface from the STL task-force (internal tag considered 2837 is STLInterface-04). Introduced wrapper files differentiated for each architecture. 2838 2839 May 11, 99 G.Cosmo 2840 - Updates and fixes to STLInterface headers. Input mainly from DEC and HP. 2841 - Added G4Poisson.hh to HEPRandom/include. It includes the implementation 2842 of the global function "G4long G4Poisson(G4double)" which reproduces the 2843 GPOISS algorithm adopted in Geant3. Uses the CLHEP standard engines as 2844 basic random generators. 2845 2846 May 3, 99 G.Cosmo (global-01-00-00) 2847 - Updates to STL interface ISO/ANSI headers (F.Benher) 2848 - Added G4Exception call with STL strings in globals.hh and G4Exception.cc (F.Benher) 2849 2850 April 29, 99 G.Cosmo 2851 - Moved SystemOfUnits.SI.h to G4UnitsTest.hh in management/include. This file is 2852 used only for test purposes and will not be tagged for public versions. 2853 2854 March 30, 99 M.Maire 2855 - CodeWizard cleanup in G4UnitsTable. Fixed definition of operator=. 2856 2857 March 18, 99 J.Allison 2858 - globals.hh: Added #ifdef G4USE_STL, changed position of 2859 #include "g4rw/cstring.h". 2860 2861 December 17, 98 J.Allison (global-00-04-03) 2862 - Added first version of STL interface. 2863 2864 December 2, 98 M.Asai (global-00-04-02) 2865 - Remove the construction of G4UnitsMessenger in G4UnitsTable. This messenger is 2866 constructed/destructed by G4UImanager to avoid a loop dependency. 2867 2868 December 1, 98 G.Cosmo (global-00-04-01) 2869 - Removed G4Allocator.cc containing all template declarations for GNU-g++ 2870 compiler not supported anymore. 2871 - Removed g4templates.hh contining all template declarations for the old 2872 DEC cxx 5.X compiler not supported anymore. 2873 - Moved G4ParticleTypes.hh to particles/management/include to remove 2874 dependency over particles category. 2875 - Updated management/GNUmakefile: not anymore dependencies over external 2876 categories. Dependency over intercoms to be fixed still. 2877 2878 December 1, 98 M.Nagamatu, H Yoshida 2879 - G4ios.cc guarded by G4STREAM 2880 2881 November 27, 98 M.Asai 2882 - G4UnitsMessenger has been moved to intercoms category to avoid a loop dependency. 2883 2884 November 12, 98 K. Amako (global-00-03-05) 2885 - Corrected a bug in the GetVectorLength() method of 2886 management/src/G4PhysicsVector.cc. The fixed bug has nothing 2887 to do with the basic behavior of G4PhysicsVector. 2888 2889 November 11, 98 P.Gumplinger 2890 - Initialized all data members of the base class in G4PhysicsOrderedFreeVector 2891 constructors. 2892 2893 November 6, 98 J.Allison (global-00-03-04) 2894 - #ifdef WIN32 in G4strstreambuf.hh (Guy Barrand). 2895 2896 November 4, 98 G.Cosmo (global-00-03-03) 2897 - Added G4coutDestination.hh, G4strstreambuf.hh and G4ios.cc 2898 in global/management to resolve a circular dependency previously 2899 existing with intercoms category (H.Yoshida, M.Nagamatu). 2900 2901 October 21, 98 G.Cosmo (global-00-03-02) 2902 - Fixed initialization of G4UnitDefinition::UnitsMessenger in 2903 G4UnitesTable.cc. 2904 2905 October 17, 98 H.Kurasige 2906 - Modified G4FastVector.hh: 2907 new array is now created only if (items > N) in Initialize() method 2908 (in old version new array was created even when items are equal to N). 2909 2910 October 13, 98 M.Nagamatu (global-00-03-01) 2911 - Added extern ostream G4cout/G4cerr under G4STREAM control. 2912 2913 October 13, 98 M.Maire 2914 - Fixed length for printing the units. Add messenger file. 2915 2916 September 23, 98 G.Cosmo 2917 - Replaced definition of min/max/sqr/abs with inclusion of 2918 CLHEP/config/TemplateFunctions.h. Now compliant with CLHEP-1.3. 2919 - Replaced definition of G4UniformRand() with explicit call to the static 2920 engine of the generator. This obviates to a silly bug in the AIX compiler 2921 when treating static objects via -qtwolink option. 2922 2923 September 10, 98 G.Cosmo 2924 - Added #undef min/max/sqr/abs to prevent possible macros definition 2925 (temporary solution to allow backward compatibility with CLHEP-1.2). 2926 2927 September 1, 98 M.Maire 2928 - Changed Watt to watt in SystemOfUnits.h and G4UnitsTable.cc. 2929 2930 August 26, 98 J.Allison (global-00-02-02) 2931 - Introduced globals.hh for CLHEP-1.3 (backwards compatible with CLHEP-1.2): 2932 added definitions of template functions min/max/sqr/abs. 2933 2934 August 11, 98 G.Cosmo (global-00-02-01) 2935 - Modified SystemOfUnits.h and G4UnitsTable.cc (M.Maire): 2936 introduced - angstrom, microbarn, picobarn, petaelectronvolt. 2937 2938 July 17, 98 G.Cosmo (global-00-01-07) 2939 - Fixed bug in G4Timer introduced by methods renaming (G.Folger). 2940 2941 July 15, 98 Y.Morita (global-00-01-06) 2942 - G4ios.hh: Added following lines for ooddlx compiler on CERN AFS-AIX 2943 #if defined(OO_DDL_TRANSLATION) 2944 #include <stdlib.h> 2945 #endif 2946 2947 July 14, 98 G.Cosmo (global-00-01-05) 2948 - Modified key value for G4Allocator for porting on CC compiler. 2949 (H.Kurasige) 2950 2951 July 8, 98 G.Cosmo (global-00-01-04) 2952 - Removed forward declarations of G4RWTPtrOrderedVector<G4KineticTrack> 2953 and G4RWTPtrSortedVector<G4CollisionInitialState> from g4templates.hh. 2954 2955 July 7, 98 G.Cosmo (global-00-01-03) 2956 - Removed old unit symbols in globals.hh (M.Maire) 2957 - Added units for density in G4UnitsTable.cc (M.Maire) 2958 2959 July 6, 98 G.Cosmo (global-00-01-02) 2960 - Tagged. 2961 2962 July 3, 98 J.Allison 2963 - Added run/include to management/GNUmakefile for G4Allocator.cc ifdef GNU_GCC. 2964 - Added G4Allocator<G4HitsCollection> to G4Allocator.cc for GNU_GCC. 2965 2966 July 3, 98 G.Cosmo (global-00-01-01) 2967 - Moved template declarations of G4Allocator for GNU_GCC from 2968 g4templates.hh to G4Allocator.cc. 2969 - Tagged. 2970 2971 July 3, 98 J.Allison 2972 - Added G4Allocator<G4Run>,<G4HCofThisEvent>,<G4DCofThisEvent> for GNU_GCC. 2973 2974 July 2, 98 G.Cosmo (global-00-07-01) 2975 - Updated g4templates.hh. 2976 2977 June 26, 98 G.Cosmo (global-00-06-04) 2978 - Removed obsolete directory "benchmarks". 2979 2980 June 22, 98 G.Cosmo (global-00-06-03) 2981 - Tagged. 2982 2983 June 19, 98 J.Allison 2984 - In GNUmakefile.architecture, defined G4_SOLVE_TEMPLATES and GNU_GCC. 2985 - In g4templates.hh, protected G4Ray. 2986 2987 June 15, 98 G.Cosmo (global-00-06-02) 2988 - Modified G4UnitsTable, "SymbolName" instead of "Symbol" (M.Asai). 2989 - Added few template declarations to g4templates.hh for DEC-AFS. 2990 2991 June 10, 98 G.Cosmo (global-00-06-01) 2992 - Added forward declarations in g4templates.hh for BREPS classes 2993 which were removed by mistake in a committal by M.Maire. 2994 2995 June 10, 98 P.Urban 2996 - Added G4VERBOSE symbol to the compilation command line. 2997 2998 June 08, 98 H.Kurasige & M.Maire 2999 - Added particles G4EtaPrime and G4RhoZero in G4ParticleTypes.hh 3000 - Created G4UnitsTable (.hh and .cc) and G4UnitsTableTest.cc 3001 3002 June 05, 98 M.Maire 3003 - Temporarily added PhysicalConstants.h and SystemOfUnits.h from 3004 CLHEP. Modified globals.hh accordingly. 3005 - Updated G4UnitsTest.cc 3006 3007 May 12, 98 G.Cosmo 3008 - Fixed bug in GNUmakefile.architecture for OSF platforms. LDFLAGS 3009 was explicitly overriden (!?). 3010 3011 April 23, 98 G.Cosmo (global-00-05-03) 3012 - Added forward declarations in g4templates.hh for BREPS classes. 3013 - Modified OpenInventor setup and added -woff option to CXXFLAGS in 3014 SGI-Local environment (J.Kallenbach). 3015 3016 April 21, 98 M.Asai (global-00-05-02) 3017 - G4ApplicationState.hh, G4StateManager.hh and .cc, G4VStateDependent.hh 3018 and .cc are moved to "intercoms". 3019 - Tagged as global-00-05-02. 3020 3021 April 20, 98 G.Cosmo 3022 - Added handling of native boolean types in globals.hh through the 3023 variable G4_HAVE_BOOL (before controlled only through CLHEP variable 3024 HEP_HAVE_BOOL). 3025 - Added G4_HAVE_BOOL to HP-aCC setup in GNUmakefile.architecture. 3026 3027 April 15, 98 H.Kurasige 3028 - Removed post-const qualifier from following methods in G4UserLimits: 3029 GetMaxAllowedStep, GetUserMaxTrackLength, GetUserMaxTime, 3030 GetUserMinEkine, GetUserMinRange. 3031 3032 April 09, 98 G.Cosmo (global-00-05-01) 3033 - Modified G4Allocator::AddNewPage(). Now used "register int" 3034 instead of "unsigned" for page chunks index. 3035 3036 April 09, 98 M.Maire 3037 - Added new data and member functions to G4UserLimits class. 3038 3039 March 24, 98 G.Barrand 3040 - GNUmakefile, GNUmakefile.architecture, GNUmakefile.common : 3041 MAKESHLIB changed in G4MAKESHLIB 3042 3043 March 13, 98 G.Cosmo (global-00-04-04) 3044 - Added inclusion of G4GlobalFastSimulationManager.hh in g4templates.hh, 3045 courtesy of P.Mora de Freitas. 3046 3047 March 12, 98 G.Cosmo (global-00-04-03) 3048 - Updated description of supported OS/compilers. 3049 3050 March 07, 98 G.Cosmo (global-00-04-02) 3051 - Modified CPPFLAGS setup for HP-aCC. 3052 - Added -lftn to FCLIBS for SGI setup (P.Urban) 3053 3054 March 05, 98 G.Cosmo (global-00-04-01) 3055 - Removed warnings of unused variables. 3056 3057 March 03, 98 G.Cosmo 3058 - Changed NO_CBRT to G4_NO_CBRT in GNUmakefile.architecture and 3059 globals.hh. 3060 - Changed default constructor in G4StateManager.hh to be protected 3061 instead of private. 3062 3063 March 02, 98 S.Sadilov 3064 - add (temporary solution?) MAXFLOAT macros in 3065 management/include/templates.hh for WinNT because of using 3066 its in processes/hadronic/models/high_energy/src/*.cc 3067 3068 February 2, 98 G. Cosmo (global-00-03-04) 3069 - Added -ptr option to DEC-AFS. Now sharing a unique template 3070 repository. 3071 3072 January 29, 98 G. Cosmo (global-00-03-03) 3073 - Added template definitions in G4Allocator.cc (M.Nagamatu) 3074 - Removed -DNO_NATIVE_GENERIC_H -I$(RWINC)/rw from compile command 3075 for HP-aCC. Optimised compilation is now +O2. 3076 3077 January 29, 98 G. Cosmo (global-00-03-02) 3078 - Tagged global-00-03-02 3079 3080 January 29, 98 S. Sadilov 3081 - Included new G4SYSTEMS for Win/NT platform: WIN32-VC-NICE and 3082 WIN32-G++-NICE in GNUmakefiles.architecture. 3083 Added CLHEP, RW, architecture dependant variables and variables for 3084 positional qualifiers (different between UNIX and VC). 3085 - In GNUmakefile.common and GNUmakefile used $OUT_LIB introduced in 3086 GNUmakefile.architecture as positional qualifier for creating 3087 simple-libraries and composite-library. 3088 - In GNUmakefile.common used $RWINCGPP introduced in GNUmakefiles.architecture 3089 as right path on RW includes: different compilers (g++ for dependencies 3090 and VC compiler for buiding) use different RW. 3091 3092 January 27, 98 G. Cosmo (global-00-03-01) 3093 - Introduced G4EXEC_BUILD and G4TEMPEXEC_REPOSITORY flags for C_FRONT based 3094 compilers. These flags allow to distinguish between the template repository 3095 used for building G4 libraries and the one used to build executables. 3096 When building an executable and G4EXEC_BUILD is set, the original template 3097 repository $G4TEMPLATE_REPOSITORY used to build libraries becomes read-only 3098 $G4TEMPEXEC_REPOSITORY is used instead. 3099 3100 January 23, 98 G. Cosmo 3101 - Added "-DNO_NATIVE_GENERIC_H -I$(RWINC)/rw" to CPPFLAGS for HP-aCC 3102 in GNUmakefile.architecture. 3103 - Removed duplicated definition of G4Allocator<G4DecayProducts> from 3104 g4templates.hh. 3105 3106 January 20, 98 G. Cosmo 3107 - Modified GNUmakefile.architecture, adding -DRW_NO_STL option to 3108 CPPFLAGS and removing it from CXXFLAGS. 3109 3110 January 19, 98 E. Tcherniaev 3111 - Removed files Hep3Vector.hh, HepRotation.hh and G4SystemofUnits.cc 3112 - Updated several classes/files to use "#include <CLHEP/...>" instead 3113 of "#include "CLHEP/..."". 3114 3115 January 15, 98 G. Cosmo 3116 - Updated GNUmakefile.architecture to support aCC A.01.06 compiler. 3117 Standardized definitions of variables related to CLHEP and RW. 3118 - Removed patches/template-definitions for HP-aCC from g4templates.hh 3119 and G4Allocator.cc. 3120 3121 December 19, 97 G. Cosmo - (alpha03) 3122 - Created.