InitialSignedDistance< dim > Class Template Reference

Developer Documentation: MeltPoolDG::Simulation::SingleTrackMelt::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 >:
[legend]
Collaboration diagram for MeltPoolDG::Simulation::SingleTrackMelt::InitialSignedDistance< dim >:
[legend]

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 >

Initial signed-distance function for a flat interface.

The signed distance is initialized as

\[ \phi(\mathbf{x}) = -y + y_\mathrm{interface}. \]

Template Parameters
dimSpatial 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_interfaceInitial y-position of the interface.

Member Function Documentation

◆ value()

template<int dim>
double MeltPoolDG::Simulation::SingleTrackMelt::InitialSignedDistance< dim >::value ( const Point< dim > &  p,
const unsigned int  component = 0 
) const
override

Evaluate the initial signed-distance value.

Parameters
pEvaluation point.
componentFunction component. Ignored for this scalar function.
Returns
Signed distance to the initial horizontal interface.

Member Data Documentation

◆ y_interface

template<int dim>
const double MeltPoolDG::Simulation::SingleTrackMelt::InitialSignedDistance< dim >::y_interface
private

Initial y-position of the interface.


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