mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-09-01 21:53:40 +02:00
Deactive qr also in CFG utils function.
This commit is contained in:
parent
90f78a9b78
commit
3e44e79be5
@ -255,23 +255,24 @@ void generateAllBFs(int64_t Isomo, int64_t MS, Tree *bftree, int *NBF, int *NSOM
|
||||
|
||||
void ortho_qr_csf(double *overlapMatrix, int lda, double *orthoMatrix, int rows, int cols);
|
||||
|
||||
void gramSchmidt_qp(double *overlapMatrix, int rows, int cols, double *orthoMatrix){
|
||||
int i,j;
|
||||
//for(j=0;j<cols;++j){
|
||||
// for(i=0;i<rows;++i){
|
||||
// printf(" %3.2f ",overlapMatrix[j*rows + i]);
|
||||
// }
|
||||
// printf("\n");
|
||||
//}
|
||||
// Call the function ortho_qr from qp
|
||||
ortho_qr_csf(overlapMatrix, rows, orthoMatrix, rows, cols);
|
||||
//for(j=0;j<cols;++j){
|
||||
// for(i=0;i<rows;++i){
|
||||
// printf(" %3.2f ",orthoMatrix[j*rows + i]);
|
||||
// }
|
||||
// printf("\n");
|
||||
//}
|
||||
}
|
||||
// QR to orthogonalize CSFs does not work
|
||||
//void gramSchmidt_qp(double *overlapMatrix, int rows, int cols, double *orthoMatrix){
|
||||
// int i,j;
|
||||
// //for(j=0;j<cols;++j){
|
||||
// // for(i=0;i<rows;++i){
|
||||
// // printf(" %3.2f ",overlapMatrix[j*rows + i]);
|
||||
// // }
|
||||
// // printf("\n");
|
||||
// //}
|
||||
// // Call the function ortho_qr from qp
|
||||
// ortho_qr_csf(overlapMatrix, rows, orthoMatrix, rows, cols);
|
||||
// //for(j=0;j<cols;++j){
|
||||
// // for(i=0;i<rows;++i){
|
||||
// // printf(" %3.2f ",orthoMatrix[j*rows + i]);
|
||||
// // }
|
||||
// // printf("\n");
|
||||
// //}
|
||||
//}
|
||||
|
||||
void gramSchmidt(double *overlapMatrix, int rows, int cols, double *orthoMatrix){
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user