Elastic Tensors
Heavily inspired by fxcoudert's ELATE, and since it is a modified version of that, this is subject to the same MIT license.
See the page, and the source here:
http://progs.coudert.name/elate
https://github.com/fxcoudert/elate
ElasticTensor
Class to represent an elastic tensor, along with methods to access it
from_string(s)
classmethod
Initialize the elastic tensor from a string
Source code in chmpy/ext/elastic_tensor.py
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 |
|