Open sridevi-k-20 opened 2 years ago
That sounds reasonable, @b-kloss does that make sense to you?
A slightly simpler way to write it would be:
function orderings(::TDVPOrder{4,direction}) where {direction}
return repeat(orderings(TDVPOrder{2,direction}(), 3)
end
Yes, either of these should be correct. I'll try to test it soon.
Hi, I have also come across this issue, and wanted to push the fix for it. Do I need some access rights @mtfishman? Thanks!
You can make a fork and then a PR, no need for access rights.
TDVP_order which determines the number of forward and backward sweeps does not work for order=4. This is because the function in
tdvporder.jl
returns an array of length 2. However, the for loop in the file
tdvp_step.jl
runs over the length ofsub_time_steps
, which is an array of length 6 according to the definition given intdvporder.jl
.This causes an error as attached in the image. One can overcome this error by changing the function as
But not sure if this a correct approach. Please check this. Thank you