Commit graph

88 commits

Author SHA1 Message Date
Paul Romano
bc09d1ef55 adding back files to be reviewed 2019-10-28 11:55:45 -05:00
Paul Romano
ae28233110 deleting all files to prepare for review 2019-10-28 11:48:19 -05:00
Paul Romano
bbb0b78383 Rename openmc.capi -> openmc.lib 2019-09-13 10:38:26 -05:00
Paul Romano
cb9d0a92b0
Merge pull request #1222 from shikhar413/cmfd-added-funcs
Added CMFD Functionality - Tally windows, statepoint write/restart, in-memory functions
2019-06-13 08:01:47 -05:00
Sterling Harper
9ddd8b3067 Change Python Mesh class to RegularMesh 2019-06-07 08:51:09 -04:00
Shikhar Kumar
0bfbd2c823 numpy errstate required for serr 2019-06-04 20:13:21 -04:00
Shikhar Kumar
c16154e84a Remove openmc_load_cmfd_tallies, address comments from @paulromano 2019-06-04 18:28:19 -04:00
Shikhar Kumar
c253a0e6f8 Missing underscore 2019-04-18 23:01:22 -04:00
Shikhar Kumar
f6bb00dc45 Add descriptions for new functions in cmfd CMFDRun class 2019-04-11 16:13:19 -04:00
Shikhar Kumar
055842b5cb Only call statepoint_write from C API if cmfd_run 2019-04-11 12:38:36 -04:00
Shikhar Kumar
c47f2d1c0a Remove os.path import 2019-04-08 13:28:34 -04:00
Shikhar Kumar
8a1bb58d49 Minor tabbing discrepancy 2019-04-04 15:46:11 -04:00
Shikhar Kumar
95948d66ec Print statement only on master 2019-03-12 21:20:27 -04:00
Shikhar Kumar
dcc4b47ea4 set_reference_params cannot be modified by user 2019-03-12 20:03:32 -04:00
Shikhar Kumar
5cd7db42fa Fix bug when resetting energy_filters from statepoint 2019-03-12 19:46:33 -04:00
Shikhar Kumar
6b8ad7e317 Make statepoint restart work with feedback on 2019-03-12 18:30:04 -04:00
Shikhar Kumar
bf4ae24639 Be able to read CMFD data and load CMFD tallies from statepoint file 2019-03-12 17:35:14 -04:00
Shikhar Kumar
8424a2c850 First pass at statepoint_write 2019-03-12 01:54:30 -04:00
Shikhar Kumar
f5d972475f Get rid of finally statement from run_in_memory function 2019-03-06 20:22:55 -05:00
Shikhar Kumar
a236d4c8e6 Replace mention of fixed window with rolling window 2019-03-06 19:26:19 -05:00
Shikhar Kumar
8917da499b Add tally window schemes, restructure run with run_in_memory and iter_batches, separate begin into tally_begin and feedback_begin 2019-03-06 18:50:02 -05:00
Shikhar Kumar
4094213dda Expose restart_run and statepoint_path through C API, get rid of uncessary lines in allocate_cmfd 2019-03-06 13:16:34 -05:00
Shikhar Kumar
94d29e154e Temporary fix to address precision discrepancies with weightfactors numpy array 2019-03-05 18:57:58 -05:00
Paul Romano
368f89697d Use Position and Direction in Particle class 2019-03-01 16:00:36 -06:00
Paul Romano
d790cdfb46 Update list of publications, fix documentation for CMFD 2019-01-30 22:15:48 -06:00
Shikhar Kumar
9f63b5a3b7 Use kwargs instead of kwargs.keys() 2018-12-20 00:40:08 -05:00
Shikhar Kumar
bb45f220d4 clean up CMFD testing harness, adjoint logic, use run_in_memory 2018-12-19 02:04:11 -05:00
Shikhar Kumar
b87515b7fb Update output string, kwargs, docstring 2018-12-14 20:33:13 -05:00
Shikhar Kumar
d4cfb81114 Fix test suite, remove cmfd from openmc/__init.py 2018-12-13 17:17:59 -05:00
Shikhar Kumar
5c04eb0d3b Update test suite with 2g, ng solvers 2018-12-12 12:20:48 -05:00
Shikhar Kumar
2874b4a2f9 Address @paulromano and @smharper comments 2018-12-11 18:00:06 -05:00
Shikhar Kumar
ee9a6ab065 So begins the CMFD Fortran purge :D (~3.6K lines) 2018-11-24 00:13:37 -05:00
Shikhar Kumar
ab2f3bfc75 Remove keff_temp definition 2018-11-12 17:44:57 -05:00
Shikhar Kumar
e149c68a0e Remove unused solvers, rely solely on vectorized numpy and c++ linear solver 2018-11-12 17:19:18 -05:00
Shikhar Kumar
e2c2a03220 Move solver to C++ 2018-11-12 17:15:50 -05:00
Shikhar Kumar
70cced45bb Some more minor fixes 2018-11-12 17:10:42 -05:00
Shikhar Kumar
cb932673c5 Minor changes to storing boolean array of is_adj_ref directly for each direction 2018-11-12 17:10:18 -05:00
Shikhar Kumar
58fdec12a1 Get rid of old vectorized functions, use updated versions 2018-11-12 17:09:45 -05:00
Shikhar Kumar
37030fed2f Split between vectorized and updated-vectorized versions of CMFD 2018-11-12 17:06:27 -05:00
Shikhar Kumar
3f0878dd36 Precompute array indices, clean up readability more, fix bug with coremap axis swapping 2018-11-12 17:00:43 -05:00
Shikhar Kumar
d57592a031 Initial attempt at making vectorized functions more readable 2018-11-12 17:00:27 -05:00
Shikhar Kumar
b4d7ddbd48 Switch index of current tally direction and num groups to be consistent with openmc tallies 2018-11-12 16:56:52 -05:00
Shikhar Kumar
4a03fc9a03 Add more flushes for print statements 2018-10-17 11:45:28 -04:00
Shikhar Kumar
e0363898b7 Correct surface currents tally on Python side, throw error if not in CE mode 2018-10-17 11:27:57 -04:00
Shikhar Kumar
84b0614128 Merge branch 'develop' into cmfd-capi 2018-10-17 11:23:06 -04:00
Shikhar Kumar
2a709a0a56 Remove subdivision of next_batch, CAPI CMFD no longer preserves order of calls from Fortran side 2018-09-20 10:03:08 -04:00
Shikhar Kumar
91180f08a7 minor changes that should also be cherry-picked to shikhar413::cmfd-capi 2018-09-19 20:24:50 -04:00
Shikhar Kumar
1633d5a749 Bug fixes for 1grp-{1d,2d,3d} cases 2018-09-12 14:37:08 -04:00
Shikhar Kumar
e8176efa36 Remove functionality to handle restart batches, add comments for all CMFD instance variables and methods 2018-09-06 19:42:02 -04:00
Shikhar Kumar
7246266693 Solve for general hxyz, output cmfd timing stats 2018-08-30 14:08:00 -04:00