Closed akesandgren closed 2 years ago
I agree with you, there is no need for a double line there. Have you checked whether it changes the simulation when you delete one of the "reads"? I think it should not change because the right time interval is checked in the read function. So it just reads the same values twice.
It may cause problems when state%first_timestep=true for newer GCC compilers since it will then open the file twice with the same descriptor. Otherwise it doesn't look like it will cause any problems.
It's just something I noticed when looking for the problem in issue 58
Yes, sure I'll delete it. Was just curious.
Closed with 84baf85ab78963c8564a5b75204630a06795ede4
In forcing_update there is a double read when forcing_model == 1