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

Use preallocated buffer in add_random_field #60

Merged
merged 3 commits into from
May 20, 2020
Merged

Conversation

tkoskela
Copy link
Member

  • Removed double implementation of add_random_field
  • renamed dx_buffer and dy_buffer to field_buffer_1, field_buffer_2 respectively
  • fixed dx_buffer getting passed twice to tsunami_update

- Removed double implementation of add_random_field
- renamed dx_buffer and dy_buffer to field_buffer_1, field_buffer_2 respectively
- fixed dx_buffer getting passed twice to tsunami_update
@tkoskela tkoskela requested a review from giordano May 19, 2020 16:54
src/TDAC.jl Outdated Show resolved Hide resolved
Use a buffer array to generate the random numbers in gaussian field
@tkoskela tkoskela merged commit 0b10f27 into master May 20, 2020
@tkoskela tkoskela deleted the tk/alloc-randomfield branch May 20, 2020 08:25
@giordano giordano linked an issue Jun 16, 2020 that may be closed by this pull request
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.

Slow performance in Process Noise
2 participants