0.6.0
Loading...
Searching...
No Matches

Geometrical methods for level sets. More...

Topics

 Band
 LSM band related functions.
 
 Curvature
 Curvature computation.
 
 Volume Fraction
 Volume fraction methods for level sets.
 
 Various tools (Heaviside, Dirac, etc.)
 Heaviside, Dirac, etc. computation.
 

Namespaces

module  mod_lsm_compute_closest_points
 Level set / Closest point wrappers.
 
module  mod_lsm_normal
 Normal computation.
 
module  mod_lsm_solve_mean_curvature_flow
 Solve the mean curvature flow for LS.
 

Functions

subroutine mod_lsm_normal::compute_levelset_normal_only (my_levelset, normal, gradient_norm, order)
 Compute the normal associated to the level set.
 
subroutine mod_lsm_normal::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.
 
subroutine mod_lsm_normal::compute_levelset_gradient_inline (my_levelset, order)
 Compute the level set gradient.
 
subroutine mod_lsm_normal::compute_levelset_gradient_outline (my_levelset, gradient, order)
 Compute the level set gradient.
 

Detailed Description

Geometrical methods for level sets.

This module provides several methods for geometrical operations for level sets, such as:

Function 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 )

Compute the level set gradient.

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 )

Compute the level set gradient.

Todo
documentation missing

◆ 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 )

Compute the normal associated to the level set. The result is stored inside the levelset type.

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 )

Compute the normal associated to the level set.

Parameters
my_levelsetThe input levelset (nx,ny,nz)
normalThe output normal (nx,ny,nz,:)
gradient_normThe output gradient's norm (nx,ny,nz,:)
orderThe (optional) order of the method