[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ff3d-users] Newbie question
From: |
Luigi Bardelli |
Subject: |
Re: [ff3d-users] Newbie question |
Date: |
Wed, 21 Jul 2004 13:02:49 +0200 (CEST) |
Hi Stephane,
thank you, now it works! I have another question (maybe related):
writing something like:
double A=0.123456789; // constant for
solve(var) in MESH
{
pde(var)
// dx(dx(var))=0; // ok
// A*dx(dx(var))=0; // not ok
// -dx(dx(var))=0; // ok
// dx(dx(var))*A=0; // not ok
// dx(dx(A*var))=0; // not ok
// -dx(dx(A*var))=0; // not ok
// -dx(A*dx(var))=0; // ok !
// dx(A*dx(var))=0; // ok !
}
sometimes gives errors like:
line 103:syntax error, unexpected "unkown variable": "var" unexpected
If A is a pde unknown the error changes in
line 103:syntax error, unexpected '*', expecting '=' or '-' or '+': "*"
unexpected
Is it normal?
Another (minor) remark: in docs/Makefile.am the line
dvips `basename $< .tex`.dvi
should be changed in something like
dvips `basename $< .tex`.dvi -o `basename $< .tex`.ps
otherwise the manual will be printed on the default printer every time you
compile the lib (I have already two copies...)
Thank you!
Luigi
On Tue, 20 Jul 2004, Stephane Del Pino wrote:
> Ok, the bug is fixed. It just comes from the fact that we usually solve
> -(dx(dx(V))+dy(dy(V))+dz(dz(V)))=0;
> and not dx(dx(V))+dy(dy(V))+dz(dz(V))=0;
> so I did forget to test it and implement it...
>
> Note also that the scene is useless here since you are using standard FEM and
> not fictitious domain.
>
> Best regards and thanks for the report,
> Stephane.