25# ifndef __BITPIT_LEVELSET_UNSTRUCTURED_KERNEL_HPP__
26# define __BITPIT_LEVELSET_UNSTRUCTURED_KERNEL_HPP__
28#include "levelSetKernel.hpp"
29#include "levelSetCache.hpp"
31# include "bitpit_volunstructured.hpp"
41 std::size_t m_cellCentroidCacheId;
42 std::size_t m_cellTangentRadiusCacheId;
43 std::size_t m_cellBoundingRadiusCacheId;
46 template<
typename value_t>
47 using CellSparseCacheContainer = std::unordered_map<long, value_t>;
48 template<
typename value_t>
67#include "levelSetUnstructuredKernel.tpp"
Base class for defining kernels that need to cache data.
Implements LevelSetKernel for unstructured meshes.
std::array< double, 3 > computeCellCentroid(long) const override
double computeCellBoundingRadius(long) const override
double computeCellTangentRadius(long) const override
LevelSetUnstructuredKernel(VolUnstructured &patch, LevelSetFillIn fillIn)
VolUnstructured * getMesh() const override
The VolUnstructured class defines a dummy unstructured volume patch.