Skip to content

Conversation

@matthewhoffman
Copy link

This merge adds a new edRoughnessRC variable to MALI on the MPAS side. Corresponding changes are needed on the Albany side.

This commit adds a new edRoughnessRC variable to MALI on the MPAS side.
Corresponding changes are needed on the Albany side.
@matthewhoffman matthewhoffman added the Albany Changes related to Albany velocity solver and the interface to it label Oct 29, 2024
void importFields(std::vector<std::pair<int, int> >& marineBdyExtensionMap,
double const* bedTopography_F, double const* lowerSurface_F, double const* thickness_F,
double const* beta_F = 0, double const* stiffnessFactor_F = 0, double const* effecPress_F = 0, double const* muFriction_F = 0, double const* temperature_F = 0, double const* smb_F = 0, double eps = 0);
double const* beta_F = 0, double const* stiffnessFactor_F = 0, double const* effecPress_F = 0, double const* muFriction_F = 0, double const* bedRoughness_F = 0, double const* temperature_F = 0, double const* smb_F = 0, double eps = 0);
Copy link
Author

Choose a reason for hiding this comment

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

@mperego , is this change needed to match the variable name in the calling signature in the cpp file?

Suggested change
double const* beta_F = 0, double const* stiffnessFactor_F = 0, double const* effecPress_F = 0, double const* muFriction_F = 0, double const* bedRoughness_F = 0, double const* temperature_F = 0, double const* smb_F = 0, double eps = 0);
double const* beta_F = 0, double const* stiffnessFactor_F = 0, double const* effecPress_F = 0, double const* muFriction_F = 0, double const* bedRoughnessRC_F = 0, double const* temperature_F = 0, double const* smb_F = 0, double eps = 0);

Copy link

@mperego mperego Dec 17, 2024

Choose a reason for hiding this comment

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

It's not needed because what matters to the compiler is the position and type of the parameter, but I think it's easier for debugging purposes to use the same names in the function declaration and definition.

@matthewhoffman
Copy link
Author

Closing because these commits are now part of #135

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Albany Changes related to Albany velocity solver and the interface to it

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants