Skip to content

Commit ffe6283

Browse files
authored
Merge pull request #2997 from andrew-platt/f/c-bind_updates_SH
Updates to SeaState c-bindings library interface
2 parents 49fc00b + 0e929ae commit ffe6283

File tree

12 files changed

+1406
-379
lines changed

12 files changed

+1406
-379
lines changed

.github/workflows/automated-dev-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,7 @@ jobs:
372372
${{github.workspace}}/build/reg_tests/modules/moordyn
373373
${{github.workspace}}/build/reg_tests/modules/inflowwind
374374
${{github.workspace}}/build/reg_tests/modules/hydrodyn
375+
${{github.workspace}}/build/reg_tests/modules/seastate
375376
!${{github.workspace}}/build/reg_tests/glue-codes/openfast-cpp/5MW_Baseline
376377
377378

glue-codes/python/examples/SeaState.py

Lines changed: 0 additions & 38 deletions
This file was deleted.

glue-codes/python/pyOpenFAST/aerodyn_inflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ def adi_preinit(self) -> None:
346346
byref(c_float(self.water_depth)), # IN -> water depth
347347
byref(c_float(self.mean_sea_level_offset)), # IN -> MSL to SWL offset
348348
byref(c_int(self.mhk)), # IN -> mhk flag (0=not MHK, 1=fixed bottom, 2=floating)
349-
byref(c_int(self.debug_level)), # IN -> debug level (0=None to 4=Fatal)
349+
byref(c_int(self.debug_level)), # IN -> debug level (0=None to 4=all meshes)
350350
byref(self.error_status_c), # OUT <- error status code
351351
self.error_message_c # OUT <- error message buffer
352352
)

glue-codes/python/pyOpenFAST/interface_abc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class OpenFASTInterfaceType(CDLL):
3333
ERROR_MSG_C_LEN = 8197
3434

3535
# NOTE: the length of the name used for any output file written by the
36-
# HD Fortran code is 1025.
36+
# Fortran code is 1025.
3737
default_str_c_len = 1025
3838

3939
abort_error_level = c_int(4)

0 commit comments

Comments
 (0)