capytaine.green_functions.hams module

class capytaine.green_functions.hams.FinGreen3D(*, nb_dispersion_roots=200)[source]

Bases: AbstractGreenFunction

Wrapper for the Fortran implementation of the finite depth Green function of [Liu et al.].

Uses the same implementation as Delhommeau() for the Rankine and reflected Rankine terms.

compute_dispersion_relation_roots(nk, wavenumber, depth)[source]
dummy_param = -999
evaluate(mesh1, mesh2, free_surface, water_depth, wavenumber, adjoint_double_layer=True, early_dot_product=True)[source]
finite_depth_method_index = array(-1, dtype=int32)
floating_point_precision: str = 'float64'
fortran_core = <module 'capytaine.green_functions.libs.Delhommeau_float64' from '/opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/site-packages/capytaine/green_functions/libs/Delhommeau_float64.cpython-312-x86_64-linux-gnu.so'>
gf_singularities_index = array(1, dtype=int32)
prony_decomposition = array([[0.]])
tabulated_integrals = array([1.13331306e-313])
tabulated_r_range = array([6.93294341e-310])
tabulated_z_range = array([6.93294341e-310])
tabulation_nb_integration_points = 1
class capytaine.green_functions.hams.HAMS_GF[source]

Bases: AbstractGreenFunction

evaluate(mesh1, mesh2, free_surface, water_depth, wavenumber, adjoint_double_layer=True, early_dot_product=True)[source]
exportable_settings = {'green_function': 'HAMS_GF'}
floating_point_precision: str = 'float64'
class capytaine.green_functions.hams.LiangWuNoblesseGF[source]

Bases: AbstractGreenFunction

Wrapper for the Fortran implementation of the infinite depth Green function of [Liang, Wu, Noblesse, 2018].

Uses the same implementation as Delhommeau() for the Rankine and reflected Rankine terms.

dispersion_relation_roots = array([6.93294341e-310])
dummy_param = -999
evaluate(mesh1, mesh2, free_surface=0.0, water_depth=inf, wavenumber=1.0, adjoint_double_layer=True, early_dot_product=True)[source]
exportable_settings = {'green_function': 'LiangWuNoblesseGF'}
finite_depth_method_index = -9999
floating_point_precision: str = 'float64'
fortran_core = <module 'capytaine.green_functions.libs.Delhommeau_float64' from '/opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/site-packages/capytaine/green_functions/libs/Delhommeau_float64.cpython-312-x86_64-linux-gnu.so'>
prony_decomposition = array([[0.]])
tabulated_integrals = array([6.93294341e-310])
tabulated_r_range = array([1.13331306e-313])
tabulated_z_range = array([6.93294341e-310])
tabulation_grid_shape_index = array(-1, dtype=int32)
tabulation_nb_integration_points = 1