-
Notifications
You must be signed in to change notification settings - Fork 168
List of Particle Arrays structure for ParticleSet - DO NOT MERGE - DO NOT CLOSE #884
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
Conversation
|
the auto-testing probably won't work before a rebase (which is NOT to be done). |
| end_index = self._pid_mapping_bounds[bracket_index][2] | ||
| # while start_index<key: | ||
| # while end_index >= key: | ||
| while key >= end_index: |
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.
This could be a bisect search on the end_index for speedier (log(N)) search
| c_double(dt), | ||
| *fargs) | ||
|
|
||
| for subfield_c in pset.particles_c: |
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.
It's a bit confusing you call this subfield, because a Field is a specific object in Parcels, and I don't think that these subfields have anything to do with Fields
835d177 to
60875ef
Compare
3bcb825 to
7692103
Compare
104fcc8 to
b84615d
Compare
2d40dbe to
af8546d
Compare
af8546d to
b90a86b
Compare
d8ee80a to
128a5d5
Compare
0e3b871 to
04fb590
Compare
48de2c7 to
f2e02db
Compare
86f514d to
e551c1f
Compare
…orking (stommel).
…he ParticleSet class.
…orking (stommel).
…he ParticleSet class.
…rray particles. TODO: particle file.
…e new pset (basically: change the iterator). structure to be wrapped up and tested now.
…orking (stommel).
…icleSet for element iteration - slow, but working.
…orking (stommel).
…orking (stommel).
fed7b63 to
ae1e349
Compare
No description provided.