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
I am trying to solve a transient problem whose operator cannot be evaluated at t = 0.0, so you can imagine I am getting an error when caching the ODE system...
Shall we pass the initial time to all _allocate_matrix_and_vector methods?
The text was updated successfully, but these errors were encountered:
Good point @ericneiva . Until now we assumed that the operator allocation was independent of the time and "hard coded" its evaluation at t=0 for allocation purposes. Passing t0 would solve the issue and make it more general, without overhead (other than having an argument more in the function).
Dear @oriolcg,
I'd say an ODE solver caches (allocates) the matrix and vector, by evaluating the FE operator at
t = 0.0
.For instance, the Affine Theta Method:
Gridap.jl/src/ODEs/ODETools/AffineThetaMethod.jl
Lines 12 to 20 in be0dc01
Eventually visits these two through
_allocate_matrix_and_vector
:Gridap.jl/src/ODEs/TransientFETools/TransientFEOperators.jl
Line 243 in be0dc01
Gridap.jl/src/ODEs/TransientFETools/TransientFEOperators.jl
Line 303 in be0dc01
I am trying to solve a transient problem whose operator cannot be evaluated at
t = 0.0
, so you can imagine I am getting an error when caching the ODE system...Shall we pass the initial time to all
_allocate_matrix_and_vector
methods?The text was updated successfully, but these errors were encountered: