Commit Graph
381 Commits
Author SHA1 Message Date
Tzanio Kolev e4c2152419 Update Copyright to 2010-2025 2025-02-03 12:17:26 -08:00
Dylan Copeland 74e93755fa Bug fix. 2024-12-10 13:36:56 -08:00
Dylan Copeland 4b87236e73 Simplify interface for RefineElement function. 2024-12-05 11:40:57 -08:00
Dylan Copeland c03257233f New interface for RefineElement function. 2024-12-05 10:44:34 -08:00
dylan-copeland 6b87974c70 Merge branch 'master' of github.com:mfem/mfem into ncmesh-spacing 2024-12-03 20:52:40 -08:00
adam-sim-dev dffee6b764 Merge pull request #2 from adam-sim-dev/master
Merge master into warning
2024-11-16 15:29:40 +08:00
adam-sim-dev b4dfb8660d static_cast size_t to int 2024-10-31 18:07:45 +08:00
Dylan Copeland 95a5c503b1 Remove assert. 2024-10-30 11:53:45 -07:00
dylan-copeland e5cfc35f87 Removed int type for refinements. 2024-10-30 11:23:41 -07:00
Dylan Copeland 91f14abe6e Disallow inconsistent refinement scalings on an edge. 2024-10-25 12:39:55 -07:00
dylan-copeland e5de10c9d9 Restoring backwards compatibility. 2024-10-15 11:55:02 -07:00
dylan-copeland a926841cf9 Improved interface for Refinement. 2024-10-11 20:08:05 -07:00
Hugh Carson 445e41bb77 Tidy up and style fix 2024-10-10 17:24:51 -04:00
Hugh Carson 6c17447045 Fix triangle ambiguity by only labeling children after tree is finished. 2024-10-10 17:19:22 -04:00
Hugh Carson 4cf617347f Handle the nodes in the case of center -> corner -> root. Non ambiguous paths now have the ability to reorganize all faces discovered. Not handling child reallocation correctly yet 2024-10-09 15:38:23 -04:00
Hugh Carson 708a8d92f8 Fix Rewrap error + compile error from method definition 2024-09-12 15:17:42 -04:00
Dylan Copeland 910e840fda Documentation and minor fixes. 2024-09-12 12:15:06 -07:00
Hugh Carson f3add08ae3 Address MR feedback:
- Rewrapping to 80
- Forward some base methods to public access
- Restore some old implementation methods in terms of new versions
- Doyxgen and comment fixes
2024-09-12 14:14:07 -04:00
Dylan Copeland 9bc55b81b4 Output of v1.1. Modified distance miniapp to do scaled AMR based on distance. 2024-09-11 11:11:43 -07:00
Dylan Copeland b541898594 Generalized for refinement of an element in more than 1 direction, with different spacings in each direction. 2024-09-10 13:15:40 -07:00
Hugh Carson 2f6871e449 CI Fixes:
- Unused variables
- Memory leak
- Initialization order
- Remove std::vector usage
- Fix char index into arrays
- Early exit if an empty ncsubmesh is constructed
- Array list initalizer was hardcoded to int
- Remove anonynmous namespace from ncmesh_tables.hpp, use static and
  constexpr instead
- Remove unneeded table includes in ncsubmesh.cpp and pncsubmesh.cpp
- Move trivial type assertion of Array to class body from constructor
- Fix warning about use of abs over std::abs in batched linalg
- Add parent hashtable accessors to bypass access controls in parent
  classes.
- Change loop condition to avoid need for ncmesh_tables.hpp include
- Change [ParSubMesh] to [SubMesh] for Catch2 category, the parallel
  is implicit in [Parallel] label
- Missing include in mesh_test_utils.cpp
- Fix bug for array access with empty ncmesh
2024-09-09 15:10:25 -04:00
Hugh Carson f052af3d6b Make style 2024-09-09 15:10:25 -04:00
Hugh Carson 96ef25817c Convenience addElement method 2024-09-09 15:10:24 -04:00
Hugh Carson f96f8af545 Upgrade the internal face boundary attribute test for NC refinement of the volume submesh 2024-09-09 15:10:24 -04:00
Hugh Carson 4edd730ce7 ghost boundary attributes mean volume tests are passsing 2024-09-09 15:10:24 -04:00
Hugh Carson 92ff8c744f Reprotect some members of NCMesh, make exposed derived for testing, make hex nonconformal volume testing ok 2024-09-09 15:10:24 -04:00
Hugh Carson c269b1ea54 More bug fixes and testing
- Fix bug for higher order meshes
- Fix bug with missing fields in NCMesh copy ctor.
- Fix test_array double -> int casting.
- Add test for Hex volume submesh
2024-09-09 15:10:24 -04:00
Hugh Carson cc70734bc0 Add initializer_list constructor to Array, and fix some more edge cases from testing 2024-09-09 15:10:24 -04:00
Hugh Carson 013eace8a6 Fix issue where parent triangular faces discovered by child 3 might disagree with child 0,1,2. If an outer child rediscovers the face the parent face will be reordered. 2024-09-09 15:10:24 -04:00
Hugh Carson 8237b9212d Abandoning interior surfaces, the resulting spaces are too ambiguous and the results don't warrant the extra effort 2024-09-09 15:10:24 -04:00
Hugh Carson 009837f4c8 Collection of bug fixes:
- Fix to permute children if a grandchild discovers a different face node ordering. Running out of tests
- Fix bug for triangle faces where central face parent nodes were not being identified correctly.
- Fix bug in ParentFaceNodes where a central triangle face would discover parent nodes with a different orientation to the surrounding faces.
- Fix bug where check was on parent_nodes rather than face_nodes for a second node hit
2024-09-09 15:10:24 -04:00
Hugh Carson b991cb755e Rewrite of the parallel data structure, complete ncmesh is now built doing a leaf to root tree traversal. The ordering is inherited from the parent ncmesh, ensuring all ranks build the correct ncmesh structure. Can handle external nc boundaries, can't handle internal yet due to face instability. 2024-09-09 15:10:24 -04:00
Hugh Carson 5e3359a805 Preliminary work on developing NCSubMesh
Many small features and a lot of really quite dirty code, print statements etc. This comes from squashing a large number of commits together.
A few different strategies were tried and failed (partially building the NC structure, having ranks have different NC etc.) before arriving at
the final reverse tree traversal algorithm.
2024-09-09 15:10:24 -04:00
dylan-copeland 66981ac2fa Fix mac build. 2024-08-29 17:03:16 -07:00
Dylan Copeland 9b331b608d New NC mesh file format for scaling. 2024-08-29 16:40:24 -07:00
Dylan Copeland b062c59580 Debugged the 2D case and added 2D tests to ex1. 2024-07-17 18:30:30 -07:00
Dylan Copeland c06e6d6431 More bug fixes for special cases. 2024-07-16 14:47:55 -07:00
dylan-copeland 8fc7079174 Bug fix. 2024-07-16 11:14:24 -07:00
Dylan Copeland 5fe5e0068d Generalized spacing for forced refinements. 2024-07-15 21:24:42 -07:00
dylan-copeland 4e67781c2c Corrected node scaling with respect to orientation. 2024-07-06 12:29:11 -07:00
dylan-copeland 65daeaa533 Bug fix. 2024-07-05 21:13:24 -07:00
dylan-copeland 281c0182be Generalized to 3D. 2024-07-05 16:41:37 -07:00
dylan-copeland 061b6109a2 Added scale to mesh file format. Generalized TraverseEdge to use scale. 2024-06-25 16:03:48 -07:00
Dylan Copeland ee501168de Generalized NCMesh to use arbitrary relative spacing in refinement. 2024-06-21 19:37:19 -07:00
Dylan Copeland 046a874cfb Merge branch 'master' of github.com:mfem/mfem into float 2024-02-06 10:56:41 -08:00
Tzanio Kolev 87290fbf56 Update Copyright to 2010-2024 2024-01-27 13:06:49 -08:00
Will Pazner 8b555a7bf8 Generic version of PointMatrixHash::operator() 2024-01-23 12:31:41 -08:00
Dylan Copeland 47e042245e Merge branch 'master' of github.com:mfem/mfem into float 2024-01-11 14:26:05 -08:00
Will Pazner 2b27d4815f Merge pull request #4019 from mfem/sjg/mesh-const-fix
Const correctness fixes for `Mesh` and `ParMesh`
2024-01-11 13:24:42 -08:00
dylan-copeland 4e25b1ba6b Merge branch 'master' of github.com:mfem/mfem into float 2024-01-05 11:37:18 -08:00