Geometrical methods for level sets.
More...
This module provides several methods for geometrical operations for level sets, such as:
- volume fraction
- normal
- curvature computations.
◆ 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 ) |
- 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 ) |
- Parameters
-
[in,out] | ls | The input/output levelset (nx,ny,nz) |
[in] | do_compute_norm | Do 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_levelset | The input levelset (nx,ny,nz) |
normal | The output normal (nx,ny,nz,:) |
gradient_norm | The output gradient's norm (nx,ny,nz,:) |
order | The (optional) order of the method |