ViennaLS
Loading...
Searching...
No Matches
viennals::ToMesh< T, D > Class Template Reference

Extract the regular grid, on which the level set values are defined, to an explicit Mesh<>. The Vertices will contain the level set value stored at its location. (This is very useful for debugging) More...

#include <lsToMesh.hpp>

Public Member Functions

 ToMesh ()
 
 ToMesh (const SmartPointer< Domain< T, D > > passedLevelSet, SmartPointer< Mesh< T > > passedMesh, bool passedOnlyDefined=true, bool passedOnlyActive=false)
 
void setLevelSet (SmartPointer< Domain< T, D > > passedlsDomain)
 
void setMesh (SmartPointer< Mesh< T > > passedMesh)
 
void setOnlyDefined (bool passedOnlyDefined)
 
void setOnlyActive (bool passedOnlyActive)
 
void apply ()
 

Detailed Description

template<class T, int D>
class viennals::ToMesh< T, D >

Extract the regular grid, on which the level set values are defined, to an explicit Mesh<>. The Vertices will contain the level set value stored at its location. (This is very useful for debugging)

Constructor & Destructor Documentation

◆ ToMesh() [1/2]

template<class T , int D>
viennals::ToMesh< T, D >::ToMesh ( )
inline

◆ ToMesh() [2/2]

template<class T , int D>
viennals::ToMesh< T, D >::ToMesh ( const SmartPointer< Domain< T, D > > passedLevelSet,
SmartPointer< Mesh< T > > passedMesh,
bool passedOnlyDefined = true,
bool passedOnlyActive = false )
inline

Member Function Documentation

◆ apply()

template<class T , int D>
void viennals::ToMesh< T, D >::apply ( )
inline

◆ setLevelSet()

template<class T , int D>
void viennals::ToMesh< T, D >::setLevelSet ( SmartPointer< Domain< T, D > > passedlsDomain)
inline

◆ setMesh()

template<class T , int D>
void viennals::ToMesh< T, D >::setMesh ( SmartPointer< Mesh< T > > passedMesh)
inline

◆ setOnlyActive()

template<class T , int D>
void viennals::ToMesh< T, D >::setOnlyActive ( bool passedOnlyActive)
inline

◆ setOnlyDefined()

template<class T , int D>
void viennals::ToMesh< T, D >::setOnlyDefined ( bool passedOnlyDefined)
inline

The documentation for this class was generated from the following file: