Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Intel Community
- Software Development Tools (Compilers, Debuggers, Profilers & Analyzers)
- Intel® Fortran Compiler
- Co-ordinate transformations

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Highlighted
##

JohnNichols

New Contributor II

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

06-23-2016
12:08 PM

10 Views

Co-ordinate transformations

I hate co-ordinate transformations.

Interestingly Harrison's old code and his book included an interesting coding example for co-ordinate transformations. In the book he published the 3 by 3 matrices for his sample problem. I had checked several of the matrix samples, but not the last one , turns out the code produces a slight variation on the matrix, the published answers agree with mine, but is that because the code is wrong or the book is wrong.

In moving from a 4 by 4 degree of freedom method to a 6 by 6 so I can match the shell elements to the beam elements I took Harrison's code, and then started looking at the final numbers -- I noticed the third beam has some numbers negative when the book says positive.

Turns out that in the book Harrison draws the beam going down the negative z axis - gamma = -90 , but the sample has gamma, but the coded example has gamma = -90

Ah the joys of coding.

John

0 Replies

For more complete information about compiler optimizations, see our Optimization Notice.