Skip to content

c_update_domains use of c_fms_utils methods#25

Merged
mlee03 merged 8 commits intomlee03:mainfrom
fmalatino:use_utils
Apr 11, 2025
Merged

c_update_domains use of c_fms_utils methods#25
mlee03 merged 8 commits intomlee03:mainfrom
fmalatino:use_utils

Conversation

@fmalatino
Copy link
Copy Markdown
Collaborator

@fmalatino fmalatino commented Mar 30, 2025

Description
This PR updates the c_update_domains module to use the pointer_to_array and array_to_pointer methods within the c_fms_utils module. The unit test has also been updated to reflect this change.

Address issue 22

Need by PR 27 in pyFMS

@fmalatino fmalatino requested review from bensonr and mlee03 March 30, 2025 14:40
@fmalatino fmalatino linked an issue Mar 31, 2025 that may be closed by this pull request
… c_fms.h, changed test_update_domains to test access to double data type
Comment thread c_fms/c_fms.h
extern void cFMS_set_global_domain(int *domain_id, int *xbegin, int *xend, int *ybegin, int *yend,
int *xsize, int *ysize, int *tile_count);

extern void cFMS_update_domains_double_2d(int *field_shape, double *field, int *domain_id, int *flags, int *complete,
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cdouble and cfloat. I'm going to have a PR that will touch this, so I can make the changes then.

@mlee03 mlee03 merged commit 7fc3e64 into mlee03:main Apr 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix update_domain

2 participants