When I use the dxx(u) operator on a meshL function u, I get the following error:
Assertion fail : (0)
line :245, in file …/femlib/P012_3dCurve.cpp
My code:
load “msh3” // needed for using meshL command
int nx = 10;
real L=1.0;
meshL Th=segment(nx,[L*x,0,0]);
fespace Vh(Th,P2);
Vh u,v;
u=cos(2pix/L);
v=dx(u);
v=dxx(u);
I am running the latest version: – FreeFem++ v4.1 (Sat, Nov 13, 2021 7:40:01 PM - git v4.10) on Windows 11. The line immediately before v=dx(u); works just fine and I have no issues with it.
Cheers!
Rich