Skip to content

Conversation

@andreww
Copy link
Collaborator

@andreww andreww commented Jan 17, 2017

Not yet ready to merge

Partial implementation (and tests) of the Browaeys and Chevrot tensor decomposition by symmetry. Thus far this implements the calculation of norms and decomposition, but code to find the axes is not yet written. This needs a rotation function adding too,

andreww added 14 commits April 20, 2017 09:11
Like MSAT, this makes use of the Bond transform to avoid the matrix
to tensor change and do the rotation as two matrix products. Thus
far the user is expected to provide an explicit rotation matix.
Check the bond transform for an the identity matrix
and 90 degree rotations around X1, X2 and X3.
Matrix for bond transform had a one-character error causing
(for example) rotation around b to fail. This also fixes
seems to fix my VTI bug.
We don't need to print the Bond transform matrix
Check the matrix is positive definate. We have more
checks to include.
This is a translation of the MATLAB code I used to compare
VPSC results for D'' with global anisotropic tomography. We
have a single test point, which works, as a test.
This has a test for norms and a non-working stub function.
At least, it passes the olivine test case. The API probably needs a bit of
thought. Return a numpy array?
As per MSAT implementation of B&C
decomp.axes() is a re-implementation of MS_axes, with
support for selection of X3 based on symmetry or on the
stiff direction. We also add some simple tests (for
olivine and albite, checking various directions).
This uses stishovite as an example. However,
this shows we have a bug that needs to be fixed.
@andreww andreww force-pushed the BrowaeysChevrot branch from 2c31442 to edfeff9 Compare July 2, 2017 17:00
@andreww
Copy link
Collaborator Author

andreww commented Jul 2, 2017

Getting there - but we have a bug in axes for stishovite (see the notebook)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants