Commit Graph
35 Commits
Author SHA1 Message Date
Kenneth Weiss 9f8b7ed137 Fixes spaceDim after calling UpdateNURBS on the mesh
This is called after mesh.DegreeElevate()
2025-12-18 14:45:46 -08:00
Kenneth Weiss f003563fcd make style 2025-12-17 19:17:07 -08:00
Kenneth Weiss b0eb063b35 Adds a unit test to procedurally generate a 1D NURBS mesh in 2D 2025-12-17 18:34:22 -08:00
Will Pazner 8c236973c7 Merge remote-tracking branch 'origin/master' into fix-issue-4455
# Conflicts:
#	tests/unit/mesh/test_mesh.cpp
2025-10-17 09:15:35 -07:00
Will Pazner 8d0a2d4336 Use star-surf in 'MakeSimplicial Surface Mesh' unit test 2025-10-17 08:57:35 -07:00
Hugh Carson 4ba8a2e148 Move Nodes construction into separate helper method, to allow building communication pattern first in ParMesh
- Silence unused variable warning in non-debug builds
2025-05-20 12:11:31 -04:00
Hugh Carson 9fec24c86c Simplify linear algebra and add support for byNODES ordering of the Nodes vector 2025-05-20 12:11:31 -04:00
Hugh Carson 664d0a543a Add no-op tests, and fall through 2025-05-20 12:11:31 -04:00
Hugh Carson 20c3c30c87 Clean up printing, and generate quadratic and cubic tests 2025-05-20 12:11:31 -04:00
Hugh Carson 083c4845db Fix bug where origin of reference coordinates was being assumed as (0,0,0) 2025-05-20 12:11:31 -04:00
Hugh Carson 556f6d72f5 Exploit that the map between reference spaces is always linear to assmble PointMatrix 2025-05-20 12:11:31 -04:00
Francis Giraldeau 82aa3a135c Fix Mesh::MakeSimplicial for surface in 3D
The Z dimension of a surface mesh was lost when converting it to simplex.

Add a test checking all vertices after the conversion. We create a special mesh for this specific case.

Close #4455
2025-02-08 23:01:09 -05:00
Tzanio Kolev e4c2152419 Update Copyright to 2010-2025 2025-02-03 12:17:26 -08:00
Will Pazner 6ddea3ff47 Merge remote-tracking branch 'origin/master' into pa-empty-partitions 2025-01-03 09:36:06 -08:00
737d9032d7 Adding new constructors for NURBS meshes.
This adds some convenience constructors for NURBS patches, and also includes a test exercising the new functionality.

Co-authored-by: Derek Thomas <derek@coreform.com>
Co-authored-by: Kevin Tew <kevin@coreform.com>
Co-authored-by: David Kamensky <david@coreform.com>
Co-authored-by: Justin Laughlin <laughlin6@llnl.gov>
2024-11-14 12:08:15 -07:00
Will Pazner 9aba2322fc Replace some instances of GetElementBaseGeometry(0) with m.GetTypicalElementGeometry 2024-04-23 14:45:30 -07:00
Tzanio Kolev 87290fbf56 Update Copyright to 2010-2024 2024-01-27 13:06:49 -08:00
Sebastian Grimberg 026c42fc3c Add unit test 2023-10-24 13:57:12 -07:00
Tzanio Kolev 96e00dc815 Updated COPYRIGHT to 2010-2023 2023-03-11 16:58:18 -08:00
Tzanio 6d2530775b Extended copyright to 2022 2022-02-25 10:24:50 -08:00
Will Pazner 39e9406b99 Change deprecated mesh constructors in unit tests and miniapps 2021-02-17 14:32:06 -08:00
Will Pazner c5ce656dae Merge remote-tracking branch 'origin/master' into tri-tet-lor 2021-02-13 17:03:07 -08:00
Adrien M. Bernede 04fb572359 Let's forget about 2020 2021-01-26 11:55:36 -08:00
Will Pazner 5857b3ec23 Fix simplicial unit test 2021-01-25 20:30:38 -08:00
Will Pazner 585d2de01c Test Mesh::MakeSimplicial 2020-12-10 12:36:19 -08:00
Veselin Dobrev 129e191776 Use 1 as the default attribute in class Element.
Tweak the "Element-wise construction" mesh unit test to set the
vertices in counterclockwise order and check that the default
attribute is 1.

Before the above changes, there was a warning from the unit test
about non-positive element attributes.
2020-10-25 11:54:41 -07:00
Dylan Copeland dac6f6afe7 Fixing a bug and adding a small unit test that catches it. 2020-09-16 14:55:12 -07:00
Will Pazner 9d83eed55c Upgrade to Catch v2.13.0 from v1.6.1 2020-08-04 08:37:48 -07:00
Jakub Cerveny a2cf6022ed Merge branch 'master' into gecko-integration2-dev 2020-03-11 09:23:38 +01:00
Tzanio 05125e19d5 Removed a space 2020-03-09 15:36:41 -07:00
Tzanio ca55ef0217 The release number for mfem-4.1 is LLNL-CODE-806117 2020-03-02 17:18:46 -08:00
Tzanio 2caa222edf A number of changes to switch the code from LGPL-2.1 to BSD-3:
- Updated LICENSE, README, CHANGELOG and CONTRIBUTING.md
- Removed COPYRIGHT, added NOTICE
- Updated the headers in all source files, makefiles, etc.
2020-02-23 11:16:46 -08:00
Jakub Cerveny b6927a2cc2 Removed Gecko from both makefile and CMake build systems. 2020-02-14 13:53:13 +01:00
Jakub Červený 2b92b7a051 Renamed GetGeckoElementReordering -> GetGeckoElementOrdering. 2019-11-20 19:28:18 +01:00
Aaron Fisher beb5994616 Renamed the test dirs and fixed some text that had an old version of the directories. 2018-11-09 16:28:51 -08:00