Thank for your reply, Actually I just kill this error by writing the code again from scratch. I think the problem might be "system_matrix.clear()" is missed befor system_matrix.reinit().
在2022年10月12日星期三 UTC+8 04:05:32<[email protected]> 写道: > Hello, > > I can't identify the problem right away, but here are some tips in > debugging it: > > - Does the problem persist if you disable both h- and p-refinement? If > so, than an issue might be that your data structures haven't been > reinitialized after you updated your discretization. > - Do you run the code in Debug mode? > - Do you use the latest version of Trilinos? > > Marc > > On Sunday, October 9, 2022 at 7:02:26 AM UTC-6 yy.wayne wrote: > >> In step-75 I try to replace the coarse mg solver with a direct solver, >> which is TrilinosWrappers::SolverDirect. However I get Segmentation error >> calling the direct solver, at the last step of SolverDirect::solve(): >> >> solver_control.check(0,0); >> >> Where could be the mistake? (The deal.ii version is 9.4.0) >> > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/a0bc1ad7-2d97-47c8-aba7-2b2fc95d1e51n%40googlegroups.com.
