file, but commented out for now.
This is to prevent a problem with type checking applications of scale due to the use of possibly non-injective type functions in the scale method.
Trying to write functions which use both the Direction and Velocity members of the space class. GHC is not able to match the expected and derived types.
…l operators to MonteCarlo
…y to support tally collection.
--HG-- rename : basic/src/BH.hs => basic/src-main/BH.hs
Adding Haskell2010 as default language. Fixing layout. Making executables depend on the library component. Moving executables and tests to their own source directories. --HG-- rename : basic/src/Main-1000.hs => basic/src-main/Main-1000.hs rename : basic/src/Main.hs => basic/src-main/Main.hs rename : basic/src/Test/Arbitraries.hs => basic/tests/Test/Arbitraries.hs rename : basic/src/Test/Collision_Test.hs => basic/tests/Test/Collision_Test.hs rename : basic/src/Test/Geometry_Test.hs => basic/tests/Test/Geometry_Test.hs rename : basic/src/Test/MC_test.hs => basic/tests/Test/MC_test.hs rename : basic/src/Test/Mesh_Test.hs => basic/tests/Test/Mesh_Test.hs rename : basic/src/Test/Opacity_Test.hs => basic/tests/Test/Opacity_Test.hs rename : basic/src/Test/Source_Test.hs => basic/tests/Test/Source_Test.hs rename : basic/src/Test/Source_Test_Cases.hs => basic/tests/Test/Source_Test_Cases.hs rename : basic/src/Test/Sphere1D_test.hs => basic/tests/Test/Sphere1D_test.hs rename : basic/src/Test/TestingTools.hs => basic/tests/Test/TestingTools.hs rename : basic/src/TestSuite.hs => basic/tests/TestSuite.hs
…s (#/cell and wt/cell) first, then pass that to runManyParticles; runManyParticles now calls genParticlesInCells, rather than the older genParticles.
…mperature as the mean energy on a cell-by-cell basis.
…calcSrcStats to compute number of particles per cell and energy weight for particles in cell. Changed srcNumsFromEvol from -> [Int] to -> [(Int,EnergyWeight)] to assist this. Cleaned up bound variable names.