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

Create level sets describing basic geometric forms. More...

#include <lsMakeGeometry.hpp>

Public Member Functions

 MakeGeometry ()
 
 MakeGeometry (SmartPointer< Domain< T, D > > passedLevelSet)
 
 MakeGeometry (SmartPointer< Domain< T, D > > passedLevelSet, SmartPointer< Sphere< T, D > > passedSphere)
 
 MakeGeometry (SmartPointer< Domain< T, D > > passedLevelSet, SmartPointer< Plane< T, D > > passedPlane)
 
 MakeGeometry (SmartPointer< Domain< T, D > > passedLevelSet, SmartPointer< Box< T, D > > passedBox)
 
 MakeGeometry (SmartPointer< Domain< T, D > > passedLevelSet, SmartPointer< Cylinder< T, D > > passedCylinder)
 
 MakeGeometry (SmartPointer< Domain< T, D > > passedLevelSet, SmartPointer< PointCloud< T, D > > passedPointCloud)
 
void setLevelSet (SmartPointer< Domain< T, D > > passedlsDomain)
 
void setGeometry (SmartPointer< Sphere< T, D > > passedSphere)
 Set sphere as geometry to be created in the level set.
 
void setGeometry (SmartPointer< Plane< T, D > > passedPlane)
 Set a plane to be created in the level set.
 
void setGeometry (SmartPointer< Box< T, D > > passedBox)
 Set a box to be created in the level set.
 
void setGeometry (SmartPointer< Cylinder< T, D > > passedCylinder)
 Set a cylinder to be created in the level set.
 
void setGeometry (SmartPointer< PointCloud< T, D > > passedPointCloud)
 Set a point cloud, which is used to create a geometry from its convex hull.
 
void setIgnoreBoundaryConditions (bool passedIgnoreBoundaryConditions)
 Ignore boundary conditions, meaning the parts of the generated geometry which are outside of the domain boundaries are ignored.
 
template<std::size_t N>
void setIgnoreBoundaryConditions (std::array< bool, N > passedIgnoreBoundaryConditions)
 Ignore boundary conditions, meaning the parts of the generated geometry which are outside of the domain boundaries are ignored. Set it for each direction separately.
 
void apply ()
 

Detailed Description

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

Create level sets describing basic geometric forms.

Constructor & Destructor Documentation

◆ MakeGeometry() [1/7]

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

◆ MakeGeometry() [2/7]

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

◆ MakeGeometry() [3/7]

template<class T , int D>
viennals::MakeGeometry< T, D >::MakeGeometry ( SmartPointer< Domain< T, D > > passedLevelSet,
SmartPointer< Sphere< T, D > > passedSphere )
inline

◆ MakeGeometry() [4/7]

template<class T , int D>
viennals::MakeGeometry< T, D >::MakeGeometry ( SmartPointer< Domain< T, D > > passedLevelSet,
SmartPointer< Plane< T, D > > passedPlane )
inline

◆ MakeGeometry() [5/7]

template<class T , int D>
viennals::MakeGeometry< T, D >::MakeGeometry ( SmartPointer< Domain< T, D > > passedLevelSet,
SmartPointer< Box< T, D > > passedBox )
inline

◆ MakeGeometry() [6/7]

template<class T , int D>
viennals::MakeGeometry< T, D >::MakeGeometry ( SmartPointer< Domain< T, D > > passedLevelSet,
SmartPointer< Cylinder< T, D > > passedCylinder )
inline

◆ MakeGeometry() [7/7]

template<class T , int D>
viennals::MakeGeometry< T, D >::MakeGeometry ( SmartPointer< Domain< T, D > > passedLevelSet,
SmartPointer< PointCloud< T, D > > passedPointCloud )
inline

Member Function Documentation

◆ apply()

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

◆ setGeometry() [1/5]

template<class T , int D>
void viennals::MakeGeometry< T, D >::setGeometry ( SmartPointer< Box< T, D > > passedBox)
inline

Set a box to be created in the level set.

◆ setGeometry() [2/5]

template<class T , int D>
void viennals::MakeGeometry< T, D >::setGeometry ( SmartPointer< Cylinder< T, D > > passedCylinder)
inline

Set a cylinder to be created in the level set.

◆ setGeometry() [3/5]

template<class T , int D>
void viennals::MakeGeometry< T, D >::setGeometry ( SmartPointer< Plane< T, D > > passedPlane)
inline

Set a plane to be created in the level set.

◆ setGeometry() [4/5]

template<class T , int D>
void viennals::MakeGeometry< T, D >::setGeometry ( SmartPointer< PointCloud< T, D > > passedPointCloud)
inline

Set a point cloud, which is used to create a geometry from its convex hull.

◆ setGeometry() [5/5]

template<class T , int D>
void viennals::MakeGeometry< T, D >::setGeometry ( SmartPointer< Sphere< T, D > > passedSphere)
inline

Set sphere as geometry to be created in the level set.

◆ setIgnoreBoundaryConditions() [1/2]

template<class T , int D>
void viennals::MakeGeometry< T, D >::setIgnoreBoundaryConditions ( bool passedIgnoreBoundaryConditions)
inline

Ignore boundary conditions, meaning the parts of the generated geometry which are outside of the domain boundaries are ignored.

◆ setIgnoreBoundaryConditions() [2/2]

template<class T , int D>
template<std::size_t N>
void viennals::MakeGeometry< T, D >::setIgnoreBoundaryConditions ( std::array< bool, N > passedIgnoreBoundaryConditions)
inline

Ignore boundary conditions, meaning the parts of the generated geometry which are outside of the domain boundaries are ignored. Set it for each direction separately.

◆ setLevelSet()

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

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