Commit graph

916 commits

Author SHA1 Message Date
Paul Romano
18337073f4 Fix name change on mat_to_ind, nuc_to_ind 2022-09-26 15:19:05 -05:00
Paul Romano
b2270d4aef Update reference surface source for regression test 2022-09-23 08:43:48 -05:00
Paul Romano
e535d17ae0
Merge pull request #2215 from pshriwise/eff-log
Additional interpolation types for EnergyFunctionFilter
2022-09-22 15:35:44 -05:00
Adam Nelson
11f8d6eb29
Merge pull request #1916 from mkreher13/diffusion-condense
Condensing diffusion instead of transport
2022-09-20 09:00:19 -05:00
Patrick Shriwise
a6c5dd4d8a Formatting 2022-09-17 12:06:12 -05:00
Patrick Shriwise
3351918394 Adding a histogram filter test. Testing conversion from Tabulated1D for many interpolation types 2022-09-17 11:32:24 -05:00
Patrick Shriwise
3c9e359a57 Addressing some comments from @paulromano 2022-09-17 09:47:16 -05:00
Patrick Shriwise
53d3cd005f
Apply suggestions from @paulromano
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-09-17 09:46:33 -05:00
Patrick Shriwise
b68e6e96e6 Updating tests to include checks for quadratic/cubic interpolation 2022-09-08 22:38:22 -05:00
Patrick Shriwise
fbce363784 Using a separate dictionary for interpolation values 2022-09-07 23:05:15 -05:00
Patrick Shriwise
4ba9acd459 Adding test results for additional interpolation types 2022-09-01 23:34:24 -05:00
Patrick Shriwise
bdf73abb06 Some cleanup 2022-09-01 23:34:24 -05:00
Patrick Shriwise
7ea116c89f Adding log-lg tally output and updating results. 2022-09-01 23:34:24 -05:00
Patrick Shriwise
aeca1173e7 Expanding on eff checks for log-log case. 2022-09-01 23:34:24 -05:00
Patrick Shriwise
c09f539cd5 Updating check to log-log 2022-09-01 23:34:24 -05:00
Patrick Shriwise
2ef49a9c9b Updating tests for eff 2022-09-01 23:34:24 -05:00
Patrick Shriwise
d88648634e Adding check for round-trip of spec for eff 2022-09-01 23:34:24 -05:00
Patrick Shriwise
0c1b1875b7 Adding a quick test for the interpolation value checking 2022-09-01 23:34:23 -05:00
Patrick Shriwise
8f26df7f5a Adding interpolation value check and updating test inputs 2022-09-01 23:34:23 -05:00
Paul Romano
28b8f9ecc5 Change Operator --> CoupledOperator in a few places 2022-08-15 13:35:04 -05:00
Paul Romano
4c4f75f842
Merge pull request #2158 from yardasol/independent-operator-hotfix
`IndependentOperator` hotfix
2022-08-15 07:00:56 -05:00
Jonathan Shimwell
73a23be378
Merge pull request #2163 from pshriwise/dag-bounding-surf-ids
DAGMC bounding surface IDs
2022-08-14 00:03:57 +01:00
Patrick Shriwise
d47f41637f Some updates to DAGMC testing. 2022-08-12 07:53:36 -05:00
Olek
22e23374dd
Apply suggestions from code review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-08-11 13:38:45 -05:00
Patrick Shriwise
ba72199df0 rm empty line 2022-08-11 07:58:00 -05:00
Patrick Shriwise
8791c7212e Adding check for first vertex and centroid 2022-08-11 07:48:58 -05:00
Patrick Shriwise
36ecaf9bd6 Adding ability to specify starting ID for surfaces of the DAGMC bounding region 2022-08-10 09:19:08 -05:00
yardasol
6048593ad3 update and expand deplete_no_transport test 2022-08-09 21:54:35 -05:00
Paul Romano
c5a5a3b9a6 Merge branch 'develop' into reduced-absorption-xs 2022-08-08 12:17:18 -05:00
Paul Romano
6254be3758
Merge pull request #2153 from pshriwise/small_fixes
Some small fixes
2022-08-08 12:15:20 -05:00
Patrick Shriwise
c943128587 Add pytest request path to location of cleanup files in cpp driver test 2022-08-06 06:18:54 -05:00
Paul Romano
abc0fd2693
Merge pull request #2100 from yardasol/transportoperator-subclass-notransport
Add class to allow running depletion simulation independent of the OpenMC transport solver
2022-08-05 08:20:26 -05:00
yardasol
65624df58d add chain_file, dilute_initial parameters to MicroXS.from_model 2022-08-03 16:16:19 -05:00
Paul Romano
54ac2042fb Add ReducedAbsorptionXS class for MGXS (absorption - n2n - 2*n3n - 3*n4n) 2022-08-03 15:58:54 -05:00
Paul Romano
17482d4fbe Change ordering of halfspaces for RectangularParallelepiped -/+ 2022-08-03 06:45:38 -05:00
yardasol
b742258954 Merge remote-tracking branch 'upstream/develop' into transportoperator-subclass-notransport 2022-08-01 14:29:59 -05:00
yardasol
1c6fb99947 fix regression test microxs 2022-08-01 13:36:51 -05:00
Paul Romano
75adc68861
Merge pull request #2103 from pshriwise/vtk_umesh
Store full unstructured mesh definition and add ability to write to VTK
2022-08-01 10:20:22 -05:00
yardasol
3e827530ba make changes from @paulromano's 3rd review
- syntax fixes and adjustments
- change name of FluxDepletionOperator to IndependentOperator
- flux_operator.py -> independent_operator.py
- new class, MicroXS, for creating (for now) one-group microscopic
  cross section DataFrames. This class takes the functionality that was
  previously in static functions in IndependentOperator
