Fem-fenics: Difference between revisions

Jump to navigation Jump to search
8 bytes removed ,  8 September 2013
no edit summary
No edit summary
No edit summary
Line 516: Line 516:


     // New coordinates
     // New coordinates
     double y = y0 + (x[1] - y0)*cos(theta) - (x[2] - z0)*sin(theta);
     double y = y0 + (x[1]-y0)*cos(theta) - (x[2]-z0)*sin(theta);
     double z = z0 + (x[1] - y0)*sin(theta) + (x[2] - z0)*cos(theta);
     double z = z0 + (x[1]-y0)*sin(theta) + (x[2]-z0)*cos(theta);


     // Rotate at right end
     // Rotate at right end
60

edits

Navigation menu