The Zalesak full disk benchmark – the exact solution.
The Zalesak full disk benchmark – the exact solution
}
}
protected:
};
return sqrt(sqr(xm-
x0) + sqr(ym-
y0)) - r;
}
Float
perimeter()
const {
return 2*acos(Float(-1))*
r; }
protected:
static constexpr Float
xr = 0.5,
};
};
see the Float page for the full documentation
see the point page for the full documentation
Float operator()(const point &x) const
static constexpr Float x0
static constexpr Float yr
static constexpr Float y0
static constexpr Float xr
Float operator()(const point &x) const
point operator()(const point &x) const
static constexpr Float xc
static constexpr Float yc