[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ff3d-users] Question on the solver 'solve'
From: |
Stephane Del Pino |
Subject: |
Re: [ff3d-users] Question on the solver 'solve' |
Date: |
Sat, 14 Aug 2004 13:43:23 +0200 |
User-agent: |
KMail/1.6.2 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello.
It is simple, you cannot use C values before it is declared. There are two
ways to declare a function:
- - using the solve block : solve(C) ...
- - using an explicit declaration:
- function C; // C default value is 0
- function C = C0; // C0 is a given function or constant
- femfunction C(M); // M is a given mesh
- femfunction C(M) = C0;
Add one of the above declarations before your first "if", it should work
better.
Best regards,
Stephane.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBHfrbbZyhKhZwdc0RAn2fAJ9kh9HqLys4ITp0xqj6CuiEGu/x5QCgnEx8
VpqdxWYj1B8arx1Fy4Umkck=
=mi+a
-----END PGP SIGNATURE-----