Curvature computation.
More...
A set of routines to compute the curvature associated to the level set field. We provide 2 methods:
- the standard method where \( \kappa_{ls} = \nabla \cdot \vec{n} \)
◆ compute_levelset_curvature_by_method()
subroutine mod_lsm_curvature::compute_levelset_curvature_by_method |
( |
class(t_levelset), intent(in), target | my_levelset, |
|
|
double precision, dimension(:,:,:), intent(inout) | curvature ) |
The method is chosen within the my_levelset
object.
◆ compute_levelset_curvature_div_n()
subroutine mod_lsm_curvature::compute_levelset_curvature_div_n |
( |
class(t_levelset), intent(in) | my_levelset, |
|
|
double precision, dimension(:,:,:), intent(out) | curvature ) |
- Todo
- MCO: find another solution for bndc
- Parameters
-
[in,out] | my_levelset | The input levelset |
[out] | curvature | The resulting curvature field |
◆ compute_levelset_curvature_with_cp()
subroutine mod_lsm_curvature::compute_levelset_curvature_with_cp |
( |
class(t_levelset_cp), intent(in) | my_levelset, |
|
|
double precision, dimension(:,:,:), intent(in) | init_curvature, |
|
|
double precision, dimension(:,:,:,:), intent(in) | closest_points, |
|
|
integer, dimension(:,:,:), intent(in) | proc_id, |
|
|
double precision, dimension(:,:,:), intent(inout) | curvature ) |
- Parameters
-
[in,out] | my_levelset | The levelset |
[in] | init_curvature | The input smooth curvature (usually obtained with normal div method) |
[in] | closest_points | The (pre computed) closest points |
[in] | proc_id | The (pre computed) closest points associated processor ID (for MPI queries) |
[in,out] | curvature | The output curvature |