version 0.6.0
mod_lsm_heaviside_regularized Module Reference

Volume fraction computations with smooth Heaviside approach.

Functions/Subroutines

subroutine levelset_compute_volume_fraction_generic_func (my_levelset, volume_fraction, H_func)
 Apply the Heaviside function to the level set with a given generic H function. More...
 

Function/Subroutine Documentation

◆ levelset_compute_volume_fraction_generic_func()

subroutine mod_lsm_heaviside_regularized::levelset_compute_volume_fraction_generic_func ( class(t_levelset), intent(in)  my_levelset,
double precision, dimension(:,:,:), intent(inout)  volume_fraction,
procedure(func_r2_r)  H_func 
)
Parameters
my_levelsetThe input levelset
volume_fractionThe resulting volume fraction
H_funcThe Heaviside function. It's a R2->R function in order to pass an optionnal supplementary argument (usualy eps)