complex data structure

Asked by stefano micheletti

I am interested in the 3D Nedelec elements.
Is it possible to solve complex (i.e., not real) algebraic systems ?
Thank you

Question information

Language:
English Edit question
Status:
Answered
For:
DOLFIN Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Garth Wells (garth-wells) said :
#1

On 19/07/10 14:32, stefano micheletti wrote:
> New question #118225 on DOLFIN:
> https://answers.launchpad.net/dolfin/+question/118225
>
> I am interested in the 3D Nedelec elements.
> Is it possible to solve complex (i.e., not real) algebraic systems ?

Not directly. For now you would have to treat a complex number as a
vector. There is a Blueprint for UFL to support complex functions,

     https://blueprints.launchpad.net/ufl/+spec/complex-functions

Garth

> Thank you
>

Revision history for this message
Anders Logg (logg) said :
#2

On Mon, Jul 19, 2010 at 01:32:38PM -0000, stefano micheletti wrote:
> New question #118225 on DOLFIN:
> https://answers.launchpad.net/dolfin/+question/118225
>
> I am interested in the 3D Nedelec elements.
> Is it possible to solve complex (i.e., not real) algebraic systems ?
> Thank you

I suggest rewriting your problem as a system of equations for the real
and imaginary parts, then just discretize using real numbers.

--
Anders

Revision history for this message
N.A. Borggren (nborggren) said :
#3

Hello,
    How would one go about implementing such structures? I too am
interested in using complex numbers, and finite fields would also be
useful. Is there any particular linear algebra package perhaps that might
be well suited to overwrite the basic addition and multiplication functions
of the matrix and vector elements?
    Thanks,
        Nathan Borggren

On Mon, Jul 19, 2010 at 4:06 PM, Anders Logg <
<email address hidden>> wrote:

> Question #118225 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/118225
>
> Anders Logg proposed the following answer:
> On Mon, Jul 19, 2010 at 01:32:38PM -0000, stefano micheletti wrote:
> > New question #118225 on DOLFIN:
> > https://answers.launchpad.net/dolfin/+question/118225
> >
> > I am interested in the 3D Nedelec elements.
> > Is it possible to solve complex (i.e., not real) algebraic systems ?
> > Thank you
>
> I suggest rewriting your problem as a system of equations for the real
> and imaginary parts, then just discretize using real numbers.
>
> --
> 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<https://launchpad.net/%7Edolfin>
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~dolfin<https://launchpad.net/%7Edolfin>
> More help : https://help.launchpad.net/ListHelp
>

Can you help with this problem?

Provide an answer of your own, or ask stefano micheletti for more information if necessary.

To post a message you must log in.