A package designed to assist with the creation of 3rd order elastic constants from DFT
Project description
ElasTensor
ElasTensor is a Python package designed to assist with the calculation of second and third-order elastic constants using density functional theory (DFT). It provides tools for generating deformed crystal structures and managing the workflow for elastic constant calculations.
Features
- Generate strain deformations for second and third-order elastic constant calculations
- Support for various crystal symmetries (triclinic, monoclinic, orthorhombic, tetragonal, trigonal, hexagonal, cubic)
- Integration with VASP input/output formats
- Flexible structure manipulation and symmetry analysis
- Strain-energy and strain-stress calculation methods
Installation
Using pip
pip install elastensor
From source
git clone https://github.com/romerogroup/ElasTensor.git
cd ElasTensor
pip install -e .
Basic Usage
Initialize deformator with a structure file
from elastensor.deformator import Deformator
# Initialize deformator with a structure file
deformator = Deformator(
structure_file="POSCAR",
amplitude=0.05,
mode="strain-energy",
third_order=False
)
# Generate deformed structures
deformator.generate()
# Write deformed structures to VASP input files
deformator.write_structures(code_format="vasp")
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Authors
- Andres Mora (at00021@mix.wvu.edu)
- Logan Lang (lllang@mix.wvu.edu)
Issues and Support
For bug reports and feature requests, please use the GitHub issue tracker.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file elastensor-0.0.2.tar.gz.
File metadata
- Download URL: elastensor-0.0.2.tar.gz
- Upload date:
- Size: 25.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1bd97443656634381a3ca72b9a582fc72ed391681be6da770f2b9aadb3305ea6
|
|
| MD5 |
b9d23fe56f32d9e93bb857946e786854
|
|
| BLAKE2b-256 |
fc461a89dce07f8cb65763255039bdf9cc6bcf58b87b363c2fced26e1605a535
|
File details
Details for the file elastensor-0.0.2-py3-none-any.whl.
File metadata
- Download URL: elastensor-0.0.2-py3-none-any.whl
- Upload date:
- Size: 23.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38a53d124cfcf03e15420e60a394a7786dfb4712fdd05dc54c04936fd1731229
|
|
| MD5 |
3ad1073a4bce8831d62ac57ce5e82b24
|
|
| BLAKE2b-256 |
d0ec2772a5f03bbe90da10db665b5e423b69f0616a63f732f0671db23adce989
|