Commit graph

57 commits

Author SHA1 Message Date
Paul Romano
aa768abbc3 Happy new year 2020! 2020-01-02 16:33:14 -06:00
PullRequestOpen
6d0aa86cef Cosmetic fixes from PullRequest [2019-12-05] 2019-12-05 22:22:43 -06:00
Gavin Ridley
b8d9ae0f8e PR style changes 2019-11-08 13:25:49 -05:00
Gavin Ridley
9c06a128d9 initial stab at making mgxs externally usable 2019-11-02 22:08:06 -04:00
Andrew Johnson
801f18b357
Provide Tally writable_ setter and getters
New member functions openmc::Tally.set_writable and get_writable
act on the writable attribute. These are used in the external
API with openmc_tally_set_writable and openmc_tally_get_writable
functions.

Cleaned up some other writeable -> writable typos as well
2019-09-26 21:09:13 -04:00
Andrew Johnson
0fc57b207b
Teach output write_tallies about writeable tallies
The tally header will still be written, but no summary,
scores, or filters will be written. Instead, the output
will indicate the tally is internal.
2019-09-19 10:06:58 -05:00
Paul Romano
d84c379007 Fix up heating tally scores 2019-09-13 09:31:08 -05:00
Paul Romano
d9e5249e8e Make sure output is always verbosity-limited 2019-09-03 12:40:36 -05:00
Paul Romano
dc4d98a1cb Update version to 0.11.0-dev 2019-06-14 09:51:15 -05:00
liangjg
ba05630a08 Merge branch 'develop' into heat-photon-kerma 2019-04-02 10:17:50 -04:00
Paul Romano
1d5242ede1 Fix a whole bunch of -Wall warnings 2019-03-26 14:11:47 -05:00
liangjg
7ae1b024ed do heating tallies for both neutron and photon 2019-03-26 12:56:13 -04:00
Paul Romano
0fbe024e11 Get rid of ERROR_INT and use 0 for "no surface" 2019-03-20 22:23:53 -05:00
Paul Romano
49bf4523c3 Remove thread_id and n_threads global variables 2019-03-19 13:57:42 -05:00
Paul Romano
368f89697d Use Position and Direction in Particle class 2019-03-01 16:00:36 -06:00
Paul Romano
477309c917 Fix off-by-one on LocalCoord.lattice 2019-03-01 15:59:21 -06:00
Paul Romano
b28ee8087c Move ParticleType into Particle and use for type_ member 2019-03-01 15:59:21 -06:00
Paul Romano
b4ed267d4b Add trailing underscore on Particle data members 2019-03-01 15:59:21 -06:00
Paul Romano
2729d986bf Fix off-by-one for filter matches 2019-02-26 10:37:24 -06:00
Paul Romano
a2e058c8cf Fix off-by-one on event_nuclide and diff_nuclide 2019-02-26 10:37:24 -06:00
Paul Romano
3cac2a6702 Remove Fortan compatibility functions 2019-02-21 22:44:24 -06:00
Paul Romano
3eea8311d3 Move results and global_tallies over to C++ 2019-02-20 15:03:36 -06:00
Sterling Harper
ef2767a127
Merge pull request #1169 from paulromano/cpp-tracking
Translate transport, cross_surface, and particle restarts to C++
2019-02-20 12:17:19 -05:00
Paul Romano
24c84e394c Make sure output() doesn't always write to stderr 2019-02-15 10:59:23 -06:00
Sterling Harper
290d7876d2 Flush stdout when printing generation info 2019-02-15 10:29:29 -05:00
Sterling Harper
08e50977f0 Merge remote-tracking branch 'upstream/develop' into cpp_tallies 2019-02-12 12:35:32 -05:00
Paul Romano
2ad4726c23 Small improvement suggested by @pshriwise 2019-02-11 19:46:40 -06:00
Sterling Harper
a8a7d9112f Use 0-based indexing for FilterMatch.i_bin_ 2019-02-11 15:59:36 -05:00
Sterling Harper
8b3be55f0e Use more 0-based indexing for tallies 2019-02-11 15:34:55 -05:00
Sterling Harper
743db3c02e Separate tally scoring from Tally object methods 2019-02-11 14:47:34 -05:00
Paul Romano
20fa6fa5da Respond to @smharper and @pshriwise comments on #1154 2019-02-11 13:20:06 -06:00
Sterling Harper
8bb0fa7791 Move write_tallies to C++ 2019-02-11 13:58:12 -05:00
Paul Romano
a732efbe51 Translate print_results to C++ 2019-02-06 07:11:44 -06:00
Paul Romano
a7b0babb96 Translate print_runtime to C++ 2019-02-06 07:11:44 -06:00
Paul Romano
9f06008565 Translate several functions in output.F90 to C++ 2019-02-06 07:11:40 -06:00
Sterling Harper
a7fdb386ad Remove some dead F90 code 2018-12-24 15:15:36 -05:00
Paul Romano
62cc251914 Fix use of n_surfaces on Fortran side 2018-11-14 15:00:16 -06:00
Paul Romano
6393db8daa Put plots in model namespace 2018-11-14 15:00:16 -06:00
Paul Romano
6436cab302 More namespacing for global variables 2018-11-14 15:00:15 -06:00
Paul Romano
3cfe71621b Put global variables in cell.h in model namespace 2018-11-14 15:00:15 -06:00
Paul Romano
995905bd1c Use mpi::master instead of openmc_master on C++ side 2018-11-14 15:00:15 -06:00
Patrick Shriwise
3e36ed8e34 More PR comment resolution. 2018-10-30 20:13:36 -05:00
Patrick Shriwise
e5d8cdfc37 Updating enum names to camel case. 2018-10-30 20:04:24 -05:00
Patrick Shriwise
1a7abf8147 Updating Plot class member names. 2018-10-30 19:58:34 -05:00
Patrick Shriwise
1e2cff2da9 Changing from plot pointers to objects in global vector. 2018-10-30 08:59:36 -05:00
Patrick Shriwise
0d8dc172df Making enums lowercase, converting to enum classes also. 2018-10-30 08:59:36 -05:00
Patrick Shriwise
6d5cc5cd0d Addressing style and other comments from @shikar413 2018-10-30 08:59:36 -05:00
Patrick Shriwise
41b58e0b9b Exposing print_plot through C. Using in input_xml now. 2018-10-30 08:58:42 -05:00
Patrick Shriwise
2f4ef9b8db Adding print_plots function to C++ output. 2018-10-30 08:58:02 -05:00
Patrick Shriwise
96e5007276 Moving time stamp function to output. 2018-10-30 08:56:30 -05:00