InitialLevelSet< dim > Class Template Reference

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

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 >

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
dimSpatial 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
epsInterface thickness parameter used for regularized level-set representations.
level_set_typeType of level-set representation to evaluate.

Member Function Documentation

◆ value()

template<int dim>
double MeltPoolDG::Simulation::LaserMeltingSimonds::InitialLevelSet< dim >::value ( const dealii::Point< dim > &  p,
const unsigned int  component 
) const
override

Evaluate the initial level-set field.

Parameters
pEvaluation point.
componentComponent index. This function is scalar and ignores the component.
Returns
Level-set value at point p.

Member Data Documentation

◆ distance_plane

template<int dim>
const dealii::Functions::SignedDistance::Plane<dim> MeltPoolDG::Simulation::LaserMeltingSimonds::InitialLevelSet< dim >::distance_plane
private

Signed-distance representation of the initial planar interface.

◆ eps

template<int dim>
const double MeltPoolDG::Simulation::LaserMeltingSimonds::InitialLevelSet< dim >::eps
private

Interface thickness parameter for regularized level-set fields.

◆ level_set_type

template<int dim>
const LevelSet::LevelSetType MeltPoolDG::Simulation::LaserMeltingSimonds::InitialLevelSet< dim >::level_set_type
private

Selected level-set representation.


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