Feature/growth revised
- Dec 18, 2015
-
-
Timo Koch authored
For consistency with the factory.
-
Timo Koch authored
When the final insertion level for vertices and elements was determined for an element that is unconnected to the elements of the current grid the level was initialized to numerical_limits::lowest. This makes sure the lowest level is zero Adds a test that checks inserting an unrelated element.
-
- Dec 11, 2015
- Sep 24, 2015
-
-
Timo Koch authored
-
Timo Koch authored
-
Timo Koch authored
-
Timo Koch authored
We can't assign a vertex to a facet in 2d. However the compiler checks this if it's in an if block. I'm too dumb to think of a more general algorithm here so we use function overloads for new facet insertion.
-
Timo Koch authored
-
Timo Koch authored
needed for deleting vertices in 2d grids. If we delete an element that shares only a vertex (not a facet) with another element we need to know not to delete this vertex.
-
- Sep 23, 2015
-
-
Timo Koch authored
[test] move growth test to growth-test-1d as it seems hard to construct a general case test. Growth is very dependent on the geometry.
-
Timo Koch authored
-
Timo Koch authored
-
Timo Koch authored
-
Timo Koch authored
The inserted element can be on a lower level then the the leaf versions of its facets. As the new element is itself a leaf element it also has to be published in its facet's sons if the facets are not on the leaf. This has to be done recursively until the leaf facet also contains the element.
-
Timo Koch authored
-
Timo Koch authored
The leafIndexSet is not necessarily numbered in the same order as the leafiterator iterates. This is now accounted for when writing the index to vertex map for growth.
-
Timo Koch authored
-
Timo Koch authored
-
Timo Koch authored
-
Timo Koch authored
-
Timo Koch authored
-
Timo Koch authored
-
Timo Koch authored
-
Timo Koch authored
The implementation got much easier and with less runtime overhead as we only have to iterate over the buffer vector elementsToRemove.
-
Timo Koch authored
The elements to be removed are stashed and the actually removed when calling the grow method.
-
Timo Koch authored
The test now tests the new interface. More comprehensive testing to come.
-
Timo Koch authored
-
- Sep 22, 2015
-
-
Timo Koch authored
-
Timo Koch authored
-
Timo Koch authored
-
Timo Koch authored
-
Timo Koch authored
-
Timo Koch authored
Use the isNew flag instead of erasing entities. They just get ignored later according to their isNew flag.
-
Timo Koch authored
The prototype implementation using the newly introduced insert methods. The implementation compiles but is untested for actually inserting vertices and elements. The old growth test passes.
-
Timo Koch authored
This still keeps the old interface working but adds the following methods that are supposed to replace the old ones in the future: - insertVertex - insertElement Some internal variables are added to temporarily store the entities when growing. The entities actually get inserted to the grid in the grow() method.
-
Timo Koch authored
-
Timo Koch authored
-
Timo Koch authored
Vertices get an isNew Flag if they were added by growth (not accessible from outside through grid interface for now)
-