Question #96782 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/96782

    Status: Open => Answered

Anders Logg proposed the following answer:
On Sat, Jan 09, 2010 at 05:22:23PM -0000, Lex wrote:
> New question #96782 on DOLFIN:
> https://answers.launchpad.net/dolfin/+question/96782
>
> Hello,
>
> i want to calculate some electromagnetic finite element formulations, where 
> some of the constants, like permeability, are complex numbers. As i found no 
> support for complex numbers, my first intention was to use the GenericMatrix 
> interface, but the get, set and add methods in the interface are all using 
> double values.  So my question: Is it possible to use complex matrices and 
> numbers with the assembler and solver classes or are they restricted to real 
> matrices? Or am i understanding something completely wrong?
>
> Regards and thanks in advance,
> Alex

It's currently limited to doubles. This means that you need to rewrite
your equation as a system of real and imaginary parts and then solve
it as a system.

--
Anders

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.

_______________________________________________
Mailing list: https://launchpad.net/~dolfin
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dolfin
More help   : https://help.launchpad.net/ListHelp

Reply via email to