Skip to content

Commit

Permalink
0.8.7 release prep (#1096)
Browse files Browse the repository at this point in the history
* fix test

* refactor NDIndex into blueprint::ndarray namespace

* cleanup of old namespace alias to avoid confusing with new object

* small changes

* warnings pass for a few int types

* warnings pass avoid pragma msgs

* resolve pessimizing-move (allow copy elison)

* warnings pass remove extra include

* update changelog

* docs updates

* warnings pass

* remove stale host configs and docs ref
  • Loading branch information
cyrush authored Mar 23, 2023
1 parent 01eba1b commit 2be2597
Show file tree
Hide file tree
Showing 37 changed files with 652 additions and 642 deletions.
13 changes: 10 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ Notable changes to Conduit are documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project aspires to adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
## [0.8.7] - Released 2023-03-23

### Added
- Added public default and copy constructor to DataAccessor. Enables more flexibility with initializing DataAccessors from Nodes.

#### General
- Added public default and copy constructor to DataAccessor. Enables more flexibility with initializing DataAccessors from Nodes.
- Added Node.name(), Node.path(), Schema.name(), and Schema.path() to Python API.
- Added Node.as_index_t_ptr()
- Added `conduit::execution` namespace, which contains `for_all()` and `sort()` functions.
- Added DataType support to the Fortran API

#### Blueprint
- Added `conduit::blueprint::mpi::mesh::distribute`, which enables sending mesh domains to arbitrary MPI ranks (suppo
Expand All @@ -20,6 +22,9 @@ and this project aspires to adhere to [Semantic Versioning](https://semver.org/s
- Added `conduit::blueprint::examples::mesh::rz_cylinder` function that generates example 2D cylindrical (RZ) meshes.

### Fixed
#### General
- Fixed a logic issue undermining C++ type mapping when using CMake 3.26.

#### Blueprint
- Performance improvements to Mesh Blueprint topology metadata, used by `generate_points`, `generate_sides`, etc. The class was rewritten and the old one was moved to `conduit::blueprint::mesh::utils::reference::TopologyMetadata`. The new implementation is faster, often about 6-20x depending on options.
- Performance improvements to O2M Iterators.
Expand Down Expand Up @@ -763,7 +768,8 @@ and this project aspires to adhere to [Semantic Versioning](https://semver.org/s
### Added
- Initial Open Source Release on GitHub

[Unreleased]: https://github.com/llnl/conduit/compare/v0.8.6...HEAD
[Unreleased]: https://github.com/llnl/conduit/compare/v0.8.7...HEAD
[0.8.7]: https://github.com/llnl/conduit/compare/v0.8.6...v0.8.7
[0.8.6]: https://github.com/llnl/conduit/compare/v0.8.5...v0.8.6
[0.8.5]: https://github.com/llnl/conduit/compare/v0.8.4...v0.8.5
[0.8.4]: https://github.com/llnl/conduit/compare/v0.8.3...v0.8.4
Expand All @@ -782,3 +788,4 @@ and this project aspires to adhere to [Semantic Versioning](https://semver.org/s
[0.3.0]: https://github.com/llnl/conduit/compare/v0.2.1...v0.3.0
[0.2.1]: https://github.com/llnl/conduit/compare/v0.2.0...v0.2.1
[0.2.0]: https://github.com/llnl/conduit/compare/v0.1.0...v0.2.0

13 changes: 0 additions & 13 deletions host-configs/Darwin.cmake

This file was deleted.

1 change: 0 additions & 1 deletion host-configs/bgqos_0.cmake

This file was deleted.

41 changes: 0 additions & 41 deletions host-configs/bgqos_0.gcc.4.8.4.cmake

This file was deleted.

41 changes: 0 additions & 41 deletions host-configs/bgqos_0.xlc.cmake

This file was deleted.

5 changes: 0 additions & 5 deletions host-configs/blueos_3_ppc64le_ib-xl@16.1.cmake

This file was deleted.

1 change: 0 additions & 1 deletion host-configs/chaos_5_x86_64.cmake

This file was deleted.

63 changes: 0 additions & 63 deletions host-configs/chaos_5_x86_64_ib-gcc@4.9.3.cmake

This file was deleted.

1 change: 0 additions & 1 deletion host-configs/chaos_5_x86_64_ib.cmake

This file was deleted.

62 changes: 0 additions & 62 deletions host-configs/naples-darwin-x86_64-clang@3.4svn.cmake

This file was deleted.

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
from setuptools.command.build_ext import build_ext
from distutils.version import LooseVersion

CONDUIT_VERSION = '0.8.6'
CONDUIT_VERSION = '0.8.7'

class CMakeExtension(Extension):
def __init__(self, name, sourcedir=''):
Expand Down
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ endif()
# Conduit
################################

project(conduit VERSION "0.8.6")
project(conduit VERSION "0.8.7")

################################
# Build Options
Expand Down
7 changes: 4 additions & 3 deletions src/docs/sphinx/blueprint_mesh.rst
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ The following diagram illustrates a simple **polyhedral** topology:
Mixed topologies with shapes/shape_map
++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++

The schema for a **mixed** shapes topology is as follows:

Expand Down Expand Up @@ -1708,11 +1708,11 @@ them in ``<`` and ``>`` characters. An example expressions entry in the index is
{
"braid":
{
...
// ...
},
"radial":
{
...
// ...
},
"expressions":
{
Expand All @@ -1729,6 +1729,7 @@ them in ``<`` and ``>`` characters. An example expressions entry in the index is
"definition": "{<braid>,recenter(<radial>,\"nodal\")}"
}
}
}
.. Properties and Transforms
.. ---------------------------
Expand Down
33 changes: 18 additions & 15 deletions src/docs/sphinx/blueprint_o2mrelation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,41 +44,44 @@ Properties, Queries, and Transforms

Returns a ``std::vector<std::string>`` object containing all of the data paths in the given **o2mrelation** node.

* Example:
* Example Input:

.. code:: json
// Input //
{
"values": [int64],
"sizes": [int64],
"offsets": [int32],
"other": [char8]
"values": // [int64],
"sizes": // [int64],
"offsets": // [int32],
"other": // [ char8]
}
// Output //
["values"]
* Example Output:

.. code:: json
["values"]
* **conduit::blueprint::o2mrelation::compact_to(const Node &o2mrelation, Node &res)**

Generates a data-compacted version of the given **o2mrelation** (first parameter) and stores it in the given output node (second parameter).

* Example:
* Example Input:

.. code:: json
// Input //
{
"values": [-1, 2, 3, -1, 0, 1, -1],
"sizes": [2, 2],
"values": [-1, 2, 3, -1, 0, 1, -1],
"sizes": [2, 2],
"offsets": [4, 1]
}
// Output //
* Example Output:

.. code:: json
{
"values": [0, 1, 2, 3],
"sizes": [2, 2],
"values": [0, 1, 2, 3],
"sizes": [2, 2],
"offsets": [0, 2]
}
Expand Down
Loading

0 comments on commit 2be2597

Please sign in to comment.