Skip to content

MarDiehl/rotations_fortran

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Convert Rotation Representations (Fortran)

Fortran version of a 3D rotations conversion library. Based on marcdegraef/3Drotations.

Implemented representations

  • Unit quaternion
  • Euler angles (Bunge convention)
  • Rotation matrix
  • Axis angle representation
  • Rodrigues-Frank vector
  • Homochoric vector
  • Cubochoric vector

Getting started

export FC=gfortran # or ifort or pgfortran
mkdir build
cd build
cmake .. -DCMAKE_Fortran_COMPILER=$FC
make
./src/test_rotations

Prerequisites

  • Fortran compiler
    • GNU, version 8.0 or newer (gfortran)
    • Intel, version 18.0 or newer (ifort)
    • PGI, not tested (pgfortran)
  • cmake, version 3.10 or newer
  • LAPACK library in standard location

License

GNU General Public License v3

Issues

  • The tests for Euler angles fail, but this is because comparing Euler angles is difficult.
  • Some functions have no unit tests.

About

Convert rotation representations (Fortran version)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published