Commit graph

42 commits

Author SHA1 Message Date
Jon Shimwell
e5c7d0ca88
Adding vtkhdf option to write vtk data (#3252)
Co-authored-by: shimwell <mail@jshimwell.com>
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
Co-authored-by: rherrero-pf <156206440+rherrero-pf@users.noreply.github.com>
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-11-05 16:03:20 +00:00
Paul Romano
8f36ff2b3a
Update find_package calls in OpenMCConfig.cmake (#3572) 2025-09-23 10:06:29 -05:00
GuySten
4500f07b44
Remove reorder_attributes from openmc._xml (#3519) 2025-08-08 16:59:22 +07:00
Paul Romano
d1d37a5b99
Allow MOAB k-d tree to be configured (#2976) 2024-04-26 05:57:02 -05:00
Patrick Shriwise
19f121a45a
Python mesh coordinates reorder (#2730)
Co-authored-by: Ethan Peterson <eepeterson3@gmail.com>
2023-11-01 11:19:27 -06:00
Patrick Shriwise
4d3a198c52
Updates to mesh vertices and centroids (#2711) 2023-10-17 11:21:57 -04:00
Patrick Shriwise
eda39ad9ca
Python source class refactor (#2524)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-06-20 21:27:55 -05:00
Patrick Myers
1cb22075ef
Changed xml to lxml (#2489) 2023-05-09 10:41:04 -05:00
Ethan Peterson
11e618fe81 adding export_to_xml to run and updating tests 2023-03-24 18:54:54 -04:00
Paul Romano
091241070f Update test results with numpy 1.24 and anisotropic fission 2023-02-10 12:21:42 -06: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
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
cpf
be006abf17 change input_true in unstructured_mesh 2022-05-26 16:13:37 +02:00
cpf
9704aa0ed4 change theta cos_theta in test unstructured_mesh 2022-05-26 14:20:12 +02:00
Paul Romano
9552be7316 Update test results from new random number stream 2021-05-03 10:32:16 -05:00
Patrick Shriwise
0feb12e2ce Updating unstructured mesh test files with files using correct element connectivity. 2021-04-07 19:07:07 -05:00
Patrick Shriwise
7cd3e388a4 Updating to the '.e' extension for Exodus file formats. 2021-04-07 19:07:06 -05:00
Patrick Shriwise
66d246cf44 Reducing number of particles in unstructured mesh tests. 2021-04-07 19:06:16 -05:00
Patrick Shriwise
b9ef22128c Allow direct setting of LIBMESH_DIR for CMake. 2021-04-07 19:06:16 -05:00
Patrick Shriwise
c92bc54b3d Making the unstructured mesh source isotropic to test more of the mesh. 2021-04-07 19:06:16 -05:00
Patrick Shriwise
d00dd061ca Updating test to reset IDs so tests will work with any combination of mesh libraries enabled. 2021-04-07 19:06:15 -05:00
Patrick Shriwise
f7220b62db Some cleanup from self-review 2021-04-07 19:06:15 -05:00
Patrick Shriwise
700d62c9ef Some cleanup (reordering of methods to match in inheritance) and including libmesh collision tallies in testing. 2021-04-07 19:06:15 -05:00
Patrick Shriwise
c4087307f0 Updating unstructured mesh test results. 2021-04-07 19:06:15 -05:00
Patrick Shriwise
0e3d58958e Address PR suggestions and comments from @paulromano. 2020-03-30 10:35:33 -05:00
Patrick Shriwise
b32514d7b8 Using clearer variable name for test parameter. 2020-03-27 12:12:06 -05:00
Patrick Shriwise
e2f230263f Generating the test model outside of the class definition. 2020-03-27 12:02:28 -05:00
Patrick Shriwise
1716d35ce5 Removing unused list in test file. 2020-03-27 11:38:39 -05:00
Patrick Shriwise
72e85dd4fa Updating PyAPITestHarness to allow inputs_true file to be specified. 2020-03-26 17:02:15 -05:00
Patrick Shriwise
c54d3abf1c Adjust expected precision based on estimator. 2020-03-26 14:01:57 -05:00
Patrick Shriwise
7e386ff7ff Updating to new midpoint method. 2020-03-26 13:56:23 -05:00
Patrick Shriwise
2bf9e71574 Updating unstructured mesh test file. 2020-03-25 15:29:39 -05:00
Patrick Shriwise
f4092380ff Correction to test cases. 2020-03-25 03:24:40 -05:00
Patrick Shriwise
895249b6ca Addressing changes from PR review. 2020-03-25 03:21:39 -05:00
Patrick Shriwise
ca7cba57df
Apply @paulromano 's suggestions from code review.
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
2020-03-25 03:14:58 -05:00
Patrick Shriwise
f566386661 Various cleanup changes. 2020-03-19 14:15:26 -05:00
Patrick Shriwise
919634297d Start of code cleanup. 2020-03-19 14:15:26 -05:00
Patrick Shriwise
3d546aaf80 Renaming regular mesh variables for clarity. 2020-03-19 14:15:26 -05:00
Patrick Shriwise
879c4a6050 Removing .dat files 2020-03-19 14:15:26 -05:00
Patrick Shriwise
44f3f1eb50 Including tests w external geometry and holes in the mesh. 2020-03-19 14:15:26 -05:00
Patrick Shriwise
76251cd995 Initial test for unstructured mesh. 2020-03-19 14:15:26 -05:00