Gabriele Bozzola
9e4d9799dc
Improve error message for gmsh versions != 2.2
...
I am a new user of [palace](https://github.com/awslabs/palace ). As I was
trying to set a simple mesh up (with gmsh), I kept getting indexing
errors that I could not decipher. I eventually
[learned](https://mfem.org/mesh-formats/ ) that supported version for
gmsh meshes is 2.2.
This commit catches this and adds an informative error.
2026-02-06 16:12:27 -08:00
Kenneth Weiss
9c85a6365f
Renames NURBSExtension function to GetPatchSpaceDimension()
...
Per PR review discussion.
2026-01-07 10:42:45 -08:00
Kenneth Weiss
46a22b93eb
Renames NURBSExtension::GetPhysicalDim() to GetPatchDim()
...
Per PR suggestion, this is better than falling back to the reference space dimension. We now MFEM_VERIFY that HavePatches() is true.
2025-12-25 12:47:10 -08:00
Kenneth Weiss
1535b5a932
Adds support for loading 1D NURBS patches
...
Adds a 1D NURBS patch mesh along with a unit test.
2025-12-17 15:40:18 -08:00
Veselin Dobrev
091789d078
In ex41/ex41p, update the default time step to be the same as in ex9/ex9p
...
and remove a sample run that is now the same as the default.
Fix a -Wextra warning in mesh_readers.cpp.
2025-12-09 18:48:15 -08:00
Will Pazner
ee2c069531
Merge pull request #5015 from mfem/bugfix/watts24/int-overflow-reading-large-VTU-mesh
...
Avoid int overflow for large VTU meshes
2025-10-07 11:32:37 -07:00
Seth Watts
d1c44a7369
Switch my uLongf to size_t since they do not touch zlib
2025-09-12 07:05:04 -07:00
Seth Watts
2c39547bdd
Change ints to uLongf (unsigned long) in places where large meshes cause overflow
2025-09-11 17:43:42 -07:00
Dylan Copeland
84c08a69ee
Merge branch 'master' of github.com:mfem/mfem into nurbs-nc
2025-07-16 10:46:32 -07:00
camierjs
d865ac444e
[undefined] mesh_readers ReadHeaderEntry
2025-06-19 10:51:25 -07:00
Dylan Copeland
3659acd79d
Refactored with a derived class NCNURBSExtension.
2025-05-05 22:04:59 -07:00
Dylan Copeland
12896cd9ed
Merge branch 'master' of github.com:mfem/mfem into nurbs-nc
2025-02-12 12:29:48 -08:00
Tzanio Kolev
e4c2152419
Update Copyright to 2010-2025
2025-02-03 12:17:26 -08:00
Veselin Dobrev
2a1dd3d9c2
Merge pull request #4610 from lindsayad/netcdf-name-support
...
Allow reading exodus block/boundary names into corresponding attribute sets
2025-01-30 11:11:03 -08:00
Hugh Carson
d4b8071871
Merge remote-tracking branch 'origin/master' into hughcars/gmsh-reader-periodic-bugfix
2025-01-21 15:02:44 -05:00
Alex Lindsay
dd8c1241a5
Add netcdf read capability for boundary ids-name pairs
2025-01-09 17:38:09 -07:00
Alex Lindsay
b8a120ec3e
Add unit test
2024-12-31 16:00:00 -07:00
Alex Lindsay
50f5fcc42e
Apply style
2024-12-31 12:33:42 -07:00
Alex Lindsay
4d5054c197
Change assert message
2024-12-31 12:33:42 -07:00
Alex Lindsay
845ff55e3f
Exodus at least only ever writes NC_CHAR
2024-12-31 12:33:42 -07:00
Alex Lindsay
ecfee97b37
Apparently working implementation for var_type == NC_CHAR
2024-12-31 12:33:42 -07:00
Alex Lindsay
8eaae0ff87
Read block names in NetCDF and add to attribute sets
...
Refs #4602
2024-12-31 12:33:42 -07:00
Dylan Copeland
d0f0e2c392
Merge branch 'master' of github.com:mfem/mfem into nurbs-nc
2024-11-25 14:58:54 -08:00
Hugh Carson
1fcea2faf4
Merge branch 'master' into hughcars/gmsh-reader-periodic-bugfix
2024-11-04 11:41:39 -05:00
adam-sim-dev
256995a053
Format the code style
2024-10-31 20:24:24 +08:00
adam-sim-dev
b4dfb8660d
static_cast size_t to int
2024-10-31 18:07:45 +08:00
Dylan Copeland
b47ec8d14d
Merge branch 'master' of github.com:mfem/mfem into nurbs-nc
2024-09-04 20:03:51 -07:00
Julian Andrej
b69059e79b
fix sidesets too
2024-09-04 13:59:31 -07:00
Julian Andrej
d6a4f0ae6c
bug for bug implementation
2024-09-04 13:47:21 -07:00
Hugh Carson
b3ab618e6e
Do not remove all internal boundaries if loading a periodic mesh
2024-09-04 10:48:38 -04:00
Dylan Copeland
d12164148a
Merge branch 'master' of github.com:mfem/mfem into nurbs-nc
2024-06-03 16:16:28 -07:00
Edward Palmer
4314dc64db
Merge branch 'master' into cubit-pyramid-wedge-support-dev
2024-06-03 14:33:00 +00:00
Will Pazner
8acdb178c2
Allow reading attributes from VTK meshes with "attribute" cell data
2024-04-09 14:08:15 -07:00
Edward Palmer
9e75f9e19d
Merge branch 'master' into cubit-pyramid-wedge-support-dev
2024-04-04 18:22:28 +01:00
Stowell, Mark L
386fa30275
Merge remote-tracking branch 'origin/master' into named-attr-sets
...
# Conflicts:
# CHANGELOG
# mesh/mesh.hpp
2024-03-27 13:52:45 -07:00
Edward Palmer
011f7b0350
Fixed compiler warning.
2024-03-18 12:21:16 +00:00
Edward Palmer
a82ec2a298
Fixed incorrect cubit side maps for Hex8 and Pyramid5.
2024-03-15 18:00:49 +00:00
Edward Palmer
ac956e53da
Fixed typo.
2024-03-15 16:14:02 +00:00
Edward Palmer
7332f65373
Fixed GetFaceType (incorrect Wedge, Pyramid faces for side ids).
2024-03-15 16:06:10 +00:00
Edward Palmer
5229753c6f
Boundary side ids now 1-indexed to be consistent with Exodus.
2024-03-15 15:41:12 +00:00
Edward Palmer
5cefe337dd
Now correctly using boundary ID (1-index) to extract sideset information.
2024-03-15 14:52:28 +00:00
Edward Palmer
292051c8e3
Element IDs now numbered from 1 internally to be consistent with Exodus II.
2024-03-15 14:42:14 +00:00
Edward Palmer
3204614d51
Added back support for higher-order element types.
2024-03-15 13:37:33 +00:00
Edward Palmer
bd95160e67
Modified ReadCubit functions to take-in a Cubit block class instance allowing for multiple elements; temporarily removed support for higher-order elements.
2024-03-15 13:34:12 +00:00
Edward Palmer
bbf6f013af
Added reverse mapping going from element ID to the block ID.
2024-03-15 11:52:42 +00:00
Edward Palmer
a30390c306
Updated ReadCubitElementBlocks to use CubitBlock class; fixed potential issue where we assumed that blocks were numbered contiguously from 1 (not necessarily the case).
2024-03-15 11:36:11 +00:00
Edward Palmer
8e5de72407
Renamed ReadCubitNumNodesPerElement to ReadCubitBlocks; currently still limited to single element type
2024-03-15 11:30:24 +00:00
Edward Palmer
5691f60988
Add GetNumNodes method to CubitElement.
2024-03-15 11:20:37 +00:00
Edward Palmer
9f9ccdcc55
Added CubitBlock class which stores the element type for each block.
2024-03-14 18:22:59 +00:00
Edward Palmer
ecdf4717a9
Addressed compiler warnings.
2024-03-14 17:09:06 +00:00