class_surface_procedures Submodule

returns true if the surface has been set up already


Uses

  • module~~class_surface_procedures~~UsesGraph module~class_surface_procedures class_surface_procedures module~class_cylinder class_cylinder module~class_surface_procedures->module~class_cylinder module~class_plane class_plane module~class_surface_procedures->module~class_plane module~class_surface class_surface module~class_surface_procedures->module~class_surface module~class_vertex class_vertex module~class_cylinder->module~class_vertex module~class_vector class_vector module~class_cylinder->module~class_vector module~class_psblas class_psblas module~class_cylinder->module~class_psblas module~class_plane->module~class_vector module~class_plane->module~class_psblas module~class_surface->module~class_cylinder module~class_surface->module~class_plane module~class_connectivity class_connectivity module~class_surface->module~class_connectivity module~class_vertex->module~class_vector module~class_vertex->module~class_psblas module~class_vector->module~class_psblas module~class_stopwatch class_stopwatch module~class_psblas->module~class_stopwatch module~tools_psblas tools_psblas module~class_psblas->module~tools_psblas module~class_connectivity->module~class_psblas module~class_stopwatch->module~tools_psblas psb_base_mod psb_base_mod module~class_stopwatch->psb_base_mod psb_prec_mod psb_prec_mod module~tools_psblas->psb_prec_mod module~tools_psblas->psb_base_mod psb_krylov_mod psb_krylov_mod module~tools_psblas->psb_krylov_mod

Contents


Module Procedures

module procedure alloc_surface module subroutine alloc_surface(v2b, ib, vertices, this_surface)

Arguments

Type IntentOptional AttributesName
type(connectivity), intent(in) :: v2b
integer, intent(in) :: ib
type(vertex), intent(in) :: vertices(:)
type(surface), intent(inout) :: this_surface

module procedure free_surface module subroutine free_surface(this_surface)

Arguments

Type IntentOptional AttributesName
class(surface), intent(inout) :: this_surface

module procedure get_closest_point module function get_closest_point(this_surface, point)

Returns the point on a surface that is closest to the given point

Arguments

Type IntentOptional AttributesName
class(surface), intent(in) :: this_surface
type(vector), intent(in) :: point

Return Value type(vector)

module procedure get_surface_normal module function get_surface_normal(this_surface, this_point)

Arguments

Type IntentOptional AttributesName
class(surface), intent(in) :: this_surface
type(vector), intent(in) :: this_point

Return Value type(vector)

module procedure get_surface_r2 module function get_surface_r2(this_surface)

Returns the goodness of fit, R2 value, from 0 to 1

Arguments

Type IntentOptional AttributesName
class(surface), intent(in) :: this_surface

Return Value real(kind=psb_dpk_)

module procedure get_surface_type module function get_surface_type(this_surface)

Arguments

Type IntentOptional AttributesName
class(surface), intent(in) :: this_surface

Return Value integer

module procedure nemo_surface_sizeof elemental module function nemo_surface_sizeof(surf)

Arguments

Type IntentOptional AttributesName
class(surface), intent(in) :: surf

Return Value integer(kind=nemo_int_long_)

module procedure reform_vertex module subroutine reform_vertex(this_surface, vtx)

moves the given vertex onto the closest point on the surface

Arguments

Type IntentOptional AttributesName
class(surface), intent(in) :: this_surface
type(vertex), intent(inout) :: vtx

module procedure translate_surface module subroutine translate_surface(this_surface, offset)

Move a surface by translating it in 3D space

Arguments

Type IntentOptional AttributesName
class(surface), intent(inout) :: this_surface
type(vector), intent(in) :: offset