On 4/14/19 4:29 AM, illi wrote: > I have the following code snippet for computing Eigenvalues using Power > Method: > | > Vector<double> x; > x = solution; > double v = 0.0; > PrimitiveVectorMemory<Vector<double>> mem; > const EigenPower<Vector<double>>::AdditionalData data(0.); > EigenPower<> ep(solver_control, mem, data); > ep.solve(v, system_matrix, x); > | > (where system_matrix is a SparseMatrix<double>) > > The code arises an*abort trap*. What is wrong?
It's hard to tell without more information :-) Can you show the complete error message you see on the screen? I suspect you've already verified that the error really happens in the code snippet above, right? And that you are running in debug mode? The right approach to debugging this will be to run the program in a debugger and see where the trap happens exactly. Best WB -- ------------------------------------------------------------------------ Wolfgang Bangerth email: [email protected] www: http://www.math.colostate.edu/~bangerth/ -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
