Browse Source

added include all file

master
Trevor Irons 7 years ago
parent
commit
66e96f66e8
2 changed files with 3 additions and 2 deletions
  1. 1
    0
      include/EMSchur3D
  2. 2
    2
      include/EMSchur3D.h

+ 1
- 0
include/EMSchur3D View File

1
+#include "EMSCHUR3D.h"

+ 2
- 2
include/EMSchur3D.h View File

496
         CSolver = new Eigen::BiCGSTAB<Eigen::SparseMatrix<Complex, Eigen::RowMajor>, Eigen::IncompleteLUT<Complex> > [Omegas.size()];
496
         CSolver = new Eigen::BiCGSTAB<Eigen::SparseMatrix<Complex, Eigen::RowMajor>, Eigen::IncompleteLUT<Complex> > [Omegas.size()];
497
         for (int iw=0; iw<Omegas.size(); ++iw) {
497
         for (int iw=0; iw<Omegas.size(); ++iw) {
498
             Csym = Cvec[iw].selfadjointView<Eigen::Lower>();
498
             Csym = Cvec[iw].selfadjointView<Eigen::Lower>();
499
-            CSolver[iw].preconditioner().setDroptol(1e-3);
500
-            //CSolver[iw].preconditioner().setFillfactor(1e3);
499
+            CSolver[iw].preconditioner().setDroptol(1e-12);
500
+            CSolver[iw].preconditioner().setFillfactor(1e2);
501
             jsw_timer timer;
501
             jsw_timer timer;
502
             timer.begin();
502
             timer.begin();
503
             /*  Complex system */
503
             /*  Complex system */

Loading…
Cancel
Save