Hi, On Wed, Jul 19, 2017, at 09:59 CDT, "'Maxi Miller' via deal.II User Group" <dealii@googlegroups.com> wrote:
> Hei, > I was wondering if dealII already natively supports equations containing > imaginary values, such as > > <https://lh3.googleusercontent.com/-XNa7LZRlhVg/WW9zfQag28I/AAAAAAAACQM/L-zw-v0Kg9k8kKV4YybVSpr8g3DwbzjMwCLcBGAs/s1600/simple_equation.png> > or if I still have to split them up, such as in example 29? Most of the data structures (such as system matrix and vectors and tensor classes) are templated in number type so you can simply use them to store complex numbers. We also support PETSc with complex number support, so you also get solvers that might work directly with complex-valued objects. However, for practical purposes (and after having worked with deal.II in context of time-harmonic Maxwell's equations) I recommend splitting into a real-valued block structure right from the beginning. It is simply much more flexible when it comes to choice of underlying linear algebra package and solvers. I hope that helped a bit. Best, Matthias -- 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 dealii+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.