capytaine.bodies.multibodies module

class capytaine.bodies.multibodies.Multibody(bodies: List[FloatingBody | Multibody], *, name: str | None = None)[source]

Bases: object

add_dofs_labels_to_matrix(matrix)[source]

Helper function turning a bare matrix into a matrix labelled by the name of the dofs of the body, to be used for instance for the computation of RAO.

add_dofs_labels_to_vector(vector)[source]

Helper function turning a bare vector into a vector labelled by the name of the dofs of the body, to be used for instance for the computation of RAO.

as_FloatingBody()[source]
property center_of_buoyancy
property center_of_mass
compute_hydrostatic_stiffness(*, rho=1000.0, g=9.81)[source]
compute_rigid_body_inertia(rho=1000.0)[source]
property dofs
first_irregular_frequency_estimate(*args, **kwargs)[source]
property hull_mask
immersed_part(*args, **kwargs)[source]
integrate_pressure(pressure)[source]
join_bodies(*, name=None)[source]
property lid_mesh
property mass
property mesh
property mesh_including_lid
property minimal_computable_wavelength
property nb_dofs
property volume