Commit Graph
426 Commits
Author SHA1 Message Date
Veselin Dobrev d949c58e7d Some code cleanup and minor tweaks. 2018-07-24 21:47:32 -07:00
Veselin Dobrev 11131bf004 Merge branch 'master' into conforming-tet-refinement-fix 2018-07-24 20:59:20 -07:00
Stowell, Mark L 959cd13211 make style 2018-07-24 14:51:47 -07:00
Stowell, Mark L 3583cd8a83 Adding Mesh::FinalizeMixedMesh 2018-07-23 20:21:01 -07:00
Stowell, Mark L d525f0a730 Adding support for mixed meshes in parallel 2018-07-23 15:01:08 -07:00
Stowell, Mark L 51ba4a9e13 Fixes to Mixed 2D meshes in parallel 2018-07-21 13:43:25 -07:00
Stowell, Mark L ecfc2b1360 make style 2018-07-20 19:34:26 -07:00
Stowell, Mark L 7658cbb6d4 Adding support for uniform refinement of mixed meshes in 3D 2018-07-20 16:57:49 -07:00
Stowell, Mark L 90968146bb Adding support for uniform refinement of mixed 2D meshes 2018-07-20 11:54:17 -07:00
Stowell, Mark L 7d1b1c51d3 Fixing point matrices for prisms 2018-07-20 00:21:10 -07:00
Stowell, Mark L c3e023deed Merge remote-tracking branch 'origin/master' into prism-dev
# Conflicts:
#	fem/fespace.cpp
2018-07-19 19:51:39 -07:00
Stowell, Mark L b7952fb8ed A few small edits 2018-07-19 19:27:33 -07:00
Veselin Dobrev 39fd944dba Revert "Group communicator on (parallel) cut meshes [cut-mesh-groups-dev]" 2018-07-18 14:26:30 -07:00
aschaf 3552fc6223 Fix for (serial) AMR of tetrahedral meshes
Added two new functions to Mesh:
   > Bisection(int, HashTable<Hashed2> &)
   > BdrBisection(int, HashTable<Hashed2> &)
which are adapted to the new data structure.
Added also an overload to Element::NeedRefinement with HashTable<Hashed2> and implemented it for Tetrahedron and Triangle.
Rewrote the tetrahedron case in  LocalRefinement by changing the DSTable v_to_v to an HashMap<Hashed2> object.
2018-07-18 13:41:04 +02:00
Robert Anderson f950613551 Merge pull request #480 from mfem/cut-mesh-groups-dev
Group communicator on (parallel) cut meshes [cut-mesh-groups-dev]
2018-07-13 20:32:33 -07:00
Tamas Horvath 0e0a2b1611 Fix quad/hex refinement by adding DeleteLazyTables() 2018-06-27 10:41:44 -04:00
Veselin Dobrev 8d1a5dfa31 Fix an issue in the local refinement of simplex meshes where the
lazy-generated Tables 'el_to_el', 'face_edge', and 'edge_vertex'
were not reset after refinement.
2018-05-18 16:19:50 -07:00
Tzanio 67401330d9 make style 2018-04-23 10:45:27 -07:00
Robert W. Anderson dce6ebf20d merge master 2018-03-21 15:43:32 -07:00
Veselin Dobrev dbe93313d3 Tweak the implementation of Mesh::PrintVTK. 2018-02-27 14:52:49 -08:00
Kenneth Weiss b4c7cfd8a9 Slight update to vtk output of Point meshes.
Now supports Point meshes with nodal grid functions.
2018-02-20 20:26:32 -08:00
Stowell, Mark L d0cecfba52 Fixing a vertex numbering issue related to the lack of new vertices on triangular faces of uniformly refined prisms 2018-02-01 17:17:42 -08:00
Stowell, Mark L 53f4b0423e Adding FinalizeTransformation to Mesh::GetLocalQuadToPriTransformation (thanks Veselin!) 2018-01-30 10:36:23 -08:00
Stowell, Mark L bae718680d Merge remote-tracking branch 'origin/master' into prism-dev
# Conflicts:
#	fem/fespace.cpp
#	fem/pfespace.cpp
2018-01-26 20:44:48 -08:00
Stowell, Mark L 75c6486cdc Adding calls to FinalizeTransform 2018-01-26 11:24:03 -08:00
Robert W. Anderson 134f97c0d8 comment out the setting of master and slave faces in face_info 2018-01-23 19:36:52 -08:00
Robert W. Anderson 5caeea07a0 return faces_tbl from InitFromNCMesh for use in group construction in 3D 2018-01-23 19:36:08 -08:00
Veselin Dobrev 27b6f1e2a8 Merge branch 'master' into nonlin-form-dev 2018-01-17 22:53:53 -08:00
Stowell, Mark L cbb2b2b272 make style 2018-01-17 21:50:30 -08:00
Stowell, Mark L 6cfc1081d8 Merge remote-tracking branch 'origin/master' into prism-dev
# Conflicts:
#	fem/geom.hpp
#	mesh/mesh.cpp
#	mesh/mesh.hpp
2018-01-16 10:53:03 -08:00
Tzanio Kolev a0af142efb Merge branch 'master' into varnurbs-dev 2018-01-16 08:49:04 -08:00
Stowell, Mark L 6079f4674a Adding Extrude2D function to generate hex or prism meshes from quad or tri meshes respectively. 2018-01-12 15:06:15 -08:00
Stowell, Mark L 8a5a250204 Merge remote-tracking branch 'origin/master' into prism-dev
# Conflicts:
#	fem/fe.cpp
#	fem/fe.hpp
#	fem/fe_coll.cpp
#	fem/geom.cpp
#	fem/geom.hpp
#	mesh/mesh.cpp
2018-01-12 11:36:49 -08:00
Veselin Dobrev cacbcc49b5 Add doxygen documentation for Mesh::GetLocalFaceTransformation() 2018-01-09 18:45:46 -08:00
Veselin Dobrev 5ae1cef9cf Merge branch 'master' into varnurbs-dev 2018-01-08 23:46:46 -08:00
Tzanio 5a1370aa79 Merge branch 'master' into varnurbs-dev 2018-01-02 11:35:19 -08:00
Veselin Dobrev 42ad503d6e Define a shortcut for std::numeric_limits<double>::infinity() called
mfem::infinity() and replace (almost) all usage of the std version with
the shortcut.

