Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new spatial bed roughness variable for reg. Coulomb friction #129

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

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
@@ -207,7 +209,7 @@ void createReducedMPI(int nLocalEntities, MPI_Comm& reduced_comm_id);

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.

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