meshmagick.hydrostatics module¶
This module allows to perform hydrostatics computations on meshes
- meshmagick.hydrostatics.compute_hydrostatics(mesh, cog, rho_water, grav, rotmat_corr=array([[1., 0., 0.], [0., 1., 0.], [0., 0., 1.]]), z_corr=0.0, at_cog=False, lpp=None, orig_at_ap=False)[source]¶
- meshmagick.hydrostatics.displacement_equilibrium(mesh, disp_tons, rho_water, grav, cog=array([0., 0., 0.]), reltol=1e-06, verbose=False)[source]¶