In SparseMatrix::MakeRef, copy the field isSorted from the original
matrix.
2018-01-02 06:36:04 -08:00
Veselin Dobrev b52db0376f In the doxygen documentation, switch from using images for LaTeX
formulas to using MathJax (with cdn.llnl.gov).

Move external function declarations for METIS 4 and LAPACK outside
the mfem namespace and in the beginning of their respective files
(otherwise doxygen was showing them as part of the mfem namespace).

Improve some deprecation documentation.

Fix a typo in doc/makefile.
2017-12-30 19:42:04 -08:00
Veselin Dobrev 72d42e50a4 Merge pull request #375 from mfem/bugfix-point-fespace
Bugfix for Linear, H1 and L2 functions on point meshes [bugfix-point-fespace]
2017-12-24 23:55:41 -08:00
Tzanio Kolev e7221b44af Merge pull request #384 from mfem/stefanozampini/fix-gmsh-nophysicaldomain
When no physical domain are present, use 1 as material ID to prevent …
2017-12-20 11:19:26 -08:00
Tzanio Kolev 637ea4142d Merge pull request #345 from mfem/stefanozampini/feature-pruneextravertices
Added method to Mesh to prune extra specified vertices
2017-12-18 11:26:47 -08:00
Tzanio 7590861c84 Merge branch 'master' into bugfix-point-fespace 2017-12-15 12:33:54 -08:00
Tzanio bb40abb70c Merge branch 'master' into varnurbs-dev 2017-12-15 12:32:51 -08:00
Kenneth Weiss 4dc8a811ac Adds support for dumping Point meshes and associated grid functions in VTK format. 2017-12-14 18:46:15 -08:00
Veselin Dobrev d79daefb6d Use MFEM_VERIFY instead of 'if' + MFEM_ABORT. 2017-12-12 21:00:08 -08:00
Veselin Dobrev 85404f821a Extend the support for 0D meshes to a few more places in the library.
In miniapps/meshing/mesh-explorer.cpp, when changing the curvature of
the mesh ('c' menu option), if given order, p <= 0, switch to a
discontinuous (L2) space of order -p.
2017-12-12 19:14:01 -08:00
Stefano Zampini 307afc3aee When no physical domain are present, use 1 as material ID to prevent useless errors
Report the error instead of segfaulting when the element is not supported
2017-12-12 17:25:45 +03:00
Robert W. Anderson 4f00b2d6bb Merge branch 'master' into cut-mesh-groups-dev 2017-12-05 15:34:51 -08:00
Robert W. Anderson eba6d4805b working for simple 2D cases 2017-12-05 15:32:22 -08:00
Veselin Dobrev f50f1ad8de In the copy constructor of class NURBSExtension, use deep copy for the
patch topology.

Remove incorrect MFEM_ASSERT from the copy constructor of class Mesh:
vertices.Size() may not equal NumOfVertices - this is now described in
the comment before the declaration of 'vertices'.

Add the explicit qualifier to some constructors in classes Mesh and
NCMesh; without these, the following implicit construction was possible:
Mesh* --> NCMesh --> Mesh (in a friend class) which was never the
intent.

In the degree-elevation constructors of class NURBSExtension, do not
issue a warning if newOrder is less than or equal to the order of a
knot vector from the parent NURBSExtention - this is now the documented
(in doxygen) behavior for this case.
2017-11-30 11:57:45 -08:00