Spatial hierarchy for molecular grid points using Morton ordering.
More...
#include <spatial_grid_hierarchy.h>
Spatial hierarchy for molecular grid points using Morton ordering.
◆ SpatialGridHierarchy()
| occ::qm::SpatialGridHierarchy::SpatialGridHierarchy |
( |
const Mat3N & |
points, |
|
|
const Vec & |
weights, |
|
|
const SpatialHierarchySettings & |
settings = {} |
|
) |
| |
Construct hierarchy from points and weights.
◆ leaf_bounds()
| const GridBoundingSphere & occ::qm::SpatialGridHierarchy::leaf_bounds |
( |
size_t |
leaf_idx | ) |
const |
|
inline |
Get bounding sphere for a leaf.
◆ leaf_points()
| auto occ::qm::SpatialGridHierarchy::leaf_points |
( |
size_t |
leaf_idx | ) |
const |
|
inline |
Get points for a specific leaf (returns a block reference)
◆ leaf_weights()
| auto occ::qm::SpatialGridHierarchy::leaf_weights |
( |
size_t |
leaf_idx | ) |
const |
|
inline |
Get weights for a specific leaf.
◆ leaves()
| const std::vector< GridBatchLeaf > & occ::qm::SpatialGridHierarchy::leaves |
( |
| ) |
const |
|
inline |
◆ num_leaves()
| size_t occ::qm::SpatialGridHierarchy::num_leaves |
( |
| ) |
const |
|
inline |
◆ permutation()
| const std::vector< size_t > & occ::qm::SpatialGridHierarchy::permutation |
( |
| ) |
const |
|
inline |
Get original index mapping (sorted_idx -> original_idx)
◆ sorted_points()
| const Mat3N & occ::qm::SpatialGridHierarchy::sorted_points |
( |
| ) |
const |
|
inline |
Get sorted points (Morton-ordered)
◆ sorted_weights()
| const Vec & occ::qm::SpatialGridHierarchy::sorted_weights |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: