// the height field, I don't know
// it.
EpsCell2d eps_cell;
- const double pi = 3.1415926536;
+//TODO:[?] Unify the various places where PI is defined to a central instance
+ const double pi = 3.141592653589793238462;
const double cx = -cos(pi-flags.azimut_angle * 2*pi / 360.),
cz = -cos(flags.turn_angle * 2*pi / 360.),
sx = sin(pi-flags.azimut_angle * 2*pi / 360.),
Assert ((inner_radius > 0) && (inner_radius < outer_radius),
ExcInvalidRadii ());
- const double pi = 3.14159265358979323846;
+//TODO:[?] Unify the various places where PI is defined to a central instance
+ const double pi = 3.141592653589793238462;
// determine the number of cells
// for the grid. if not provided by
// is in direction of the viewer, but
// I am too tired at present to fix
// this
+//TODO:[?] Unify the various places where PI is defined to a central instance
+ const double pi = 3.141592653589793238462;
const double z_angle = eps_flags_3.azimut_angle;
const double turn_angle = eps_flags_3.turn_angle;
- const double pi = 3.1415926536;
const Point<dim> view_direction(-sin(z_angle * 2.*pi / 360.) * sin(turn_angle * 2.*pi / 360.),
+sin(z_angle * 2.*pi / 360.) * cos(turn_angle * 2.*pi / 360.),
-cos(z_angle * 2.*pi / 360.));
// place. for simplicity add the
// initial direction at the end
// again
- const double pi = 3.14159265358979323846;
+//TODO:[?] Unify the various places where PI is defined to a central instance
+ const double pi = 3.141592653589793238462;
std::vector<Point<dim+1> > angle_directions (n_patches_per_circle+1);
for (unsigned int i=0; i<=n_patches_per_circle; ++i)
{
*/
- const double pi = 3.141592653587932384;
+//TODO:[?] Unify the various places where PI is defined to a central instance
+ const double pi = 3.141592653589793238462;
const double am = trace(d) / 3.;
// s := d - trace(d) I