Driver for 1D Poisson problem.
///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////
447 MPI_Helpers::init(argc,argv);
451 unsigned n_element=100;
453 clock_t t_start1 = clock();
459 std::cout <<
"Matrix size " <<
problem.ndof() << std::endl;
463 clock_t t_end1 = clock();
465 clock_t t_start2 = clock();
473 clock_t t_end2 = clock();
475 #ifdef OOMPH_HAS_TRILINOS
476 clock_t t_start3 = clock();
482 clock_t t_end3 = clock();
485 std::cout <<
"ARPACK TIME: " << (
double)(t_end1 - t_start1)/CLOCKS_PER_SEC
488 std::cout <<
"LAPACK TIME: " << (
double)(t_end2 - t_start2)/CLOCKS_PER_SEC
491 #ifdef OOMPH_HAS_TRILINOS
492 std::cout <<
"ANASAZI TIME: " << (
double)(t_end3 - t_start3)/CLOCKS_PER_SEC
497 MPI_Helpers::finalize();
1D Harmonic problem in unit interval.
Definition: eigenproblems/harmonic/harmonic.cc:269
Class for the Anasazi eigensolver.
Definition: trilinos_eigen_solver.h:571
Class for the ARPACK eigensolver.
Definition: eigen_solver.h:104
Class for the LAPACK eigensolver.
Definition: eigen_solver.h:224
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213