Skip to content

Conversation

@dforbush2
Copy link
Contributor

This goes to main, but is equivalent of the PR below it.

@dforbush2 dforbush2 requested a review from jtgrasb February 12, 2025 20:17
@dforbush2 dforbush2 self-assigned this Feb 12, 2025
@jtgrasb jtgrasb changed the title fix #1288, cleanup waveclass fix #1288, cleanup waveclass (main) Feb 13, 2025
@jtgrasb jtgrasb added the Bug bug in WEC-Sim source, high priority label Feb 13, 2025
@jtgrasb
Copy link
Contributor

jtgrasb commented Feb 13, 2025

Thanks Dom! This PR has been tested and is ready for merge.

Note: the failing tests are due to a separate issue related to Ubuntu (#1406).

@dforbush2 dforbush2 merged commit f5e294f into WEC-Sim:main Feb 13, 2025
6 of 10 checks passed
@kmruehl kmruehl added the Wave Class Wave Classs (waveClass.m) label Feb 19, 2025
akeeste added a commit that referenced this pull request Mar 25, 2025
* updated the intro

* fixes a bug with the QTF interpolation function (#1396)

* fix #1288, cleanup waveclass (main) (#1417)

* fix on pDis function call

* preliminary fix for issue #1288

* Update readAQWA.m (#1253)

* body mask fixes for #1346

* add warning when variable hydro turned on for drag or nonhydro bodies

* flex body - add missing mask lines, define h5 button callback

* fix #1288 cleanup waveClass

* adding bodyClass, should match

---------

Co-authored-by: jtgrasb <87095491+jtgrasb@users.noreply.github.com>
Co-authored-by: akeeste <akeeste@sandia.gov>

* Fix irregular wave elevation with multiple directions (#1403)

* Fix irregular wave elevation with multiple directions

* Updates the Ubuntu and Matlab versions (#1420)

* Updates the Ubuntu and Matlab versions

---------

Co-authored-by: Mohamed Shabara <84589678+MShabara@users.noreply.github.com>

* new body class constructor, no need for h5file

* removed disp used in debugging

* short check to ensure hydro struct provided is the right hydro struct

* cleaned up one comment

* rename hydrodata to hydroinput in body constructor

* move input checking to body.checkInputs()

* make body.hydroStruct a private variable

* make body.hydroStruct public and alphabetize

* clear body.hydroStruct once used

* brief documentation

* function to build body class hydro format struct from BEMIO format

* update hydro to hydroData function for other features

* fix bug in reading water depth, ex.irf.t and dofs

* make readH5ToStruct function identically to writeBEMIOH5 for GBM modes

* read GBM data and irf times correctly

* reference function in documentation

* update function docstring

---------

Co-authored-by: Shabara <mshabara@nrel.gov>
Co-authored-by: Mohamed Shabara <84589678+MShabara@users.noreply.github.com>
Co-authored-by: dforbush2 <dforbus@sandia.gov>
Co-authored-by: jtgrasb <87095491+jtgrasb@users.noreply.github.com>
Co-authored-by: akeeste <akeeste@sandia.gov>
MShabara added a commit that referenced this pull request Mar 28, 2025
* updated the intro

* fixes a bug with the QTF interpolation function (#1396)

* fix #1288, cleanup waveclass (main) (#1417)

* fix on pDis function call

* preliminary fix for issue #1288

* Update readAQWA.m (#1253)

* body mask fixes for #1346

* add warning when variable hydro turned on for drag or nonhydro bodies

* flex body - add missing mask lines, define h5 button callback

* fix #1288 cleanup waveClass

* adding bodyClass, should match

---------

Co-authored-by: jtgrasb <87095491+jtgrasb@users.noreply.github.com>
Co-authored-by: akeeste <akeeste@sandia.gov>

* Fix irregular wave elevation with multiple directions (#1403)

* Fix irregular wave elevation with multiple directions

* Updates the Ubuntu and Matlab versions (#1420)

* Updates the Ubuntu and Matlab versions

---------

Co-authored-by: Mohamed Shabara <84589678+MShabara@users.noreply.github.com>

* Enhances function flexibility

* Fix warnings

* change coercion for consistency with documentation

---------

Co-authored-by: Shabara <mshabara@nrel.gov>
Co-authored-by: Mohamed Shabara <84589678+MShabara@users.noreply.github.com>
Co-authored-by: dforbush2 <dforbus@sandia.gov>
Co-authored-by: jtgrasb <87095491+jtgrasb@users.noreply.github.com>
Co-authored-by: akeeste <akeeste@sandia.gov>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug bug in WEC-Sim source, high priority Wave Class Wave Classs (waveClass.m)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants