version 0.6.0
Loading...
Searching...
No Matches
Various tools (Heaviside, Dirac, etc.)

Heaviside, Dirac, etc. computation. More...

Functions/Subroutines

subroutine mod_lsm_regularization::levelset_apply_regularization_function (my_levelset, volume_fraction, func)
 Apply a given regularized function to the level set.
 

Detailed Description

This modules proposes various functions for level sets.

Function/Subroutine Documentation

◆ levelset_apply_regularization_function()

subroutine mod_lsm_regularization::levelset_apply_regularization_function ( class(t_levelset), intent(in) my_levelset,
double precision, dimension(:,:,:), intent(inout) volume_fraction,
procedure(func_r2_r) func )

The function can be anything of the type f(-phi,epsilon) (by convention). For example, one can give the Heaviside function or a Dirac function.

Parameters
my_levelsetThe input levelset
volume_fractionThe resulting volume fraction
funcThe Heaviside/Dirac function. It's a R2->R function in order to pass an optional supplementary argument (usually epsilon)