You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let us say if we want the time derivative to be the output as well, this is my ugly way to do it:
basically it concats a dummy tensor after the velocity
Current
jax-cfd/jax_cfd/collocated/equations.py
Lines 64 to 85 in d215f13
For example, for this function, only the velocity variable is the output, in the function call, it is like this:
where
v0
is aGridVariableVector
.My temp hack
Let us say if we want the time derivative to be the output as well, this is my ugly way to do it:
basically it concats a dummy tensor after the velocity
then append a dummy
GridVariable
afterv0
, and call the same step function in the rollout,.Question
is there any template in jax to do this?
The text was updated successfully, but these errors were encountered: