ViennaLS
Loading...
Searching...
No Matches
lsCompareVolume.hpp File Reference
#include <cmath>
#include <limits>
#include <unordered_map>
#include <hrleDenseCellIterator.hpp>
#include <lsDomain.hpp>
#include <lsExpand.hpp>
#include <lsMesh.hpp>
#include <lsPreCompileMacros.hpp>

Go to the source code of this file.

Classes

class  viennals::CompareVolume< T, D >
 Computes an estimate of the volume/area where two level sets differ. The volume is calculated by iterating through the bounding box of the two level sets and comparing the cell values. The grid delta is used as the unit of volume. Custom increment values can be set for specific x, y and z ranges, allowing to count certain areas multiple times or skip them. Optionally, a passed mesh can be filled with the volume information, allowing for visualization of the differences. The code is intended for 2D and 3D level sets. More...

Namespaces

namespace  viennals

Typedefs

template<class T>
using viennals::CompareArea = CompareVolume<T, 2>