This commit is contained in:
2026-01-08 19:47:32 +03:00
commit 4d7676a79e
89 changed files with 62260 additions and 0 deletions

22
prepare_neb.sh Executable file
View File

@@ -0,0 +1,22 @@
#!/bin/bash
# Prepare NEB calculation
# Number of intermediate images
N_IMAGES=5
# Create images using neb.py
python electrochemistry/echem/neb/neb.py -n $N_IMAGES 00/POSCAR 0N/POSCAR
# Copy common files to all image directories
for i in $(seq 0 $((N_IMAGES+1))); do
dir=$(printf "%02d" $i)
if [ -d "$dir" ]; then
cp INCAR $dir/
cp KPOINTS $dir/
cp POTCAR $dir/
echo "Copied files to $dir/"
fi
done
echo "Preparation complete!"
#echo "To run NEB: mpirun -np 24 vasp_std"