Skip to content

Commit

Permalink
make blueprint helpers available to multiple source files (#713)
Browse files Browse the repository at this point in the history
* * Testing out adoption of initializer lists in Blueprint helper code.

* * Abstracted advanced functionality from 'conduit_blueprint_mesh' into 'conduit_blueprint_util_mesh'.

* * Refactored the 'blueprint::util::mesh::coordset' functions to eliminate the unused 'coords' function.
* Integrated the 'blueprint::util::mesh' constants into the BP meshing test cases.
* Made all of the 'blueprint::util::mesh' constants all caps to match Conduit convention.

* * Added 'blueprint_util_o2mrelation' module to serve as equivalent to 'blueprint_util_mesh' module.

* * Refactored 'offsets' Blueprint utility functions to just const and non-const 'generate_offsets'.
* Added regression tests for the new public Blueprint query functions in 't_blueprint_mesh_query.cpp'.

* * Changed 'blueprint::util::{mesh|o2mrelation}' to 'blueprint::{mesh|o2mrelation}::util'.'

* * Moved 'blueprint::{mesh|o2mrelation}::util' to 'blueprint::{mesh|o2mrelation}::utils'.
  • Loading branch information
xjrc committed Mar 16, 2021
1 parent 83ef572 commit 8a0591a
Show file tree
Hide file tree
Showing 14 changed files with 2,103 additions and 1,639 deletions.
4 changes: 4 additions & 0 deletions src/libs/blueprint/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,14 @@ configure_file ("${CMAKE_CURRENT_SOURCE_DIR}/conduit_blueprint_exports.h.in"
set(blueprint_headers
conduit_blueprint.hpp
conduit_blueprint_mesh.hpp
conduit_blueprint_mesh_utils.hpp
conduit_blueprint_mesh_examples.hpp
conduit_blueprint_mesh_examples_julia.hpp
conduit_blueprint_mesh_examples_venn.hpp
conduit_blueprint_mcarray.hpp
conduit_blueprint_mcarray_examples.hpp
conduit_blueprint_o2mrelation.hpp
conduit_blueprint_o2mrelation_utils.hpp
conduit_blueprint_o2mrelation_iterator.hpp
conduit_blueprint_o2mrelation_examples.hpp
conduit_blueprint_zfparray.hpp
Expand All @@ -47,13 +49,15 @@ set(blueprint_c_headers
set(blueprint_sources
conduit_blueprint.cpp
conduit_blueprint_mesh.cpp
conduit_blueprint_mesh_utils.cpp
conduit_blueprint_mesh_matset_xforms.cpp
conduit_blueprint_mesh_examples.cpp
conduit_blueprint_mesh_examples_julia.cpp
conduit_blueprint_mesh_examples_venn.cpp
conduit_blueprint_mcarray.cpp
conduit_blueprint_mcarray_examples.cpp
conduit_blueprint_o2mrelation.cpp
conduit_blueprint_o2mrelation_utils.cpp
conduit_blueprint_o2mrelation_iterator.cpp
conduit_blueprint_o2mrelation_examples.cpp
conduit_blueprint_zfparray.cpp
Expand Down
Loading

0 comments on commit 8a0591a

Please sign in to comment.