Overview of the modules¶
tools¶
Depends on: none.
Miscellaneous independent tools, used by most of the other modules. Especially
optional_importsanddeprecation_handlingare used all over the place without being explicitly referenced as a dependency in the present page.
meshes¶
Depends on: none.
This module contains classes describing the mesh of a floating body. Several variants, including collections of meshes and symmetric meshes are also available. Most of this module comes from the meshmagick package by François Rongère. It also contains some tools to generate meshes of simple geometrical shapes.
bodies¶
Depends on:
meshes.This module contains a class describing a floating body, that is the reunion of a mesh and some degrees of freedom, as well as some more optional data.
green_functions¶
Depends on:
tools.This module contains the routine to evaluate the Green function.
bem¶
Depends on:
meshes,bodies,matrices,green_functions,io.xarrayandtools.The module is the core of the code. It contains the routines to assemble the matrices and solve the BEM problem.
io.xarray¶
Depends on:
bem.This submodule contains the code used to read and write the
xarraydatasets that are the standard output of the code. It is interlaced withcapytaine.bemand might be merged with it in the future.
post_pro¶
io¶
ui¶
Depends on most of the other modules.
This modules contains the code handling the user interfaces: the display of the outputs in the terminal using Rich, the command line interface and the 3D visualisations of the meshes with VTK.