EBGeometry
Compact, header-only C++ library for fast evaluation of signed distance functions
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
EBGeometry_FunctionQueries.hpp File Reference

Queries that work on any function of a point: a bounding-volume estimate and a normal. More...

#include <cstdint>
#include <type_traits>
#include <utility>
#include "EBGeometry_BoundingVolumes.hpp"
#include "EBGeometry_GPU.hpp"
#include "EBGeometry_Vec.hpp"
#include "EBGeometry_FunctionQueriesImplem.hpp"
Include dependency graph for EBGeometry_FunctionQueries.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  EBGeometry
 Namespace containing all of EBGeometry's functionality.
 

Functions

template<class F , class T >
BoundingVolumes::AABBT< T > EBGeometry::approximateBoundingVolumeOctree (const F &a_function, const Vec3T< T > &a_initialLowCorner, const Vec3T< T > &a_initialHighCorner, const unsigned int a_maxTreeDepth, const T &a_safety=T(0)) noexcept
 Estimate the bounding box of a function's zero level set by octree subdivision.
 
template<class F , class T >
Vec3T< T > EBGeometry::normal (const F &a_function, const Vec3T< T > &a_point, const T &a_delta) noexcept
 Outward unit normal of a function's level set, by central finite differences.
 

Variables

constexpr unsigned int EBGeometry::MaxOctreeDepth = 24
 Deepest subdivision approximateBoundingVolumeOctree() accepts.
 

Detailed Description

Queries that work on any function of a point: a bounding-volume estimate and a normal.

Author
Robert Marskar