Commit 98f28c42 authored by Andreas Dedner's avatar Andreas Dedner

Update CHANGELOG.md (layout and links to MRs)

parent a08cc6ca
Pipeline #5676 canceled with stage
# Release 2.6 # Release 2.6
- Experimental grid extensions are now always enabled. - Experimental grid extensions are now always enabled:
- The method `impl` and the type `Implementation` on the facade classes are See core/dune-grid!155
always public (and documented), now.
Warning: Implementation details may change without prior notification. - The method `impl` and the type `Implementation` on the facade classes are
always public (and documented), now.
- The method experimental grid extension `boundaryId` has been removed from the Warning: Implementation details may change without prior notification.
intersection interface. Some grid will continue providing it on their - The method experimental grid extension `boundaryId` has been removed from the
implementation, i.e., it may still be accessible through intersection interface. Some grid will continue providing it on their
``` implementation, i.e., it may still be accessible through
intersection.impl().boundaryId() ```
``` intersection.impl().boundaryId()
```
- The DGF block `general` is now always available. - The DGF block `general` is now always available and
the DGFWriter will always write a boundary id and can write user-defined
- The DGFWriter will always write a boundary id and can write user-defined boundary data, now.
boundary data, now.
- The `MCMGMapper` can now be used to attach multiple dofs to each - The `MCMGMapper` can now be used to attach multiple dofs to each
entity: entity:
the Layout is passed into the constructor and
returns the number of dofs to attach to the given geometry type See core/dune-grid!177
```
MCMGLayout layout = [](GeometryType gt, int griddim) { - the Layout is passed into the constructor and
return gt.dim() == griddim? 2:0; returns the number of dofs to attach to the given geometry type
}; ```
MCMGMapper mapper(grid,layout); MCMGLayout layout = [](GeometryType gt, int griddim) {
``` return gt.dim() == griddim? 2:0;
- The new method `MCMGMapper::indices(entity)` returns an iterable range };
(instance of `IntegralRange<Index>`) MCMGMapper mapper(grid,layout);
with the indices of dofs attached to the given entity: ```
``` - The new method `MCMGMapper::indices(entity)` returns an iterable range
for (const auto& i : mapper.indices(entity) ) (instance of `IntegralRange<Index>`)
dof = vector[i]; with the indices of dofs attached to the given entity:
``` ```
for (const auto& i : mapper.indices(entity) )
[dune-grid!177]: https://gitlab.dune-project.org/core/dune-grid/merge_requests/177 dof = vector[i];
```
- Two new method were added to the MCMGMapper: - Two new method were added to the MCMGMapper:
`size_type size(GeometryType)` and `size_type size(GeometryType)` and
...@@ -44,12 +44,14 @@ ...@@ -44,12 +44,14 @@
returning the number of dofs attached to the geometry type and a vector returning the number of dofs attached to the geometry type and a vector
with all geometry types on which dofs are attached, respectively. with all geometry types on which dofs are attached, respectively.
See core/dune-grid!177
- The `StructuredGridFactory` now returns a `unique_ptr` instead of a - The `StructuredGridFactory` now returns a `unique_ptr` instead of a
`shared_ptr` ([dune-grid!212][]). Code that relies on a `shared_ptr` `shared_ptr`. Code that relies on a `shared_ptr`
needs to explicitly assign the return value to a `shared_ptr` needs to explicitly assign the return value to a `shared_ptr`
variable. variable.
[dune-grid!212]: https://gitlab.dune-project.org/core/dune-grid/merge_requests/212 See core/dune-grid!212
- `SubsamplingVTKWriter` now supports arbitrary refinements, not just powers - `SubsamplingVTKWriter` now supports arbitrary refinements, not just powers
of two. The old constructor taking a parameter `int levels` has been of two. The old constructor taking a parameter `int levels` has been
...@@ -58,4 +60,4 @@ ...@@ -58,4 +60,4 @@
intervals)` and `refinementLevels(int levels)` to construct parameters of intervals)` and `refinementLevels(int levels)` to construct parameters of
type `RefinementIntervals` in dune-geometry. type `RefinementIntervals` in dune-geometry.
[dune-grid!193]: https://gitlab.dune-project.org/core/dune-grid/merge_requests/193 See core/dune-grid!193
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment