File: CHANGELOG

package info (click to toggle)
mcpl 1.3.2-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,336 kB
  • sloc: ansic: 69,469; python: 2,689; cpp: 408; makefile: 40
file content (113 lines) | stat: -rw-r--r-- 6,356 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
v1.3.2 2020-02-09
      * Fix time conversion bug in phits2mcpl and mcpl2phits, where ms<->ns
        factors had been mistakenly inverted (github issue #53). Thanks to
        Douglas Di Julio (ESS) for reporting.
      * Reorder link flags in documentation and "fat" Makefile to be correctly
        placed after the compilation objects. This fixes modern GCC compilation
        using as-needed flag, which is the default on Ubuntu (github issue #51).

v1.3.1 2019-06-29
      * Fix length of all data arrays in Python API in the last particle block
        in all files, making pymcpltool --stats work again for files with more
        than blocklength particles (github issue #49).
      * Python API accepts pathlib.Path objects introduced in Python 3.4 (github
        issue #50).

v1.3.0 2019-06-21
      * Introduce support for PHITS. This is done via mcpl2phits and phits2mcpl
        command line tools for conversions to and from PHITS binary dump
        files. Thanks to Douglas Di Julio (ESS) for help in adding this new feature.
      * Introduce new --forcemerge option for the mcpltool and an associated
        mcpl_forcemerge_files function in the C API.  This makes it possible to
        merge particles from otherwise incompatible files, at the heavy price of
        discarding descriptive metadata like comments and blobs. This is
        intended as a last-resort solution (github issue #43).
      * Add new public function mcpl_transfer_last_read_particle, which makes it
        possible to perform non-lossy filtering or merging of files using custom
        C code (github issue #18).
      * Fix pymcpltool --stats sum(weights) bug with python3 (github issue #46)
      * Handle unexpected records at the end of SSW headers gracefully (github
        issue #45).

v1.2.3 2018-09-26
      * ssw2mcpl: Support MCNP 6.2.

v1.2.2 2018-03-07
      * mcpl.py: Fix issues in MCPLParticleBlock.position() and
        MCPLParticleBlock.polarisation() methods which could result in
        exceptions or warnings being emitted for certain input files or for
        certain versions of python and numpy.

v1.2.1 2018-01-23
      * Correct _POSIX_C_SOURCE to address FreeBSD compilation (github issue #33).
      * mcpl.py: Work around issues in numpy v1.14 to fix MCPLParticleBlock.position() and
        MCPLParticleBlock.polarisation() methods (github issue #34).
      * CMakeLists.txt: Always use absolute rpath (for OSX).
      * Fix gcc7 compilation.

v1.2.0 2017-07-02
      * Add pure python module for MCPL access, stat collection and
        plotting. Also add a pure-python mcpltool which provides readonly access
        to MCPL files, and includes statistics and plotting capabilities. Supports
        both python2 and python3.
      * Add --text option to mcpltool/pymcpltool, for producing column-based
        ascii files from MCPL particle data.
      * mcpl_repair now detects and treats truncated files properly.
      * Particle listings no longer show weight columns when file has a
        universal weight.
      * Fixed casing of method names in comments in G4MCPLGenerator and G4MCPLWriter.
      * Sanity check that endianness field in files is indeed "L" or "B".
      * Minor code fixes caught in static analysis with clang analyze.
      * Minor fixes in textual output.

v1.1.0 2017-03-29
      * Introduced new and more precise unit vector packing scheme. Consequently,
        MCPL_FORMATVERSION was increased from 2 to 3. Files in the old format
        remain fully functional.
      * Merging: Add mcpl_merge_files function which merges any number of
        existing files into a new one and rename mcpl_merge to
        mcpl_merge_inplace (the old obsolete form still works for now, but prints
        a warning when used). The mcpltool --merge interface is updated
        correspondingly. Gzipped files can now be merged directly. Warn users if
        merging a file with itself and error for safety if output of extractions
        or merges already exists.
      * MCNP SSW support: Format decoding now relies purely on layout of fortran
        records, allowing more files to be read, even from some custom
        compilations of MCNP. Also replaced a static read buffer with a dynamic
        one, fixing errors experienced by some users and support MCNP5 for the
        first time. File load printouts are improved slightly and all warnings
        about untested code paths now include a request for feedback.
      * ssw2mcpl: Embed more useful meta-data in MCPL header.
      * mcpl2ssw: Reference SSW file can now be gzipped.
      * Add option for universal weights in MCPL files, to save 4 or 8 bytes
        per particle in output from unweighted simulations.
      * Add MCPL_VERSION_STR macro to mcpl.h for convenience.
      * Bugfix: mcpl_particle_t userflags field changed from int32_t to uint32_t.
      * Obsolete *_rc versions of gzipping functions (old obsolete forms still
        work for now, but print warnings when used).
      * Fix spelling of mcpl_hdr_universel_pdgcode (old obsolete form still
        works for now, but prints a warning when used).
      * G4MCPLWriter: Fix capitalisation of StorePreStep/StorePostStep.
      * Build system and documentation: Add INSTALL file with more details
        concerning build and integration, and add a simple makefile for "fat"
        tools. Also add src_fat/LICENSE.zlib with the zlib license and reference
        it where relevant, and include the full text of the zlib license towards
        the top of all autogenerated "fat" files. Smaller updates to README and
        related files.
      * Simplify internal MCPL particle I/O by using buffer.
      * Fix rare issue where mcpltool --extract could distort unit vectors.
      * Guard against overflow in particle position during file navigation
      * Add a few more platform compatibility checks.
      * Fix flag name in CMakeLists.txt affecting zlib support in SSW converters.
      * Workaround incomplete C99 support in version 12 of intels C compiler.
      * Add small sample MCPL file (example/example.mcpl) to release.

v1.0.0 2016-09-07
      * Identical to 0.99.1.

v0.99.1 2016-09-04
      * Release candidate for MCPL 1.0.0
      * Add --extract flag for the mcpltool.

v0.7.0 2016-08-25
      * First github based public release of MCPL.