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

Construct a level set from an explicit mesh. More...

#include <lsFromSurfaceMesh.hpp>

Public Member Functions

 FromSurfaceMesh ()
 
 FromSurfaceMesh (SmartPointer< Domain< T, D > > passedLevelSet, SmartPointer< Mesh< T > > passedMesh, bool passedRemoveBoundaryTriangles=true)
 
void setLevelSet (SmartPointer< Domain< T, D > > passedLevelSet)
 
void setMesh (SmartPointer< Mesh< T > > passedMesh)
 
void setRemoveBoundaryTriangles (bool passedRemoveBoundaryTriangles)
 Set whether all triangles outside of the domain should be ignored (=true) or whether boundary conditions should be applied correctly to such triangles(=false). Defaults to true.
 
template<std::size_t N>
void setRemoveBoundaryTriangles (std::array< bool, N > passedRemoveBoundaryTriangles)
 Set whether all triangles outside of the domain should be ignored (=true) or whether boundary conditions should be applied correctly to such triangles(=false), for each direction. Defaults to true for all directions.
 
void apply ()
 

Detailed Description

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

Construct a level set from an explicit mesh.

Constructor & Destructor Documentation

◆ FromSurfaceMesh() [1/2]

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

◆ FromSurfaceMesh() [2/2]

template<class T , int D>
viennals::FromSurfaceMesh< T, D >::FromSurfaceMesh ( SmartPointer< Domain< T, D > > passedLevelSet,
SmartPointer< Mesh< T > > passedMesh,
bool passedRemoveBoundaryTriangles = true )
inline

Member Function Documentation

◆ apply()

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

◆ setLevelSet()

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

◆ setMesh()

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

◆ setRemoveBoundaryTriangles() [1/2]

template<class T , int D>
void viennals::FromSurfaceMesh< T, D >::setRemoveBoundaryTriangles ( bool passedRemoveBoundaryTriangles)
inline

Set whether all triangles outside of the domain should be ignored (=true) or whether boundary conditions should be applied correctly to such triangles(=false). Defaults to true.

◆ setRemoveBoundaryTriangles() [2/2]

template<class T , int D>
template<std::size_t N>
void viennals::FromSurfaceMesh< T, D >::setRemoveBoundaryTriangles ( std::array< bool, N > passedRemoveBoundaryTriangles)
inline

Set whether all triangles outside of the domain should be ignored (=true) or whether boundary conditions should be applied correctly to such triangles(=false), for each direction. Defaults to true for all directions.


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