aprilnovak
e8982ea981
Reorder member variables to avoid order compile issue. Refs #1962
2022-02-04 10:24:38 -06:00
Olaf Schumann
3b3294662e
Addressing comments and suggestions of @paulromano
...
manually run clang-format on mesh.cpp and mesh.h
2022-01-12 19:43:48 +00:00
Olaf Schumann
53c15b9e7b
More updates
...
after suggestions from @pshriwise
2022-01-04 16:57:30 +01:00
Olaf Schumann
5384734f62
Apply suggestions from code review
...
added suggestions from pshriwise
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
2022-01-04 15:17:11 +01:00
Olaf Schumann
d1a1cae278
Update include/openmc/mesh.h
...
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
2022-01-04 13:38:59 +01:00
Olaf Schumann
8b0b11b6c5
Bug: Forget to declare and define UnstructuredMesh::get_mesh_type()
2021-12-22 18:37:55 +01:00
Olaf Jochen Schumann
776c6baf1f
Changes request by @gridley
2021-12-22 16:19:58 +01:00
Olaf Schumann
d723dd7f07
Add Cylindrical & Spherical Mesh for Tally Filter
...
New method for ray-tracing the mesh, used for both MeshFilter & MeshSurfaceFilter. For all Structured Meshes!
meshes
negative/positive_grid_boundary to non-virtual function for speed
MeshIndex typedef now a std::array instead of int[3] -> Get rid of pointers (see e.g. core quidelines I.13)
MeshDistance class to stroe all relevant information
2021-12-20 19:41:52 +01:00
Patrick Shriwise
a6140709cc
Allowing a scaling factor for MOAB meshes too.
2021-09-11 08:02:20 -05:00
April Novak
9165a836fe
Apply suggestions from code review
...
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
2021-08-19 16:08:57 -05:00
aprilnovak
ea79fa079f
Allow constant scaling factor to be applied to libMesh unstructured meshes. Refs #1872
2021-08-18 15:49:58 -05:00
Paul Romano
1bc2bd8460
Apply clang-format on entire source
2021-08-11 11:41:49 -05:00
helen-brooks
b3b325d02f
Add new constructor for MOAB Unstructured Mesh class, taking a pointer to an external MOAB instance as an argument
2021-06-15 16:12:01 +01:00
helen-brooks
12bd847129
Promote moab instance from unique to shared ptr and check null before calling constructor
2021-06-15 16:12:01 +01:00
helen-brooks
9ab4ae4755
Small refactor of MOAB construction into its own method
2021-06-15 16:12:00 +01:00
Patrick Shriwise
4abfbead4f
Removing extra layer of inheritance for the UnstructuredMesh::surface_bins_crossed method. Correcting some formatting and spelling too.
2021-06-04 21:38:14 -05:00
Gavin Ridley
50d0430496
std::make_unique -> make_unique
2021-05-04 15:55:08 -04:00
Gavin Ridley
061156e79a
address PR comments
2021-05-03 18:03:06 -04:00
Gavin Ridley
ad4e1c9f4a
remove std:: from vector,unique_ptr,make_unique,array
2021-05-03 18:01:27 -04:00
Gavin Ridley
2af4c9cd92
use base class to handle layout of particle data
2021-05-03 17:57:41 -04:00
Patrick Shriwise
73aef414ca
Updating variable names of the methods.
2021-04-28 00:24:10 -05:00
Patrick Shriwise
f48f6c6ab8
Condensing filter translation into single commit.
2021-04-28 00:24:10 -05:00
Patrick Shriwise
1262bcde7d
Apply @paulromano's suggestions from code review
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2021-04-07 19:07:07 -05:00
Patrick Shriwise
fd00bd94b2
Relying on the libmesh communicator to create new mesh instances.
2021-04-07 19:07:07 -05:00
Patrick Shriwise
c798b6c651
Fix docstring typo.
2021-04-07 19:07:07 -05:00
Patrick Shriwise
9c3ee5daa5
Removing superfluous public section.
2021-04-07 19:07:07 -05:00
Patrick Shriwise
6156e1b3ae
Storing the first element ID rather than its pointer.
2021-04-07 19:07:07 -05:00
Patrick Shriwise
7a2f1d6d0a
Updating unstructured mesh writing to use the nuclide_score tally method and putting variable addition back into its own loop.
2021-04-07 19:07:07 -05:00
Patrick Shriwise
9fec4b4b3e
Some improvements to readability and moving to removal of all scores from mesh instances in one step.
2021-04-07 19:07:07 -05:00
Patrick Shriwise
6c7c0a6816
Addressing initial review comments from @paulromano.
2021-04-07 19:07:07 -05:00
Patrick Shriwise
9eb53a1af9
Apply suggestions from code review
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2021-04-07 19:07:07 -05:00
Patrick Shriwise
324d349459
Back to a vector of point locators.
2021-04-07 19:07:07 -05:00
Patrick Shriwise
c749b00bf7
Updating formatting of unstructured mesh functions.
2021-04-07 19:07:06 -05:00
Patrick Shriwise
6b91138957
Some cleanup of the mesh source files.
2021-04-07 19:07:06 -05:00
Patrick Shriwise
69de477bb5
Making the point locator a thread private variable.
2021-04-07 19:07:06 -05:00
Patrick Shriwise
16e05739a9
Using libmesh element references where possible.
2021-04-07 19:07:06 -05:00
Patrick Shriwise
a1bbdfb940
Polishing the mesh class
2021-04-07 19:07:06 -05:00
Patrick Shriwise
ba6816d4df
Corrections after rebase.
2021-04-07 19:06:16 -05:00
Patrick Shriwise
80e62611c1
Corrections after rebase.
2021-04-07 19:06:16 -05:00
Patrick Shriwise
03f3d7ac73
A slightly safer method for writing out meshes independent of library.
2021-04-07 19:06:16 -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
58d477c657
Renaming UnstructuredMeshBase class to UnstructuredMesh.
2021-04-07 19:06:15 -05:00
Patrick Shriwise
b1af80697c
Restructuring unstructured mesh inheritance a bit.
2021-04-07 19:06:15 -05:00
Patrick Shriwise
651ef1255c
Some cleanup of the bin_label functions.
2021-04-07 19:06:15 -05:00
Patrick Shriwise
9711d70b33
Removing tracklength methods and unused methods from the LibMesh class.
2021-04-07 19:06:15 -05:00
Patrick Shriwise
09ecbccfa5
Fixes after rebase
2021-04-07 19:06:15 -05:00
Patrick Shriwise
6973ce28d0
Updates to the LibMesh methods for adding variables and writing.
2021-04-07 19:06:15 -05:00
Patrick Shriwise
48d62e7501
A few updates to address memory leaks.
2021-04-07 19:06:15 -05:00
Patrick Shriwise
e79932e442
Fixes after rebase.
2021-04-07 19:06:15 -05:00