InitialSignedDistance< dim > Class Template Reference
|
Developer Documentation
|
MeltPoolDG::Simulation::SingleTrackMelt::InitialSignedDistance< dim > Class Template Reference
Initial signed-distance function for a flat interface. More...
#include <single_track_melt.hpp>
Inheritance diagram for MeltPoolDG::Simulation::SingleTrackMelt::InitialSignedDistance< dim >:
Collaboration diagram for MeltPoolDG::Simulation::SingleTrackMelt::InitialSignedDistance< dim >:
Public Member Functions | |
| InitialSignedDistance (const double y_interface) | |
| Construct the initial signed-distance function. | |
| double | value (const Point< dim > &p, const unsigned int component=0) const override |
| Evaluate the initial signed-distance value. | |
Private Attributes | |
| const double | y_interface |
| Initial y-position of the interface. | |
Detailed Description
template<int dim>
class MeltPoolDG::Simulation::SingleTrackMelt::InitialSignedDistance< dim >
class MeltPoolDG::Simulation::SingleTrackMelt::InitialSignedDistance< dim >
Initial signed-distance function for a flat interface.
The signed distance is initialized as
\[ \phi(\mathbf{x}) = -y + y_\mathrm{interface}. \]
- Template Parameters
-
dim Spatial dimension.
Constructor & Destructor Documentation
◆ InitialSignedDistance()
template<int dim>
| MeltPoolDG::Simulation::SingleTrackMelt::InitialSignedDistance< dim >::InitialSignedDistance | ( | const double | y_interface | ) |
Construct the initial signed-distance function.
- Parameters
-
y_interface Initial y-position of the interface.
Member Function Documentation
◆ value()
template<int dim>
|
override |
Evaluate the initial signed-distance value.
- Parameters
-
p Evaluation point. component Function component. Ignored for this scalar function.
- Returns
- Signed distance to the initial horizontal interface.
Member Data Documentation
◆ y_interface
template<int dim>
|
private |
Initial y-position of the interface.
The documentation for this class was generated from the following files:
- applications/mp-melt-pool/cases/single_track_melt/single_track_melt.hpp
- applications/mp-melt-pool/cases/single_track_melt/single_track_melt.templates.hpp
Generated by