next up previous contents index
Next: Scal() Up: Other features Previous: Iter   Contents   Index

Complex numbers

Gfem can handle complex coefficients with 4 dedicated keywords:

There is purposely no conjug function but barz=Re(z)-I*Im(z) will do.

By default all graphics display the real part. To display the imaginary part do plot(Im(f)).

The functions implemented for complex numbers are:

The linear systems for the PDE are solved by a Gauss complex LU factorization.

WARNING: failure to declare complex in the program implies all computation will be done in real, even if I is used.


next up previous contents index
Next: Scal() Up: Other features Previous: Iter   Contents   Index
Christophe Prud'homme 2001-10-20