From: Yuxiang W. <yw...@vi...> - 2019-03-01 06:53:58
|
Ah sorry - found it! I should be using the command line option of "--use-eigen" for example when I run the executable. Shawn On Thu, Feb 28, 2019 at 10:46 PM Yuxiang Wang <yw...@vi...> wrote: > Dear all, > > Sorry again for the spam. > > Can I choose the solver to be different from my > libMesh::default_solver_package()? > > I noticed that when I use a LinearImplicitSystem, my > system.get_linear_solver() is whatever the > libMesh::default_solver_package() is. Can I change that to a different > solver? In my case, the default is PETSc, but I'd like to use the Eigen > Sparse Linear Solver. > > Sorry if this is a very entry-level question - I would be happy to do more > research on my own, but currently I could not find where to read more about > this. I tried to set system.linear_solver directly but failed. At this > point, any hint in where to research into would be appreciated. Thank you! > > Best, > Shawn > > -- > Yuxiang "Shawn" Wang, PhD > yw...@vi... > +1 (434) 284-0836 > -- Yuxiang "Shawn" Wang, PhD yw...@vi... +1 (434) 284-0836 |