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 more const #49

Merged
merged 2 commits into from
Jul 25, 2024
Merged

Add more const #49

merged 2 commits into from
Jul 25, 2024

Conversation

jrood-nrel
Copy link
Collaborator

No description provided.

@@ -5,5 +5,5 @@
void deallocateLinkList3(INTEGERLIST2* temp);
void deallocateLinkList4(INTERPLIST2* temp);
void insertInList(DONORLIST** donorList, DONORLIST* temp1);
int checkHoleMap(double* x, int* nx, int* sam, double* extents);
// int checkHoleMap(double* x, int* nx, int* sam, double* extents);

Check notice

Code scanning / CodeQL

Commented-out code Note

This comment appears to contain commented-out code.
@@ -291,7 +292,7 @@
}
}

void cellVolume(double*, double[8][3], int[6], int[6][4], int, int);
// void cellVolume(double*, const double[8][3], int[6], int[6][4], int, int);

Check notice

Code scanning / CodeQL

Commented-out code Note

This comment appears to contain commented-out code.
@@ -1023,7 +1023,7 @@
}
}

void MeshBlock::markWallBoundary(int* sam, int nx[3], double extents[6])
void MeshBlock::markWallBoundary(int* sam, int nx[3], const double extents[6])

Check notice

Code scanning / CodeQL

No raw arrays in interfaces Note

Raw arrays should not be used in interfaces. A container class should be used instead.
@jrood-nrel jrood-nrel merged commit 6d0a5f4 into Exawind:exawind Jul 25, 2024
8 of 9 checks passed
@jrood-nrel jrood-nrel deleted the jrood/more-const branch July 25, 2024 21:02
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.

1 participant