Comments (4)
Do you mean the index used to get a CPoint from a node array? (iPoint, iNode, etc)
These are still sometimes unsigned long, sometimes unsigned short.
It seems like we will pretty easily exceed 65535 points in a node list, so they should be unsigned long.
from su2.
Yes, that is roughly what I mean. When I filed the issue, I was compiling in xcode, and it threw a bunch of warnings about implicit numeric casts. This is what the isssue was about. I'm off of develop and the moment, and don't have xcode setup, so I'm sorry I can't be more specific.
I think they should all be unsigned long long. The memory overhead is trivial (8 bytes per node), and if we want the code to be usable in an exascale environment we don't want to limit ourselves to 4 billion node meshes.
from su2.
Preconditioner used short, is fixed in 9e55060
I think all node numbers are unsigned long now;
I think long long is a good idea in the long run.
from su2.
Agreed. We removed some remaining long arrays with maps (e.g., local to global mappings) in v5, so we should be consistently using unsigned long in reference to grid node index values. In the future, we will likely have an "su2int" data type too that we can simply typedef. Closing.
from su2.
Related Issues (20)
- meson did not generate the build.ninja file
- Bug in HLLC Jacobian calculation HOT 2
- ./ninja -C build install error HOT 1
- Issue while running SU2 code with Intel OneAPI compiler
- Wrong spanwise sections calculation in Turbomachinery simulation HOT 4
- FileNotFoundError: [Errno 2] No such file or directory: HOT 2
- Wall emissivity array out of bounds HOT 1
- Using surface deformation to produce pitching on a surface with two or more markers results on inaccurate displacements on shared nodes between markers HOT 5
- Drag Coefficinet is too high
- Instability with Riemann BC, possibly coupled with periodics?
- Restart file interpolation sporadically hangs with mpi HOT 1
- Question regarding Description of available screen/history output fields HOT 2
- Thread Sanitizer CI Crashes
- Parallel Computation fails
- Is it possible to calculate the flow field directly without outputting the mesh after the mesh is deformed?
- Interface between the moving and stationary zones generates wrong results as the moving zone rotates HOT 8
- Non deterministic convergence history using NEWTON-KRYLOV with OMP HOT 2
- 3D Flow around object example
- SU2 V8 missing functions in PythonWrapper HOT 1
- SU2 V8.01: Apparently improper message: DV_VALUE does not contain enough entries to match DV_KIND or DV_PARAM. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from su2.