Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Two new subroutines which give correct determinant signs even in para…
…llel environment with any number of ranks and threads 1) cp_fm_det computes the determinant of a real square matrix 2) cp_cfm_det computes the determinant of a complex square matrix Both routines make a copy of the input matrix, thus it is NOT modified in any way and can be safely used after. Also replaced the calls in two subroutines where determinant sign matters: calc_et_coupling and qs_moment_berry_phase.
- Loading branch information
Showing
4 changed files
with
163 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters