-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nodal fields redesign #77
base: main
Are you sure you want to change the base?
Commits on May 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ad10273 - Browse repository at this point
Copy the full SHA ad10273View commit details -
Configuration menu - View commit details
-
Copy full SHA for 961b550 - Browse repository at this point
Copy the full SHA 961b550View commit details -
lib/mito/fem: constructor of class {QuadratureField} now takes packin…
…g as a temporary
Configuration menu - View commit details
-
Copy full SHA for 5d5bf6b - Browse repository at this point
Copy the full SHA 5d5bf6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 63a775a - Browse repository at this point
Copy the full SHA 63a775aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 583110e - Browse repository at this point
Copy the full SHA 583110eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 34b455e - Browse repository at this point
Copy the full SHA 34b455eView commit details -
lib/mito/fem: in class {QuadratureField} remove redundant {inline} of…
… {constexpr} function
Configuration menu - View commit details
-
Copy full SHA for 679e7a6 - Browse repository at this point
Copy the full SHA 679e7a6View commit details -
lib/mito/fem: in class {QuadratureField} remove setter for {name} att…
…ribute Fields should have immutable names.
Configuration menu - View commit details
-
Copy full SHA for f5fca26 - Browse repository at this point
Copy the full SHA f5fca26View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe1df66 - Browse repository at this point
Copy the full SHA fe1df66View commit details
Commits on May 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 552cc1c - Browse repository at this point
Copy the full SHA 552cc1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8be72ff - Browse repository at this point
Copy the full SHA 8be72ffView commit details -
lib/mito/fem: fix compiler error
Define {HAVE_TENSOR} and {HAVE_COMPACT_PACKINGS} before including {pyre}.
Configuration menu - View commit details
-
Copy full SHA for bf6a896 - Browse repository at this point
Copy the full SHA bf6a896View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56e323f - Browse repository at this point
Copy the full SHA 56e323fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a4c00bb - Browse repository at this point
Copy the full SHA a4c00bbView commit details
Commits on May 25, 2024
-
lib/mito/io: second draft implementation of writing a field to vtu file
Here, we pass down to the writer a {fields::field} which is then evaluated on the nodes.
Configuration menu - View commit details
-
Copy full SHA for b778351 - Browse repository at this point
Copy the full SHA b778351View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56f47ec - Browse repository at this point
Copy the full SHA 56f47ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0684a60 - Browse repository at this point
Copy the full SHA 0684a60View commit details -
lib/mito/fem: redesign class {NodalField} as a mapping between mesh n…
…odes and field values
Configuration menu - View commit details
-
Copy full SHA for f35cd45 - Browse repository at this point
Copy the full SHA f35cd45View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8398733 - Browse repository at this point
Copy the full SHA 8398733View commit details
Commits on May 26, 2024
-
Fixed bug for which nodes in {NodalField} were duplicated across adjacent elements. When nodes are inserted in a mesh with mesh.insert({node0, node1, node2}), nodes are copied. Therefore, a hash function and {operator==} based on the nodes addresses will create copies for each instance of a node in a mesh (that is for the same node appearing in adjacent elements). For now, the problem is fixed by setting nodes equal if their underlying vertex and points are equal and by editing the hash function to trivially combine the hashes of vertex and point (this needs to be improved to reduce the chance of clash). However, these choices will be revisited when we implement discontinuous Galerkin.
Configuration menu - View commit details
-
Copy full SHA for 8a652bb - Browse repository at this point
Copy the full SHA 8a652bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 204b39b - Browse repository at this point
Copy the full SHA 204b39bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 616b178 - Browse repository at this point
Copy the full SHA 616b178View commit details -
lib/mito/io/vtk: split file {writer.h} into {MeshWriter} and {PointCl…
…oudWriter} classes This is necessary because writing nodal fields requires to store the vtu grid as state.
Configuration menu - View commit details
-
Copy full SHA for 1f299a6 - Browse repository at this point
Copy the full SHA 1f299a6View commit details
Commits on May 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d71cc05 - Browse repository at this point
Copy the full SHA d71cc05View commit details -
lib/mito/io: move external packages needed from {summit} reader/write…
…r to {summit} directory
Configuration menu - View commit details
-
Copy full SHA for d329058 - Browse repository at this point
Copy the full SHA d329058View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4895a80 - Browse repository at this point
Copy the full SHA 4895a80View commit details -
lib/mito/io/summit: use a {set} of points for internal book-keeping
No need to use a {map}.
Configuration menu - View commit details
-
Copy full SHA for bf2369a - Browse repository at this point
Copy the full SHA bf2369aView commit details
Commits on Jun 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 03d4f3e - Browse repository at this point
Copy the full SHA 03d4f3eView commit details -
lib/mito/io/vtk: use STL {set} instead of {map}
No need to use a map, as the 'value' (that is the sequential index of the point stored) can be retrieved by the distance of a given point from the beginning of the set memory allocation.
Configuration menu - View commit details
-
Copy full SHA for 41ecbb8 - Browse repository at this point
Copy the full SHA 41ecbb8View commit details
Commits on Jun 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5496474 - Browse repository at this point
Copy the full SHA 5496474View commit details -
lib/mito/io/vtk: refer to attributes in parent class with {this->}
A bug in gcc does not make the (protected!) attributes of the parent class visible in the derived class scope.
Configuration menu - View commit details
-
Copy full SHA for f1f7440 - Browse repository at this point
Copy the full SHA f1f7440View commit details -
Configuration menu - View commit details
-
Copy full SHA for bec6b7d - Browse repository at this point
Copy the full SHA bec6b7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 62a1003 - Browse repository at this point
Copy the full SHA 62a1003View commit details -
lib/mito/io/summit: reimplement {summit} mesh writer according to new…
… design of class {MeshWriter}
Configuration menu - View commit details
-
Copy full SHA for 3bbfccc - Browse repository at this point
Copy the full SHA 3bbfcccView commit details -
Configuration menu - View commit details
-
Copy full SHA for b698516 - Browse repository at this point
Copy the full SHA b698516View commit details -
Configuration menu - View commit details
-
Copy full SHA for efe4b9a - Browse repository at this point
Copy the full SHA efe4b9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d13dea - Browse repository at this point
Copy the full SHA 7d13deaView commit details -
Configuration menu - View commit details
-
Copy full SHA for c6534c5 - Browse repository at this point
Copy the full SHA c6534c5View commit details
Commits on Jun 5, 2024
-
lib/mito/io: readability improvement
Directly access {dim} when possible.
Configuration menu - View commit details
-
Copy full SHA for 4fb0368 - Browse repository at this point
Copy the full SHA 4fb0368View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f83fef - Browse repository at this point
Copy the full SHA 6f83fefView commit details
Commits on Jun 8, 2024
-
lib/mito: draft implementation of reference counted nodes
This is necessary so as to avoid having the same node being copied into different nodes when inserting a geometric simplex in a mesh. Copying a node now results in copying its shared pointer. The current implementation has some issues, though: 1) While originally the {SharedPointer} class was designed for not owning the resource, now a {SharedPointer} may instantiate a resource. This breaks the design and a mechanism for deletion of the resource should be implemented. 2) Nodes are now 'special' geometric simplices, in that they do reference counting while the other geometric simplices do not. This implies that sometimes they need to be treated as special cases (for example in the extraction of the boundary of a segment).
Configuration menu - View commit details
-
Copy full SHA for 68df98c - Browse repository at this point
Copy the full SHA 68df98cView commit details -
lib/mito/utilities: add wrapper class for {std::shared_ptr}
This class extends the {std::shared_ptr} in order to provide a constructor with a suitable argument list, as well as an id, which enables hashing and <==> operators.
Configuration menu - View commit details
-
Copy full SHA for a31e1aa - Browse repository at this point
Copy the full SHA a31e1aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 655108d - Browse repository at this point
Copy the full SHA 655108dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1aabd15 - Browse repository at this point
Copy the full SHA 1aabd15View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f7f442 - Browse repository at this point
Copy the full SHA 7f7f442View commit details -
Configuration menu - View commit details
-
Copy full SHA for cdf291f - Browse repository at this point
Copy the full SHA cdf291fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 091e28a - Browse repository at this point
Copy the full SHA 091e28aView commit details -
lib/mito/mesh: readability improvement in class {Boundary}
Instead of implementing two almost identical methods for fetching the boundary of a mesh of segments and of any other mesh, devise the suitable type of the boundary (either a cloud of nodes or a proper boundary mesh) at compile time.
Configuration menu - View commit details
-
Copy full SHA for 3297c01 - Browse repository at this point
Copy the full SHA 3297c01View commit details -
lib/mito: readability improvement
Remove {requires} from {concept} definition when possible.
Configuration menu - View commit details
-
Copy full SHA for 089a4da - Browse repository at this point
Copy the full SHA 089a4daView commit details
Commits on Jun 9, 2024
-
lib/mito/io/summit: in mesh reader use templates to avoid repeating t…
…he same code for segments, triangles and tets
Configuration menu - View commit details
-
Copy full SHA for c0bb3f8 - Browse repository at this point
Copy the full SHA c0bb3f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8fbcd52 - Browse repository at this point
Copy the full SHA 8fbcd52View commit details -
lib/mito/io/summit: use type traits on the mesh cells
This will make it easier to generalize the reader / writer to the case of nonsimplicial elements.
Configuration menu - View commit details
-
Copy full SHA for 5c771a9 - Browse repository at this point
Copy the full SHA 5c771a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb0b55c - Browse repository at this point
Copy the full SHA fb0b55cView commit details -
lib/mito/io: redesign of summit and vtk writers
The new design is informed of the difference between points and nodes. This prepares the ground for supporting both CG and DG meshes.
Configuration menu - View commit details
-
Copy full SHA for 7366d74 - Browse repository at this point
Copy the full SHA 7366d74View commit details -
tests/mito.lib/io: add check that the number of nodes is conserved in…
… the original and reread mesh
Configuration menu - View commit details
-
Copy full SHA for 76ae72e - Browse repository at this point
Copy the full SHA 76ae72eView commit details -
lib/mito/io: add support for reading a mesh in {summit} format and re…
…turning a discontinuous Galerkin mesh
Configuration menu - View commit details
-
Copy full SHA for 3589a5d - Browse repository at this point
Copy the full SHA 3589a5dView commit details
Commits on Aug 18, 2024
-
.github/workflows: temporarily restricted {numpy} under {2.0} until i…
…ts relocated headers can be handled gracefully
Configuration menu - View commit details
-
Copy full SHA for 2a30890 - Browse repository at this point
Copy the full SHA 2a30890View commit details
Commits on Aug 19, 2024
-
lib/mito/utilities: minor redesign of class {StdSharedPointer}
Deriving {StdSharedPointer} from {std::shared_ptr} leads to memory leaks (in this case, memory not being freed).
Configuration menu - View commit details
-
Copy full SHA for ed60c8a - Browse repository at this point
Copy the full SHA ed60c8aView commit details