List of changes and additions:
* In class Mesh:
* Replaced the data fields BaseGeom, BaseBdrGeom, and BaseFaceGeom
with a new data field: mesh_geoms that is a bitwise mask for all
Geometry::Types found in the (local) Mesh including entities of
lower dimensions.
* The new data field mesh_geoms is set by the method SetMeshGen.
* Removed the (protected) method InitBaseGeom.
* Add new methods: HasGeometry, GetNumGeometries, and GetGeometries
that can be used to query the content of mesh_geoms. Also, added
class Mesh::GeometryList that can simplify such queries too.
* The methods GetFaceBaseGeometry, GetElementBaseGeometry, and
GetBdrElementBaseGeometry no longer have a default value for
their input parameter (the entity index) and accept only values
within their respective ranges.
* Removed the parameter of the method GetRefinementTransforms.
* Updated the methods PrepareNodeReorder and DoNodeReorder to
support mixed meshes.
* In parallel, the data field meshgen is now required to represent
information about the global mesh - updated relevant ParMesh
methods.
* Made any required changes outside of class Mesh due to the above
changes.
* Made various tweaks and improvements in the following methods:
CheckBdrElementOrientation, Mixed2DUniformRefinement,
Mixed3DUniformRefinement, UniformRefinement, and
GeneralRefinement.
* Updated the method PrintCharacteristics to print the types of
elements, boundary elements and faces used in the mesh.
* In the method ReadInlineMesh, replace remaining "pri" strings
with "wedge".
* In the mesh reader method ReadGmshMesh, recover the term "prism"
in the comments - it was replaced, unintentionally, I assume,
by "wedge".
* Add support for refinement of curvilinear mixed meshes:
* In class FiniteElementSpace, updated the methods:
GetLocalRefinementMatrices, GetLocalDerefinementMatrices,
RefinementMatrix, RefinementMatrix_main, as well as class
RefinementOperator to support mixed meshes.
* Add two new meshes: star-mixed-p2.mesh and fichera-mixed-p2.mesh
which represent examples of quadratic mixed meshes in 2D and 3D,
respectively.
* Add sample runs in ex1/ex1p using the new quadratic mixed meshes.
* In class Geometry:
* In the enumeration Type: removed the constant MIXED and added
new constant: NUM_GEOMETRIES.
* Add new static data field: DimStart[] that indexes the Types by
dimension: the Types of dimension 'd' are given by the range
[ DimStart[d], DimStart[d+1] ).
* In class ParNCMesh, added method GetGhostFaceGeometry that,
for now, returns Geometry::SQUARE.
* Update the return type of the method DofOrderForOrientation in
class FiniteElementCollection (and all derived classes) from
'int *' to 'const int *'.
* Removed the virtual method Element::GetRefinementFlag and made
the only relevant derived version (in class Tetrahedron),
non-virtual.
* In class Tetrahedron, added method Init.
* Added FIXME comments for some outstanding issues.
* In the mesh-explorer miniapp:
* Added option to enable or disable the 'refine' parameter when
reading a mesh from file.
* In the 'jitter' menu option, ask the user if the boundary
nodes should be moved or not.
* In the 'Print sub-element stats' menu option, count and print
bad/inverted elements by their Geometry::Type as well.
183 lines
3.7 KiB
Plaintext
183 lines
3.7 KiB
Plaintext
MFEM mesh v1.0
|
|
|
|
#
|
|
# MFEM Geometry Types (see mesh/geom.hpp):
|
|
#
|
|
# POINT = 0
|
|
# SEGMENT = 1
|
|
# TRIANGLE = 2
|
|
# SQUARE = 3
|
|
# TETRAHEDRON = 4
|
|
# CUBE = 5
|
|
#
|
|
|
|
dimension
|
|
2
|
|
|
|
elements
|
|
30
|
|
1 3 0 11 26 14
|
|
1 3 0 14 27 17
|
|
1 3 0 17 28 20
|
|
1 3 0 20 29 23
|
|
1 3 0 23 30 11
|
|
1 2 1 26 11
|
|
1 2 26 1 12
|
|
1 3 26 12 3 13
|
|
1 2 2 26 13
|
|
1 2 26 2 14
|
|
1 2 2 27 14
|
|
1 2 27 2 15
|
|
1 3 27 15 5 16
|
|
1 2 4 27 16
|
|
1 2 27 4 17
|
|
1 2 4 28 17
|
|
1 2 28 4 18
|
|
1 3 28 18 7 19
|
|
1 2 6 28 19
|
|
1 2 28 6 20
|
|
1 2 6 29 20
|
|
1 2 29 6 21
|
|
1 3 29 21 9 22
|
|
1 2 8 29 22
|
|
1 2 29 8 23
|
|
1 2 8 30 23
|
|
1 2 30 8 24
|
|
1 3 30 24 10 25
|
|
1 2 1 30 25
|
|
1 2 30 1 11
|
|
|
|
boundary
|
|
20
|
|
1 1 13 2
|
|
1 1 12 3
|
|
1 1 16 4
|
|
1 1 15 5
|
|
1 1 19 6
|
|
1 1 18 7
|
|
1 1 22 8
|
|
1 1 21 9
|
|
1 1 25 1
|
|
1 1 24 10
|
|
1 1 3 13
|
|
1 1 1 12
|
|
1 1 5 16
|
|
1 1 2 15
|
|
1 1 7 19
|
|
1 1 4 18
|
|
1 1 9 22
|
|
1 1 6 21
|
|
1 1 10 25
|
|
1 1 8 24
|
|
|
|
vertices
|
|
31
|
|
|
|
nodes
|
|
FiniteElementSpace
|
|
FiniteElementCollection: H1_2D_P2
|
|
VDim: 2
|
|
Ordering: 1
|
|
|
|
0.01350768617383 -0.0075500592639684
|
|
1 0
|
|
0.309017 0.951057
|
|
1.30902 0.951057
|
|
-0.809017 0.587785
|
|
-0.5 1.53884
|
|
-0.809017 -0.587785
|
|
-1.61803 0
|
|
0.309017 -0.951057
|
|
-0.5 -1.53884
|
|
1.30902 -0.951057
|
|
0.4935497789318 -0.012882964767041
|
|
1.15451 0.475529
|
|
0.809019 0.951057
|
|
0.17136163619581 0.48175756223348
|
|
-0.0954915 1.24495
|
|
-0.654508 1.06331
|
|
-0.41734925397369 0.28726550311701
|
|
-1.21352 0.293893
|
|
-1.21352 -0.293892
|
|
-0.39460365124056 -0.30156877530663
|
|
-0.654508 -1.06331
|
|
-0.0954915 -1.24495
|
|
0.14399901886801 -0.48762042397771
|
|
0.809019 -0.951057
|
|
1.15451 -0.475529
|
|
0.6498356311584 0.48434918539882
|
|
-0.24288407581812 0.75594729997554
|
|
-0.8152592767797 0.0028387384025541
|
|
-0.22754482186326 -0.77540708661379
|
|
0.672255499984 -0.48174474211839
|
|
0.22829595615988 0.0021164169942289
|
|
0.60101450815825 0.21860266792331
|
|
0.41883194868682 0.47605389684094
|
|
0.07343165966527 0.21396989328966
|
|
-0.02571592547416 0.63942139993498
|
|
-0.32229829912758 0.53827901417123
|
|
-0.17873676879185 0.14412581843398
|
|
-0.6182337454462 0.14256917811499
|
|
-0.59596471744054 -0.16569961862581
|
|
-0.19439899436461 -0.12390276596268
|
|
-0.33986575323528 -0.53331120777067
|
|
-0.064647379830725 -0.60235938684263
|
|
0.091924539036435 -0.25440885597942
|
|
0.40469418107844 -0.47549896605132
|
|
0.59442400974309 -0.23815570080881
|
|
0.83567929699787 0.25605757828544
|
|
0.73491944894413 -0.013500778246483
|
|
1.077255 0.2377645
|
|
0.88696375569985 0.49133008726061
|
|
1.231765 0.713293
|
|
1.0590195 0.951057
|
|
0.72725653289275 0.73104100472096
|
|
0.50225974659165 0.6904536152084
|
|
0.559018 0.951057
|
|
0.23657516510421 0.69857072686934
|
|
0.011561493903121 0.87524541641085
|
|
0.10676275 1.0980035
|
|
-0.17127243181091 0.99863326833074
|
|
-0.29774575 1.391895
|
|
-0.577254 1.301075
|
|
-0.45323351407757 0.93490604288187
|
|
-0.55200861955087 0.66792304985565
|
|
-0.7317625 0.8255475
|
|
-0.58327877079184 0.4240660861124
|
|
-0.81465656906104 0.28713104760848
|
|
-1.0112685 0.440839
|
|
-0.99771272279525 0.1592736885552
|
|
-1.415775 0.1469465
|
|
-1.415775 -0.146946
|
|
-1.0166887889241 -0.16866723370018
|
|
-0.80412516287867 -0.29582734656
|
|
-1.0112685 -0.4408385
|
|
-0.6073309356422 -0.45826153759998
|
|
-0.55501395481483 -0.68914767547246
|
|
-0.7317625 -0.8255475
|
|
-0.45240617124569 -0.93833106759189
|
|
-0.577254 -1.301075
|
|
-0.29774575 -1.391895
|
|
-0.1923419715726 -1.0285844005569
|
|
0.031614306262131 -0.83601077226744
|
|
0.10676275 -1.0980035
|
|
0.22112358843745 -0.69009711121629
|
|
0.50046759811715 -0.72837571286759
|
|
0.559018 -0.951057
|
|
0.71074483315985 -0.70826931724532
|
|
1.0590195 -0.951057
|
|
1.231765 -0.713293
|
|
0.89135027612826 -0.46226040977064
|
|
0.84948897506491 -0.23986695857234
|
|
1.077255 -0.2377645
|
|
0.31586449185434 0.2462788698702
|
|
-0.13788918217579 0.40149150514309
|
|
-0.40416548945856 0.0027692745957735
|
|
-0.14861804521337 -0.3698676302047
|
|
0.33007376541085 -0.24598293851351
|
|
0.99473757603443 0.69214841080247
|
|
-0.38122249894249 1.1629329119286
|
|
-1.208195003484 -0.0026998371675556
|
|
-0.35890854853443 -1.1361244276705
|
|
0.9901912195942 -0.73640851058427
|