capytaine.green_functions.hams module¶
- class capytaine.green_functions.hams.FinGreen3D(*, nb_dispersion_roots=200)[source]¶
Bases:
AbstractGreenFunctionWrapper 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.
- property all_tabulation_parameters¶
An alias meant to pass to the Fortran functions all the parameters controlling the tabulation in a single item.
- dummy_param = -999¶
- evaluate(mesh1, mesh2, *, free_surface=0.0, water_depth=inf, wavenumber, adjoint_double_layer=True, early_dot_product=True, diagonal_term_in_double_layer=True)[source]¶
- finite_depth_method_index = array(-1, dtype=int32)¶
- floating_point_precision: str = 'float64'¶
- fortran_core = <module 'capytaine.green_functions.Delhommeau_float64' from '/home/runner/work/_temp/setup-uv-cache/archive-v0/5qRPcKhG1aeHwHzY/lib/python3.12/site-packages/capytaine/green_functions/Delhommeau_float64.cpython-312-x86_64-linux-gnu.so'>¶
- gf_singularities_index = array(1, dtype=int32)¶
- prony_decomposition = array([[0.]])¶
- tabulated_integrals = array([5.0256204e-315])¶
- tabulated_r_range = array([5.01079223e-315])¶
- tabulated_z_range = array([1.225164e-318])¶
- tabulation_grid_shape_index = -999¶
- tabulation_nb_integration_points = 1¶
- class capytaine.green_functions.hams.HAMS_GF[source]¶
Bases:
AbstractGreenFunction- exportable_settings = {'green_function': 'HAMS_GF'}¶
- floating_point_precision: str = 'float64'¶
- class capytaine.green_functions.hams.LiangWuNoblesseGF[source]¶
Bases:
AbstractGreenFunctionWrapper 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.
- property all_tabulation_parameters¶
An alias meant to pass to the Fortran functions all the parameters controlling the tabulation in a single item.
- dispersion_relation_roots = array([5.01572303e-315])¶
- dummy_param = -999¶
- evaluate(mesh1, mesh2, *, free_surface=0.0, water_depth=inf, wavenumber, adjoint_double_layer=True, early_dot_product=True, diagonal_term_in_double_layer=True)[source]¶
- exportable_settings = {'green_function': 'LiangWuNoblesseGF'}¶
- finite_depth_method_index = -9999¶
- floating_point_precision: str = 'float64'¶
- fortran_core = <module 'capytaine.green_functions.Delhommeau_float64' from '/home/runner/work/_temp/setup-uv-cache/archive-v0/5qRPcKhG1aeHwHzY/lib/python3.12/site-packages/capytaine/green_functions/Delhommeau_float64.cpython-312-x86_64-linux-gnu.so'>¶
- prony_decomposition = array([[0.]])¶
- tabulated_integrals = array([5.01855085e-315])¶
- tabulated_r_range = array([5.01573542e-315])¶
- tabulated_z_range = array([6.91930389e-310])¶
- tabulation_grid_shape_index = array(-1, dtype=int32)¶
- tabulation_nb_integration_points = 1¶