Thanks for the hints from Prof. Popinet. And I have a further question about the event inheritance.
What is the sequence rule of different events when they appear in the .h files?
For example, in the plused atomization case, now I understand that the events are implemented sequently in the navier-stokes/centered.h. However, if I #include "navier-stokes/perfs.h" in the source atomisation.c like this:
#include "navier-stokes/centered.h"
#include "navier-stokes/perfs.h"
#include "two-phase.h"
...
The event sequence is as follows for a specific timestep:
events (i = 236, t = 0.15955)
perfs src/navier-stokes/perfs.h:7
logfile atomisation.c:121
set_dtmax src/navier-stokes/centered.h:209
stability src/tension.h:36
stability src/vof.h:63
stability src/navier-stokes/centered.h:211
vof src/vof.h:312
vof src/navier-stokes/centered.h:221
tracer_advection src/navier-stokes/centered.h:222
tracer_diffusion src/navier-stokes/centered.h:223
...
Why are the events in perfs.h and in atomisation.c implemented before those in the centered.h?
Any discussion or help is appricated!
Cheers!