Commit Graph
28 Commits
Author SHA1 Message Date
Vladimir Tomov 1ff8ee252f Option for building in parallel without METIS. 2017-08-22 17:54:04 -07:00
Veselin Dobrev b04dd4f469 In the Mesh constructor from the given primary data, only use the
value of 'boundary_type' when 'num_boundary_elements > 0'.
2017-07-26 14:15:32 -07:00
Veselin Dobrev 55cceee371 In ParNCMesh::GetFaceNeighbors(), initialize the Mesh::FaceInfo for the ghost
faces with Elem1Inf = fi.Elem2Inf = -1. This fixes an issue in the method
Mesh::ElementToElementTable() where unused ghost faces were generating wrong
connections with Elem1No = -1.

Updated the size check in Mesh::ElementToElementTable(), faces_info.Size() ==
num_faces, to allow the case of ghost faces when faces_info.Size() >= num_faces.

In mesh.hpp and pncmesh.cpp, add comments regarding the face description
contained in Mesh::FaceInfo.

Add some MFEM_ASSERT() checks.
2017-07-12 12:40:38 -07:00
Tzanio Kolev 1d94ab2553 Merge pull request #196 from mfem/mesh-copy-ctor-bugfix
Mesh copy constructor bug fix [mesh-copy-ctor-bugfix]
2017-05-16 22:32:01 -07:00
Stowell, Mark L f6b6faf400 Setting Mesh::sequence and Mesh::last_operation to default values in the Mesh copy constructor. 2017-05-08 14:08:13 -07:00
Tzanio 859bd87ecb A fix for Mesh::PrintWithPartitioning for non-conforming meshes. 2017-04-25 17:06:01 -07:00
Veselin Dobrev 7491b352b3 Use the NCMesh copy constructor in the Mesh copy constructor. 2017-03-28 23:12:07 -07:00
Veselin Dobrev cb810a3be2 Merge branch 'master' into ncmesh-mem-opt-dev 2017-03-13 15:51:38 -07:00
Tzanio Kolev 806cf543c0 Merge pull request #131 from mfem/bugfix-setcoords-memory
Bugfix: add memory-safe Vertex.SetCoords() method. [bugfix-setcoords-memory]
2017-03-10 16:37:14 -08:00
Tzanio Kolev c48e7781b1 Merge pull request #124 from juan42/fix-new-netcdf
Enhance netcdf file recognition.
2017-03-10 16:35:58 -08:00
Veselin Dobrev f06df546eb A small update. 2017-02-28 13:12:44 -08:00
Andrew T. Barker fcae1a2b5a Mark old Vertex.SetCoords() method as deprecated, and replace all
references with the new memory-safe version.
2017-02-28 09:44:40 -08:00
Andrew T. Barker 9ce5b8c8ec Bugfix: add memory-safe Vertex.SetCoords() method.
Fixes Issue #129
2017-02-27 08:03:47 -08:00
Tzanio 3277bf578d make style 2017-02-23 11:21:42 -08:00
Veselin Dobrev 41a2b71686 A few tweaks in Mesh::GetBoundingBox().
Remove unused variables in Mesh::PrintCharacteristics().
2017-02-21 16:32:38 -08:00
Julian Andrej 2a63d00a24 Added new magic bytes to netcdf file recognition in mesh loading process. 2017-02-21 08:37:27 +01:00
Stowell, Mark L e9374c9ea4 Adding methods to obtain more mesh information
Adding a serial method to obtain the information printed by
PrintCharacteristics.  This includes minimum and maximum edge lengths
as well as kappa which seems to be related to the aspect ratio of the
elements.

Adding a parallel method to compute the same mesh characteristics
mentioned above.

Adding a parallel method to compute the bounding box of a distributed
mesh.
2017-02-16 13:37:28 -08:00
Jakub Cerveny eca90726ff NCMesh memory optimizations developed internally at LLNL.
Based on commits by Jakub Cerveny:

    Reverted inline-quad.mesh

    make style

    Testing code in ex1 and ex9p

    Mesh vertices are not calculated by NCMesh when Nodes != NULL.

    Optimized NCMesh::element_vertex, the table is now empty for conforming
    meshes.

    WIP reducing size of NCMesh element-vertex table.

    Optimization in NCMesh::FaceSplitType, fewer hash table lookups.

    Fixed ParNCMesh::CalcFaceOrientations

    Fixed face neighbor vertices.

    Fixed Element::parent after loading NCMesh.

    Fixed derefinement.

    Fixed NeighborExpand (needed by Rebalance).

    More ParNCMesh fixes.

    Fixed neighbor calculation.

    WIP more fixes in ParNCMesh.

    WIP fixing ParNCMesh for new NCMesh structs

    NCMesh loading works again.

    Removed NCMesh::GetMidEdgeNodeSimple

    Fixed face management (creation/deletion), broken earlier by new structs.

    Removed NCMesh::Vertex, NCMesh::Edge. We are down to ~290 bytes / element in uniform mesh.

    Removed NCMesh::Vertex::pos, fixed some bugs.

    WIP removing NCMesh::Vertex::pos

    Fixed bug introduced by data structure changes.

    Removed member NCMesh::Edge::attribute

    Finished converting NCMesh to new data structures.

    WIP changing the NCMesh data structures, everything is a bit of a mess.

    BlockArray is now a base of HashTable

    WIP: modified HashTable methods for the new pointer-less data, improved
    BlockArray.

    WIP updating HashTable for a new underlying storage (BlockArray)

    Added class BlockArray, a generic block allocator/array.

    Updated memory usage calculations in NCMesh.
2017-02-13 18:41:40 -08:00
Tzanio 1569425857 Version 3.3 2017-01-28 22:05:47 -08:00
Jakub Cerveny 125ff226e4 Version 3.2 2016-06-30 10:37:30 -07:00
Tzanio dbae60fe32 Version 3.1 2016-02-16 15:45:48 -08:00
Tzanio Kolev 9d7774a03e Version 3.0 2015-01-26 15:07:34 -08:00
Tzanio Kolev fa169e4b92 Version 2.0 2011-11-18 11:39:53 -08:00
Tzanio Kolev 57522f1408 Version 1.2.2 (Bugfix release) 2011-04-19 15:12:41 -07:00
Tzanio Kolev f74eaae422 Version 1.2.1 2011-04-11 16:09:41 -07:00
Tzanio Kolev 29ae8fb6ac Version 1.2 2011-04-08 15:27:24 -07:00
Tzanio Kolev 075e00e9be Version 1.1 2010-09-13 13:31:38 -07:00
Tzanio Kolev 6bfa95b718 Version 1.0 2010-07-21 13:14:05 -07:00