Commit graph

10 commits

Author SHA1 Message Date
GuySten
6b43a298f4
Add n_elements to the MeshBase protocol and deprecate num_mesh_cells (#3745) 2026-01-22 15:04:30 +00:00
Patrick Shriwise
9942269a91
Updates to VTK data checks (#3371)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-05-05 18:55:14 +00:00
hsameer481
e971bd1213
added error checking on cylindrical mesh (#2977)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-06-10 21:31:00 +00:00
Jonathan Shimwell
557880aefc
Allowing CylindricalMesh and SphericalMesh to be fully made via constructor+ type hints (#2619)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-08-05 16:16:42 -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 Shriwise
0fcb174b2a
Add support for curvilinear elements when exporting cylindrical and spherical meshes to VTK (#2533)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-06-16 15:17:33 -05:00
Patrick Shriwise
bdf6de5e51 EOL for test 2022-07-28 19:21:17 -05:00
Patrick Shriwise
2edd390d30 Newline at end of test file 2022-07-28 18:56:19 -05:00
Patrick Shriwise
25ab9d28ce
Apply suggestions from @paulromano
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-07-29 00:47:27 +01: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