-
Notifications
You must be signed in to change notification settings - Fork 918
Fix large mesh #980
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
Fix large mesh #980
Conversation
…or(iNeigh) to geometry->node[iPoint]->GetnPoint(iNeigh)
…_SU2_Restart_Binary to accomodate very large meshes.
…during restart and paraview file output.
economon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, congrats on your first PR @GomerOfDoom !
Let's see if anyone else has comments
|
|
||
| int totalByteSize, byteSize; | ||
| unsigned long totalByteSize; | ||
| int byteSize; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
while you're at it, I would just move the declaration of these two variables down to wherever they are used (rather than up here at the top)
SU2_CFD/src/solvers/CSolver.cpp
Outdated
| if (geometry->GetGlobal_to_Local_Point(iPoint_Global) > -1) { | ||
| blocklen[counter] = nFields; | ||
| displace[counter] = iPoint_Global*nFields; | ||
| //if (iPoint_Global*nFields > INT_MAX){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Go ahead and remove the commented warning here since it is no longer needed
pcarruscag
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Proposed Changes
Changes have been made to accomodate very large meshes/data sets.
MPI calls were changed to accomodate values over the limit of INT_MAX, and some standard int variables were changed to unsigned long variables.
Related Work
Addresses problems raised in issue #949
PR Checklist