ExactSolution< dim, number > Class Template Reference

Developer Documentation: MeltPoolDG::Simulation::ReinitCircle::ExactSolution< dim, number > Class Template Reference
Developer Documentation
MeltPoolDG::Simulation::ReinitCircle::ExactSolution< dim, number > Class Template Reference

Field function for the exact level-set solution. More...

#include <reinit_circle.hpp>

Inheritance diagram for MeltPoolDG::Simulation::ReinitCircle::ExactSolution< dim, number >:
[legend]
Collaboration diagram for MeltPoolDG::Simulation::ReinitCircle::ExactSolution< dim, number >:
[legend]

Public Member Functions

 ExactSolution (const dealii::Point< dim, number > center_point, const number radius, const LevelSet::LevelSetType level_set_type_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 number eps
 

Detailed Description

template<int dim, typename number>
class MeltPoolDG::Simulation::ReinitCircle::ExactSolution< dim, number >

Field function for the exact level-set solution.

Constructor & Destructor Documentation

◆ ExactSolution()

template<int dim, typename number >
MeltPoolDG::Simulation::ReinitCircle::ExactSolution< dim, number >::ExactSolution ( const dealii::Point< dim, number >  center_point,
const number  radius,
const LevelSet::LevelSetType  level_set_type_in,
const number  eps_in 
)
inline

Constructor.

Parameters
center_pointPoint containing the coordinates of the origin of the hyperspherical level-set field.
radiusRadius of the level-set zero iso-surface.
level_set_type_inGiven level-set type.
eps_inInterface thickness parameter (only relevant for level-set types 'tanh' and 'smoothed_heaviside').

Member Function Documentation

◆ value()

template<int dim, typename number >
number MeltPoolDG::Simulation::ReinitCircle::ExactSolution< dim, number >::value ( const dealii::Point< dim, number > &  p,
const unsigned int   
) const
inlineoverride

Computes the current function value at a specific coordinate point p.

Parameters
pCoordinate point at which the function should be evaluated.
Returns
The evaluated signed-distance function value at the given point p.

Member Data Documentation

◆ distance_sphere

template<int dim, typename number >
const dealii::Functions::SignedDistance::Sphere<dim> MeltPoolDG::Simulation::ReinitCircle::ExactSolution< dim, number >::distance_sphere
private

Signed distance function for a hyperspherical zero level-set isosurface.

◆ eps

template<int dim, typename number >
const number MeltPoolDG::Simulation::ReinitCircle::ExactSolution< dim, number >::eps
private

Interface thickness parameter (only relevant for level-set types 'tanh' and 'smoothed_heaviside').

◆ level_set_type

template<int dim, typename number >
const LevelSet::LevelSetType MeltPoolDG::Simulation::ReinitCircle::ExactSolution< dim, number >::level_set_type
private

Level-set type.


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