InitializePhi< dim, number > Class Template Reference
|
Developer Documentation
|
Field function for the initial level-set. More...
#include <reinit_circle.hpp>
Public Member Functions | |
| InitializePhi (const dealii::Point< dim, number > center_point, const number radius, const LevelSet::LevelSetType level_set_type_in, const bool apply_initial_jump_at_interface_in, const number distortion_parameter_in, const number eps_in) | |
| Constructor. | |
| number | value (const dealii::Point< dim, number > &p, const unsigned int) const override |
Computes the current function value at a specific coordinate point p. | |
Private Attributes | |
| const dealii::Functions::SignedDistance::Sphere< dim > | distance_sphere |
| Signed distance function for a hyperspherical zero level-set isosurface. | |
| const LevelSet::LevelSetType | level_set_type |
| Level-set type. | |
| const bool | apply_initial_jump_at_interface |
| Boolean indicator if the initial level-set field should have a jump at the interface. | |
| const number | distortion_parameter |
| Level-set distortion parameter. | |
| const number | eps |
Detailed Description
class MeltPoolDG::Simulation::ReinitCircle::InitializePhi< dim, number >
Field function for the initial level-set.
The initial level-set is distorted either by introducing a sharp jump at the interface or by scaling it with a factor distortion_factor. For the level-set types 'tanh' and 'smoothed_heaviside', the interface thickness parameter eps is scaled accordingly.
The level-set is >0 inside the hyperspherical zero level-set isosurface and <0 outside.
Constructor & Destructor Documentation
◆ InitializePhi()
|
inline |
Constructor.
- Parameters
-
center_point Point containing the coordinates of the origin of the hyperspherical level-set field. radius Radius of the level-set zero iso-surface. level_set_type_in Given level-set type. apply_initial_jump_at_interface_in Boolean option to indicate when the initial level-set should have a jump. distortion_parameter_in Level-set distortion parameter. eps_in Interface thickness parameter (only relevant for level-set types 'tanh' and 'smoothed_heaviside')
Member Function Documentation
◆ value()
|
inlineoverride |
Computes the current function value at a specific coordinate point p.
- Parameters
-
p Coordinate point at which the function should be evaluated.
- Returns
- The evaluated function value at the given point
p.
Member Data Documentation
◆ apply_initial_jump_at_interface
|
private |
Boolean indicator if the initial level-set field should have a jump at the interface.
◆ distance_sphere
|
private |
Signed distance function for a hyperspherical zero level-set isosurface.
◆ distortion_parameter
|
private |
Level-set distortion parameter.
◆ eps
|
private |
Interface thickness parameter (only relevant for level-set types 'tanh' and 'smoothed_heaviside').
◆ level_set_type
|
private |
Level-set type.
The documentation for this class was generated from the following file:
- applications/mp-reinit/cases/reinit_circle/reinit_circle.hpp
Generated by