21 x =
x < -180. ?
x + 360. :
x > 180. ?
x - 360. :
x;
define neighbor(o, p, q)((Point)
scalar * list_concat(scalar *l1, scalar *l2)
scalar * list_copy(scalar *l)
scalar phi[]
The electric potential and the volume charge density are scalars while the permittivity and conductiv...
macro
We also redefine the "per field" (inner) traversal.
macro VARIABLES(Point point=point, int _ig=ig, int _jg=jg, int _kg=kg)
Rather than the classical mathematical convention, we use the geographic convention: x is the longitu...
static void refine_face_y_lonlat(Point point, scalar fm)
static void refine_cm_lonlat(Point point, scalar cm)
On trees we need to define consistent refinement functions.
static void refine_face_x_lonlat(Point point, scalar fm)
void event_metric(void)
Event: metric (i = 0)