Recent Releases of GridFormat
GridFormat - GridFormat v0.4.0
Features
Traits: cell ranges as defined via the
Cellstrait are no longer required to be const-iterable.Writers: writers can now take fields whose value type is
bool, and fields can now also be exported into ranges withboolas range value type.Decorators: added a decorator for readers that exposes polyline cells as subdivided into its individual segments.
Removed interfaces
- Common:
- The
FilteredRangewrapper has been removed since the cell ranges are no longer required to be const-iterable.
- The
Scientific Software - Peer-reviewed
- C++
Published by github-actions[bot] 9 months ago
GridFormat - GridFormat v0.3.0
Features
- Writers: the custom range adaptors & iterators used by the writers under the hood have been changed to support range sentinels of different type than the range iterator. This makes it easier to specialize the traits for grid implementations that use sentinels of different type than the grid entity iterators.
- Traits: support for writing
Dune::FieldMatrixas tensor field data. - Reader: the
Readerclass now allows for opening a file upon instantiation usingGridFormat::Reader::from(filename)(taking further optional constructor arguments). Moreover, you can now open a file and receive the modified reader as return value usingreader.with_opened(filename). - VTK: VTK-XML files of the older file format version 0.1 can now also be read by all vtk readers
Deprecated interfaces
- Common:
- the
get_md_layout<SubRange>(std::size_t)overload is deprecated as it may interfere withget_md_layout<Range>(Range)ifRangeis constructible from anstd::size_tand the template argumentRangeis explicitly specified. The intented behaviour can now be achieved withMDLayout{{std::size_t}}.with_sub_layout_from<SubRange>(). - related to the above, an
MDLayoutfor a scalar value now has a dimension of zero to distinguish it from a vector of size 1.
- the
Continuous integration
- on PRs, a bunch of performance benchmarks are run with the code of the PR and the target branch, and observed runtime differences are posted as a comment to the pull request.
- the CI helper scripts, for instance, to select tests affected by changes, have been moved from the
/binto the/testdirectory. - the runtime of the test pipeline has been reduced by avoiding duplicate test runs and skipping those tests in pull requests for which no changes are introduced.
- the CI now runs on ubuntu:24.04 and tests the code with
gcc-14andclang-18.
Scientific Software - Peer-reviewed
- C++
Published by github-actions[bot] about 1 year ago
GridFormat - GridFormat v0.2.0
Features
- Documentation: the available file formats are now listed as a separate Doxygen group.
- CI: for PRs, only the tests affected by changes in the PR are built and run in order to speed up the workflows.
- Field:
Field::exportnow accepts r-values, which will be used to populate the values and return them again. Thus, one can now writeconst auto values = field.export_to(std::vector<double>{}), whereautowill bestd::vector<double>. - Traits: added a
GridFactoryAdapterforDune::GridFactoryto the dune traits to facilitate exporting read grids into dune grids.
Scientific Software - Peer-reviewed
- C++
Published by github-actions[bot] almost 2 years ago
GridFormat - GridFormat v0.1.2
Fixes
- Fixed description extraction from changelog for releases.
Scientific Software - Peer-reviewed
- C++
Published by github-actions[bot] about 2 years ago
GridFormat - GridFormat v0.1.1
Fixes
- Fixed the artifact path in the release workflow.
Scientific Software - Peer-reviewed
- C++
Published by github-actions[bot] about 2 years ago
GridFormat - GridFormat v0.1.0
Our very first release 🎉
Scientific Software - Peer-reviewed
- C++
Published by github-actions[bot] about 2 years ago