Hi,
I'd like to introduce some flux in a custom boundary condition using geoclaw through bc2amr.f90.
The fluxes I want to introduce are time and space dependent, I have them as files (one file for each timestep). Where (in which fortran script) should I read the data files?
These are the two solutions I'm considering:
- The setprob subroutine takes in no arguments so I'm guessing I would have to store all the files in a common array and then select the right values once the timestep is known in bc2amr.f90.
- I could have used b4step but it is called after the ghost cells are set. Perhaps I could overwrite those values?
Is there any other way to do this?
Thanks for your attention,
Axel