abipy.tools.elate namespace
Submodules
abipy.tools.elate.elastic module
- abipy.tools.elate.elastic.dirVec(theta, phi)[source]
Return a unit vector associated with angles theta and phi
- abipy.tools.elate.elastic.dirVec1(theta, phi, chi)[source]
Return the first unit vector associated with angles (theta, phi, chi)
- abipy.tools.elate.elastic.dirVec2(theta, phi, chi)[source]
Return the second unit vector associated with angles (theta, phi, chi)
- abipy.tools.elate.elastic.minimize(func, dim)[source]
Find the global minimum of a function with 2 (theta, phi) or 3 (theta, phi, chi) parameters
- abipy.tools.elate.elastic.maximize(func, dim)[source]
Find the global maximum of a function with 2 (theta, phi) or 3 (theta, phi, chi) parameters
- class abipy.tools.elate.elastic.Elastic(s)[source]
Bases:
objectAn elastic tensor, along with methods to access it.
It will raise a ValueError when the input is invalid, and a TypeError if the input is valid but corresponds to a 2D material.