Hi I think the behaviour is similar to std::complex.
Thank you very much. Just to verify , for If I wish to solve \nabla^2 u = 2+3i * f(x); How do I represent 2+3i . I guess I can do something like Complex abc (2,3)*f; and similarly (2i) nabla^2 u + 3u = f(x) I have to do the following in my stiffness matrix assembly, Complex abc(0,2); abc*Ke(i,j) Thanks and Regards Vegnesh ________________________________ From: Jayaraman, Vegnesh Sent: Wednesday, July 20, 2016 6:17 PM To: libmesh-users@lists.sourceforge.net Subject: Using Complex Numbers Hi I have compiled libmesh with complex number support enabled. However, I do not know how to use complex numbers in libmesh. For example = If I wish to solve \nabla^2 u = 2+3i * f(x); How do I represent 2+3i . Similarly, if my governing equation is (2i) nabla^2 u + 3u = f(x) how do I implement the above expression. Thank you for helping me out. Regards Vegnesh ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports.http://sdm.link/zohodev2dev _______________________________________________ Libmesh-users mailing list Libmesh-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-users