- Associated changes to the test suite and online docs
2022-07-28 17:50:06 -05:00
yardasol
4818a296d4 Made changes from paulromano's 2nd round of comments
- Syntax improvements and fixes
- removed `flux` parameter from Integrator
- Moved generate_1g_cross_sections to a top level function in
  flux_operator.py
- changed normalization modes: constant-flux -> source-rate;
  constant-power -> fission-q
- fixed regression tests (fission-q reference solution was bad before,
  but is now much more reasonable and comparable to the source-rate
  reference solution)
- added `nuc_units` parameter to the `from_nuclides` method.
- docstring fixes
- RST doc fixes
- spelling fixes
2022-07-27 13:30:56 -05:00
Patrick Shriwise
b93ab95ba1 Adding more mesh interrogation options for the libmesh
Finishing methods for connectivity and coordinates.

Writing vertices and connectivity to statepoint file

Loading vertices and connectivity from statepoint. Correcting string repr

Correcting connectivity length

Adding method to write the mesh elements to VTK with data applied.

Updating hdf5 output to include element types

Adding support for hex elements when writing unstructured meshes to VTK

Adding simple check for VTK writing if the module is present

Removing centroids from the statepoint file and Python UM class

Updating test check for vtk

Adding warning for skipped elements. Correcting element type

Adding warning for skipped elements.

Using an enum to indicate element types for readability

Updating to element types on the Python side as well

Handling integer data applied to VTK files.

Doc updates for Python API UM class

Incrementing statepoint version number

Refactor of unstructured mesh tests to extract model

Updating inputs for floating point surface coefficients

Adding test for hexes and refactoring comparison funcs

Updating reference mesh files

Adding reference file for the hexes test case

Passing test for hex mesh

Adding inputs for the hexes test case.

Adding hex test meshes.

Skipping hex mesh test if not built with libmesh

Adding small VTK write tests for unstructured mesh.

Allowing file path to be a pathlib path.

Adding skips if libmesh or dagmc not enabled

Adding a few comments to test file

Changing where conversion to str happens for mesh filename. Setting output to false.

Removing VTK check from unstructured mesh regression test

Removnig VTK test files for regression test -- too large

Adding __init__.py file for pytest
2022-07-25 13:17:51 -05:00
Jonathan Shimwell
717115938d updating fill id to match 2022-07-25 16:25:29 +01:00
yardasol
8ec8826ed8 fix regression test 2022-07-21 19:19:51 -05:00
yardasol
5d004230f4 added refernce libraries for each case 2022-07-21 19:15:52 -05:00
yardasol
61b1d82544 update test suite 2022-07-21 17:26:35 -05:00
yardasol
eefb4020af pep8 fixes 2022-07-19 12:57:03 -05:00
yardasol
7e671d4e57 Change defualt constructor to accept a Materials object
The classmethod, from_nuclides, retains the volume-nuclide constructor
2022-07-19 12:33:56 -05:00
yardasol
d69150db0c Merge branch 'refactor-deplete-operators' into transportoperator-subclass-notransport 2022-07-19 10:08:20 -05:00
Jonathan Shimwell
c8fb5eb2bd updated comparison input 2022-07-19 11:43:28 +01:00
Jonathan Shimwell
c3e60da1b9 testing and returing openmc.Universe 2022-07-14 16:55:26 +01:00