Replies: 1 comment 3 replies
-
Solved. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm reading the
devito_book/fdm-jupyter-book/notebooks/01_vib/vib_undamped.ipynb
and the code in it seems not compatible with devito 4.8.3, so I tried to rewrite it as:However, the data of returned
u
is:[[0.95374113 0.95374113 0.95374113 0.95374113 0.95374113 0.95374113, 0.95374113 0.95374113 0.95374113 0.95374113 0.95374113 0.95374113, 0.95374113 0.95374113 0.95374113 0.95374113 0.95374113 0.95374113, 0.95374113 0.95374113 0.95374113 0.95374113 0.95374113 0.95374113, 0.95374113 0.95374113 0.95374113 0.95374113 0.95374113 0.95374113, 0.95374113 0.95374113 0.95374113 0.95374113 0.95374113 0.95374113, 0.95374113 0.95374113 0.95374113 0.95374113 0.95374113 0.95374113, 0.95374113 0.95374113 0.95374113 0.95374113 0.95374113 0.95374113, 0.95374113 0.95374113 0.95374113 0.95374113 0.95374113 0.95374113, 0.95374113 0.95374113 0.95374113 0.95374113 0.95374113 0.95374113, 0.95374113 0.95374113 0.95374113 0.95374113 0.95374113 0.95374113, 0.95374113 0.95374113 0.95374113 0.95374113 0.95374113 0.95374113, 0.95374113 0.95374113 0.95374113 0.95374113 0.95374113 0.95374113, 0.95374113 0.95374113 0.95374113 0.95374113 0.95374113 0.95374113, 0.95374113 0.95374113 0.95374113 0.95374113 0.95374113 0.95374113, 0.95374113 0.95374113 0.95374113 0.95374113 0.95374113 0.95374113, 0.95374113 0.95374113 0.95374113 0.95374113 0.95374113], [1.0121983 1.0121983 1.0121983 1.0121983 1.0121983 1.0121983, 1.0121983 1.0121983 1.0121983 1.0121983 1.0121983 1.0121983, 1.0121983 1.0121983 1.0121983 1.0121983 1.0121983 1.0121983, 1.0121983 1.0121983 1.0121983 1.0121983 1.0121983 1.0121983, 1.0121983 1.0121983 1.0121983 1.0121983 1.0121983 1.0121983, 1.0121983 1.0121983 1.0121983 1.0121983 1.0121983 1.0121983, 1.0121983 1.0121983 1.0121983 1.0121983 1.0121983 1.0121983, 1.0121983 1.0121983 1.0121983 1.0121983 1.0121983 1.0121983, 1.0121983 1.0121983 1.0121983 1.0121983 1.0121983 1.0121983, 1.0121983 1.0121983 1.0121983 1.0121983 1.0121983 1.0121983, 1.0121983 1.0121983 1.0121983 1.0121983 1.0121983 1.0121983, 1.0121983 1.0121983 1.0121983 1.0121983 1.0121983 1.0121983, 1.0121983 1.0121983 1.0121983 1.0121983 1.0121983 1.0121983, 1.0121983 1.0121983 1.0121983 1.0121983 1.0121983 1.0121983, 1.0121983 1.0121983 1.0121983 1.0121983 1.0121983 1.0121983, 1.0121983 1.0121983 1.0121983 1.0121983 1.0121983 1.0121983, 1.0121983 1.0121983 1.0121983 1.0121983 1.0121983 ], [0.8011535 0.8011535 0.8011535 0.8011535 0.8011535 0.8011535, 0.8011535 0.8011535 0.8011535 0.8011535 0.8011535 0.8011535, 0.8011535 0.8011535 0.8011535 0.8011535 0.8011535 0.8011535, 0.8011535 0.8011535 0.8011535 0.8011535 0.8011535 0.8011535, 0.8011535 0.8011535 0.8011535 0.8011535 0.8011535 0.8011535, 0.8011535 0.8011535 0.8011535 0.8011535 0.8011535 0.8011535, 0.8011535 0.8011535 0.8011535 0.8011535 0.8011535 0.8011535, 0.8011535 0.8011535 0.8011535 0.8011535 0.8011535 0.8011535, 0.8011535 0.8011535 0.8011535 0.8011535 0.8011535 0.8011535, 0.8011535 0.8011535 0.8011535 0.8011535 0.8011535 0.8011535, 0.8011535 0.8011535 0.8011535 0.8011535 0.8011535 0.8011535, 0.8011535 0.8011535 0.8011535 0.8011535 0.8011535 0.8011535, 0.8011535 0.8011535 0.8011535 0.8011535 0.8011535 0.8011535, 0.8011535 0.8011535 0.8011535 0.8011535 0.8011535 0.8011535, 0.8011535 0.8011535 0.8011535 0.8011535 0.8011535 0.8011535, 0.8011535 0.8011535 0.8011535 0.8011535 0.8011535 0.8011535, 0.8011535 0.8011535 0.8011535 0.8011535 0.8011535 ]]
The value does not update from one time node to the next. Could anyone help me solve this issue?
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions