Basilisk source code (http://basilisk.fr/src/)

root / src / bcg.i

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
%{
  extern void tracer_fluxes (const scalar f, 
			     const face vector u,
			     face vector flux,
			     double dt,
			     scalar src);
  
  struct Advection {
    scalar * tracers;
    face vector u;
    double dt;
    scalar * src; // optional
  };
  
  extern void advection (struct Advection p);
%}