version 0.6.0
mod_lsm_normal Module Reference

Normal computation.

Functions/Subroutines

subroutine compute_levelset_normal_inline (my_levelset)
 
subroutine compute_levelset_normal_only (my_levelset, normal, gradient_norm, order)
 Compute the normal associated to the level set. More...
 
subroutine compute_levelset_inplace_normal_only (ls, do_compute_norm)
 Compute the normal associated to the level set. The result is stored inside the levelset type. More...
 
subroutine compute_levelset_gradient_inline (my_levelset, order)
 Compute the level set gradient. More...
 
subroutine compute_levelset_gradient_outline (my_levelset, gradient, order)
 Compute the level set gradient. More...
 

Function/Subroutine Documentation

◆ compute_levelset_gradient_inline()

subroutine mod_lsm_normal::compute_levelset_gradient_inline ( class(t_levelset), intent(inout)  my_levelset,
integer, intent(in), optional  order 
)
Note
also allocates the inner array in the LS object

◆ compute_levelset_gradient_outline()

subroutine mod_lsm_normal::compute_levelset_gradient_outline ( class(t_levelset), intent(in)  my_levelset,
double precision, dimension(nx,ny,nz,spatial_dimension), intent(inout)  gradient,
integer, intent(in)  order 
)
Parameters
my_levelsetThe input levelset object
normalThe output gradient (nd,nx,ny,nz)

◆ compute_levelset_inplace_normal_only()

subroutine mod_lsm_normal::compute_levelset_inplace_normal_only ( class(t_levelset), intent(inout)  ls,
logical, intent(in)  do_compute_norm 
)
Parameters
[in,out]lsThe input/output levelset (nx,ny,nz)
[in]do_compute_normDo compute or not the gradient's norm

◆ compute_levelset_normal_only()

subroutine mod_lsm_normal::compute_levelset_normal_only ( class(t_levelset), intent(in)  my_levelset,
double precision, dimension(:,:,:,:), intent(inout)  normal,
double precision, dimension(:,:,:), intent(inout), optional  gradient_norm,
integer, intent(in), optional  order 
)
Parameters
my_levelsetThe input levelset (nx,ny,nz)
normalThe output normal (nx,ny,nz,:)
gradient_normThe output gradient's norm (nx,ny,nz,:)