48 T st2 = (t2^v2)*v_theta_2;
50 double c2theta = ct2*ct2-st2*st2;
51 double s2theta = 2*st2*ct2;
55 g2[0] = c2theta * p.shear[0] + s2theta * p.shear[1];
56 g2[1] = c2theta * p.shear[1] - s2theta * p.shear[0];
71 double c2theta = t[0]*t[0]-t[1]*t[1];
72 double s2theta = 2*t[0]*t[1];
76 g2[0] = c2theta * gamma[0] - s2theta * gamma[1];
77 g2[1] = c2theta * gamma[1] + s2theta * gamma[0];
88 g1 = tangent_cross_shear(p2, p1);
89 g2 = tangent_cross_shear(p1, p2);
99 gt1 = tangent_cross_shear(x1,x2,g2);
100 gt2 = tangent_cross_shear(x2,x1,g1);
represents a point in spherical coordinates, theta = 0 is equator
Definition geometry.h:30
void TOcartisian(T x[]) const
output Cartesian coordinates of the point
Definition geometry.h:387
Class for representing points or vectors in 2 dimensions. Not that the dereferencing operator is over...
Definition point.h:48
void unitize()
rescale to make a unit length vector
Definition point.h:162
Class for representing points or vectors in 3 dimensions. Not that the dereferencing operator is over...
Definition point.h:883
void unitize()
rescale to make a unit length vector
Definition point.h:998
this data class represents a postion inspherical coordinates and a polarization relative to the sphir...
Definition shear.h:19