Hi,
Firstly - is there somewhere I can read up about the usage of [] in declarations for dimensions? I am getting some errors because of these and I think this is a change since I previously used basilisk. E.g.
/opt/nesi/zen3/Basilisk/20250612-gompi-2023a/utils.h:8: error: the dimensional constraints below are not compatible
023a/utils.h:8: '1e30f [0,1]'
└─ [023a/utils.h:8: 'DT = 1e30f [0,1]'] = [0,1]
023a/poisson.h:441: 'if (tolerance)
TOLERANCE = tolerance;'
└─ [023a/utils.h:8: 'DT = 1e30f [0,1]'] = [0]
Note - I could get rid of this error by changing line 8 in util.h from
double DT = HUGE [0,1], CFL = 0.5 [0];
to
double DT = HUGE [0], CFL = 0.5 [0];
but I don't know enough about what it is doing to know if this is going to break something else
I am also getting the following errors from the waveprobe.h code:
[laneem@login01 src]$ qcc simple_waveflume.c -o simple_waveflume.exe -lm -L. -ldl -lstdc++ -Wall -O2 -lgfortran ./adapt_wavelet_leave_interface.h:20: warning: obsolete optional/named arguments syntax./waveprobes.h: In function ‘wprobe’:./waveprobes.h:48:35: error: ‘y’ undeclared (first use in this function); did you mean ‘yi’?./waveprobes.h:48:35: note: each undeclared identifier is reported only once for each function it appears in./waveprobes.h:48:62: error: ‘Delta’ undeclared (first use in this function)
Has anyone else tried using this code recently? Does anyone have any suggestions as to what these problems are? It has been a few years since I have used basilisk much and so I am rather rusty and there are definitely some changes in the code since then.
Thanks for you help.
Emily