A public container which includes all information provided by LevelSet. More...
Public Member Functions | |
LevelSetInfo () | |
LevelSetInfo (double, const std::array< double, 3 > &) | |
Public Attributes | |
std::array< double, 3 > | gradient |
double | value |
Detailed Description
A public container which includes all information provided by LevelSet.
LevelSetInfo conatins the following information
- distance to closest object
- gradient of level set function
Definition at line 59 of file levelSetCommon.hpp.
Constructor & Destructor Documentation
◆ LevelSetInfo() [1/2]
bitpit::LevelSetInfo::LevelSetInfo | ( | ) |
Default constructor
Definition at line 45 of file levelSetCommon.cpp.
◆ LevelSetInfo() [2/2]
bitpit::LevelSetInfo::LevelSetInfo | ( | double | v, |
const std::array< double, 3 > & | g ) |
Complete constructor
- Parameters
-
[in] v value of levelset function [in] g gradient of levelset function
Definition at line 53 of file levelSetCommon.cpp.
Member Data Documentation
◆ gradient
std::array<double,3> bitpit::LevelSetInfo::gradient |
Levelset gradient
Definition at line 61 of file levelSetCommon.hpp.
◆ value
double bitpit::LevelSetInfo::value |
Levelset value
Definition at line 60 of file levelSetCommon.hpp.
The documentation for this struct was generated from the following files:
- src/levelset/levelSetCommon.hpp
- src/levelset/levelSetCommon.cpp
