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. | |
Heaviside, Dirac, etc. computation
.
This modules proposes various functions for level sets.
| 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 ) |
Apply a given regularized function to the level set.
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.
| my_levelset | The input levelset |
| volume_fraction | The resulting volume fraction |
| func | The Heaviside/Dirac function. It's a R2->R function in order to pass an optional supplementary argument (usually epsilon) |