[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ff3d-dev] Re: how to use "function"
From: |
Stephane Del Pino |
Subject: |
[ff3d-dev] Re: how to use "function" |
Date: |
Fri, 30 Jan 2004 20:19:17 +0100 |
User-agent: |
KMail/1.5.4 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dear Robert.
It is possible to do all that you asked for but not in the order you set it in
your file. Unknowns can be used as standard functions after their declaration
(that can be performed by a solve(u)). I will try to be more precise thanks
to an example:
- ------
solve(u) {
...
}
function v = u+1; // does what is expected
u = x+y; // redefines u but v keeps the 'solution value' + 1!
- ------
Difference between femfunction and function is that femfunction are finite
element functions defined by a mesh. So writing
femfunction u(M) = x+sin(y);
will project the 'x+sin(y)' function on the finite element space of functions
living on the mesh M.
I hope that helps. I will try to make the documentation as clear as possible
on that topic.
Regards,
Stephane.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAGq41bZyhKhZwdc0RAn7KAKCwaBTwVNiWrW6zUvsp+OWMNnBqPwCeJTvo
QwmR6yevd7D6g19aj5dCe1Y=
=hX/w
-----END PGP SIGNATURE-----