Skip to content

Commit

Permalink
remove support for the QUDA_EIG_IR_LANCZOS input parameter as it does…
Browse files Browse the repository at this point in the history
… not exist in QUDA anymore
  • Loading branch information
kostrzewa committed Jan 17, 2021
1 parent a3f7d10 commit 926f87f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion quda_dummy_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ typedef enum QudaEigSpectrumType_s {

typedef enum QudaEigType_s {
QUDA_EIG_TR_LANCZOS, // Thick restarted lanczos solver
QUDA_EIG_IR_LANCZOS, // Implicitly Restarted Lanczos solver (not implemented)
QUDA_EIG_IR_ARNOLDI, // Implicitly Restarted Arnoldi solver (not implemented)
QUDA_EIG_INVALID = QUDA_INVALID_ENUM
} QudaEigType;
Expand Down
2 changes: 1 addition & 1 deletion quda_interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -1352,7 +1352,7 @@ void _setQudaMultigridParam(QudaMultigridParam* mg_param) {
mg_eig_param[level].eig_type = quda_input.mg_eig_type[level];
mg_eig_param[level].spectrum = quda_input.mg_eig_spectrum[level];
if ((quda_input.mg_eig_type[level] == QUDA_EIG_TR_LANCZOS ||
quda_input.mg_eig_type[level] == QUDA_EIG_IR_LANCZOS)
quda_input.mg_eig_type[level] == QUDA_EIG_IR_ARNOLDI)
&& !(quda_input.mg_eig_spectrum[level] == QUDA_SPECTRUM_LR_EIG ||
quda_input.mg_eig_spectrum[level] == QUDA_SPECTRUM_SR_EIG)) {
tm_debug_printf(0, 0,
Expand Down
3 changes: 0 additions & 3 deletions read_input.l
Original file line number Diff line number Diff line change
Expand Up @@ -1880,9 +1880,6 @@ static inline double fltlist_next_token(int * const list_end){
if( strcmp(token, "tr_lanczos") == 0 ){
quda_input.mg_eig_type[level] = QUDA_EIG_TR_LANCZOS;
}
else if( strcmp(token, "ir_lanczos") == 0 ){
quda_input.mg_eig_type[level] = QUDA_EIG_IR_LANCZOS;
}
else if( strcmp(token, "ir_arnoldi") == 0){
quda_input.mg_eig_type[level] = QUDA_EIG_IR_ARNOLDI;
}
Expand Down

0 comments on commit 926f87f

Please sign in to comment.