MarchingCubes.impl.h File Reference

Detailed Description

#include "core/debug/Debug.h"
#include "field/GhostLayerField.h"
#include "geometry/mesh/TriangleMesh.h"
#include "core/logging/Logging.h"
#include <type_traits>

Namespaces

 walberla
 \file TimestepTracker.h \ingroup lbm \author Frederik Hennig frede.nosp@m.rik..nosp@m.henni.nosp@m.g@fa.nosp@m.u.de
 
 walberla::postprocessing
 

Functions

template<typename Field_T >
static Vector3< real_t > walberla::postprocessing::calcNormal (const Field_T &f, cell_idx_t i, cell_idx_t j, cell_idx_t k, uint_t fCoord)
 
template<typename Field_T , bool calcNormals>
void walberla::postprocessing::generateIsoSurface_internal (const Field_T &f, real_t threshold, TriangleMesh &mesh, const Vector3< real_t > &dx, uint_t fCoord, const Vector3< real_t > &posOffset, const CellInterval &cellInterval)
 
template<typename Field_T >
void walberla::postprocessing::generateIsoSurface (const Field_T &field, real_t threshold, geometry::TriangleMesh &mesh, const Vector3< real_t > &dx=Vector3< real_t >(real_t(1)), uint_t fCoord=uint_t(0), const Vector3< real_t > &offset=Vector3< real_t >(real_t(0)), const CellInterval &cellInterval=CellInterval(), bool calcNormals=true)
 Creates an iso-surface mesh from a scalar field using the Marching Cubes algorithm. More...