waLBerla 7.3
Loading...
Searching...
No Matches
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>

Classes

class  walberla::postprocessing::TriangleMesh
 Class for storing a triangle mesh. More...

Namespaces

namespace  walberla
 Storage for detected contacts which can be used to perform actions for all contacts, e.g.
namespace  walberla::postprocessing

Functions

template<typename Field_T>
static Vector3< real_twalberla::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 >(1_r), uint_t fCoord=uint_t{0}, const Vector3< real_t > &offset=Vector3< real_t >(0_r), const CellInterval &cellInterval=CellInterval(), bool calcNormals=true)
 Creates an iso-surface mesh from a scalar field using the Marching Cubes algorithm.