for (unsigned int i=0; i < eigenvalues.size(); i++)
eigenfunctions[i] = 0.;
- SolverControl solver_control (dof_handler.n_dofs(), 1e-9,/*log_history*/false,/*log_results*/false);
- SolverControl solver_control_lin (dof_handler.n_dofs(), 1e-10,/*log_history*/false,/*log_results*/false);
static ReductionControl inner_control_c(/*maxiter*/stiffness_matrix.m(),
/*tolerance (global)*/ 0.0,
PArpackSolver<TrilinosWrappers::MPI::Vector>::largest_real_part,
false);
+ SolverControl solver_control(
+ dof_handler.n_dofs(), 1e-9, /*log_history*/ false, /*log_results*/ false);
+
PArpackSolver<TrilinosWrappers::MPI::Vector> eigensolver (solver_control,
mpi_communicator,
additional_data);
{
std::vector<std::complex<double> > lambda(number_of_eigenvalues);
- SolverControl solver_control (dof_handler.n_dofs(), 1e-9,/*log_history*/false,/*log_results*/false);
- SolverControl solver_control_lin (dof_handler.n_dofs(), 1e-10,/*log_history*/false,/*log_results*/false);
-
// set up iterative inverse
static ReductionControl inner_control_c(dof_handler.n_dofs(), 0.0, 1.e-13);
PArpackSolver<LinearAlgebra::distributed::Vector<double> >::largest_magnitude,
true);
+ SolverControl solver_control(
+ dof_handler.n_dofs(), 1e-9, /*log_history*/ false, /*log_results*/ false);
+
PArpackSolver<LinearAlgebra::distributed::Vector<double>> eigensolver(
solver_control, mpi_communicator, additional_data);
for (unsigned int i=0; i < eigenvalues.size(); i++)
eigenfunctions[i] = 0.;
- SolverControl solver_control (dof_handler.n_dofs(), 1e-9,/*log_history*/false,/*log_results*/false);
- SolverControl solver_control_lin (dof_handler.n_dofs(), 1e-10,/*log_history*/false,/*log_results*/false);
-
static ReductionControl inner_control_c(/*maxiter*/stiffness_matrix.m(),
/*tolerance (global)*/ 0.0,
/*reduce (w.r.t. initial)*/ 1.e-13);
PArpackSolver<TrilinosWrappers::MPI::Vector>::largest_magnitude,
true);
+ SolverControl solver_control(
+ dof_handler.n_dofs(), 1e-9, /*log_history*/ false, /*log_results*/ false);
+
PArpackSolver<TrilinosWrappers::MPI::Vector> eigensolver (solver_control,
mpi_communicator,
additional_data);