25# ifndef __BITPIT_LEVELSET_OCTREE_KERNEL_HPP__
26# define __BITPIT_LEVELSET_OCTREE_KERNEL_HPP__
28#include "levelSetKernel.hpp"
30#include "bitpit_voloctree.hpp"
37 std::size_t m_cellCentroidCacheId;
39 std::vector<double> m_octantTangentRadii ;
40 std::vector<double> m_octantBoundingRadii ;
43 template<
typename value_t>
44 using CellSparseCacheContainer = std::unordered_map<long, value_t>;
45 template<
typename value_t>
67#include "levelSetOctreeKernel.tpp"
Base class for defining kernels that need to cache data.
Implements LevelSetKernel for octree meshes.
double computeCellBoundingRadius(long) const override
double getOctantTangentRadius(int level) const
LevelSetOctreeKernel(VolOctree &patch, LevelSetFillIn fillIn)
std::array< double, 3 > computeCellCentroid(long) const override
double getOctantBoundingRadius(int level) const
VolOctree * getMesh() const override
double computeCellTangentRadius(long) const override
The VolOctree defines a Octree patch.