I want to plot a 3D mesh of rectangular cube x=0 to x=2*pi, y=0 to y=pi, z=1 to z=1.5.
But the code is showing error in line 48.
cube.edp (1.6 KB)
You are trying to reproduce the code lines of the documentation
p.147-148, but the arguments you use are not correct.
In any case you don’t need to redefine the function “cube”, which already exists in freefem.
Just remove the definition of func cube in your code!
The message says “bad orientation”.
movemesh does not allow a reverse orientation of the transformation map.
You have to put a minus sign
func ir = -z*cos(y);
1 Like
Thank you sir for the information.