InitialLevelSet< dim > Class Template Reference
|
Developer Documentation
|
MeltPoolDG::Simulation::LaserMeltingSimonds::InitialLevelSet< dim > Class Template Reference
Initial level-set function for the horizontal substrate-gas interface. More...
#include <laser_melting_simonds.hpp>
Inheritance diagram for MeltPoolDG::Simulation::LaserMeltingSimonds::InitialLevelSet< dim >:
Collaboration diagram for MeltPoolDG::Simulation::LaserMeltingSimonds::InitialLevelSet< dim >:
Public Member Functions | |
| InitialLevelSet (const double eps, const LevelSet::LevelSetType level_set_type=LevelSet::LevelSetType::tanh) | |
| Construct the initial level-set function. | |
| double | value (const dealii::Point< dim > &p, const unsigned int component) const override |
| Evaluate the initial level-set field. | |
Private Attributes | |
| const dealii::Functions::SignedDistance::Plane< dim > | distance_plane |
| Signed-distance representation of the initial planar interface. | |
| const double | eps |
| Interface thickness parameter for regularized level-set fields. | |
| const LevelSet::LevelSetType | level_set_type |
| Selected level-set representation. | |
Detailed Description
template<int dim>
class MeltPoolDG::Simulation::LaserMeltingSimonds::InitialLevelSet< dim >
class MeltPoolDG::Simulation::LaserMeltingSimonds::InitialLevelSet< dim >
Initial level-set function for the horizontal substrate-gas interface.
The interface is represented by a plane through the origin with normal in the negative vertical direction. Depending on the selected LevelSet::LevelSetType, the function returns either a signed distance, a tanh-regularized characteristic function, or a smoothed Heaviside function.
- Template Parameters
-
dim Spatial dimension.
Constructor & Destructor Documentation
◆ InitialLevelSet()
template<int dim>
| MeltPoolDG::Simulation::LaserMeltingSimonds::InitialLevelSet< dim >::InitialLevelSet | ( | const double | eps, |
| const LevelSet::LevelSetType | level_set_type = LevelSet::LevelSetType::tanh |
||
| ) |
Construct the initial level-set function.
- Parameters
-
eps Interface thickness parameter used for regularized level-set representations. level_set_type Type of level-set representation to evaluate.
Member Function Documentation
◆ value()
template<int dim>
|
override |
Evaluate the initial level-set field.
- Parameters
-
p Evaluation point. component Component index. This function is scalar and ignores the component.
- Returns
- Level-set value at point
p.
Member Data Documentation
◆ distance_plane
template<int dim>
|
private |
Signed-distance representation of the initial planar interface.
◆ eps
template<int dim>
|
private |
Interface thickness parameter for regularized level-set fields.
◆ level_set_type
template<int dim>
|
private |
Selected level-set representation.
The documentation for this class was generated from the following files:
- applications/mp-melt-pool/cases/laser_melting_simonds/laser_melting_simonds.hpp
- applications/mp-melt-pool/cases/laser_melting_simonds/laser_melting_simonds.templates.hpp
Generated by