Given two frames A and B such that the orientation of frame B with respect to frame A is given by a unit quaternion, shifts second-order tensors from A to B or B to A.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=rp), | intent(in), | dimension(3,3) | :: | a |
A second-order tensor. |
|
| real(kind=rp), | intent(in), | dimension(4) | :: | q |
Unit quaternion. |
|
| logical, | intent(in) | :: | forward |
If |
||
| real(kind=rp), | intent(out), | dimension(3,3) | :: | ashift |
Shifted second-order tensor. |