Open xdzhu opened 4 months ago
It seems that ABACUS lacks an option for fixed lattice angle.
It seems that ABACUS lacks an option for fixed lattice angle.
That‘s right. Need more fixed options like: alpha, beta, gamma. OR, just provide a specific way to only relax the in-plane lattice parametes of a slab model?
Describe the bug
When using ABACUS for cell-relax, the![image](https://github.com/deepmodeling/abacus-develop/assets/55775434/b74c3412-714f-4443-b362-d3aadde3bbf1)
fixed_axes c
option was used, and as a result, both lattice vectors a and b have components in the z-direction. How to only relax the xy-components of ab vectors with the z-component constrained? Run ABACUS cell-relax withfixed_axes c
:The constrain_z implementation is critical in 2D material calculation. I wonder whether ABACUS can provide a similar implementation to VASP's constrain_z. Run VASP cell-relax with constrain_Z compiled vasp_std:![image](https://github.com/deepmodeling/abacus-develop/assets/55775434/f5614c82-06d2-4837-ba5a-ae8a9756b08d)
You can check the result in as below: fixed_c-VS_constarin_z.zip
Expected behavior
More methods in Constrained Optimization
To Reproduce
No response
Environment
No response
Additional Context
No response
Task list for Issue attackers (only for developers)