sandialabs / WecOptTool

WEC Design Optimization Toolbox
https://sandialabs.github.io/WecOptTool/
GNU General Public License v3.0
13 stars 22 forks source link

Add warnings when adding inertia and hydrostatic stiffness automatically #346

Closed jtgrasb closed 4 months ago

jtgrasb commented 4 months ago

Description

This PR resolves #345 by adding warning messages when we call run_bem and add the inertia matrix and hydrostatic stiffness automatically. Capytaine uses the mass of the FloatingBody if defined. If not, itassumes neutral buoyancy for calculating the inertia matrix and hydrostatic stiffness.

coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9022669600

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details


Totals Coverage Status
Change from base Build 8978137980: 0.003%
Covered Lines: 2769
Relevant Lines: 2926

💛 - Coveralls