Elastic constants and base functions¶
For bulk Si:
For 2D graphene:
For 2D BN:
To provide a crystal type (required for the stability test) manualy, the
crystal
flag can be used. If not provided, MechElatic will determind the crystal symmetry using spglib. The stability test is currently only required for 3D systems:To run elastic constants calculation for Abinit:
mechelastic.calculate_elastic()
calculates the complete set of elastic properties. However, if one wishes to call particular methods that can be also done through the library mode. For example, given a matrix and a crystaltype, the stability can be determined:To determine the crystal symmetry: