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

Import the regular grid, on which the level set values are defined, from an explicit Mesh<>. The Vertices must be defined, as well as a scalar data field "LSValues". If used for custom read-in, make sure all vertices are lexicographically sorted. More...

#include <lsFromMesh.hpp>

Public Member Functions

 FromMesh ()
 
 FromMesh (SmartPointer< Domain< T, D > > passedLevelSet, const SmartPointer< Mesh< T > > passedMesh)
 
void setLevelSet (SmartPointer< Domain< T, D > > passedlsDomain)
 
void setMesh (const SmartPointer< Mesh< T > > passedMesh)
 
void setSortPointList (bool passedSortPointList)
 
void apply ()
 

Detailed Description

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

Import the regular grid, on which the level set values are defined, from an explicit Mesh<>. The Vertices must be defined, as well as a scalar data field "LSValues". If used for custom read-in, make sure all vertices are lexicographically sorted.

Constructor & Destructor Documentation

◆ FromMesh() [1/2]

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

◆ FromMesh() [2/2]

template<class T , int D>
viennals::FromMesh< T, D >::FromMesh ( SmartPointer< Domain< T, D > > passedLevelSet,
const SmartPointer< Mesh< T > > passedMesh )
inline

Member Function Documentation

◆ apply()

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

◆ setLevelSet()

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

◆ setMesh()

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

◆ setSortPointList()

template<class T , int D>
void viennals::FromMesh< T, D >::setSortPointList ( bool passedSortPointList)
inline

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