50 for (
int _c = 0;
_c < 1;
_c++)
57 for (
int _c = 0;
_c < 1;
_c++)
75#define contact_angle(theta) \
76 (val(_s) == nodata ? nodata : val(_s) + \
77 (orientation(val(_s)) ? -1. : 1.)/tan(theta))
94#define contact_angle(theta) contact_angle_ (point, neighbor, _s, theta)
101 "contact_angle() cannot be used for '%s' which is the normal\n"
102 " component of the height vector\n",
define neighbor(o, p, q)((Point)
static number sq(number x)
coord height_normal(Point point, scalar c, vector h)
The function below works in a similar manner to return the normal estimated using height-functions (o...
trace void heights(scalar c, vector h)
The heights() function implementation is similar to the multigrid case, but the construction of the s...
coord mycs(Point point, scalar c)
double theta
This is the generalised minmod limiter.