provadxw.edp

// test of DxWriter  from Sala Lorenzo. 
load "DxWriter" 
mesh Th=square(5,5); 
DxWriter ff("pippo"); 
Dxaddmesh(ff, Th); 
Dxaddtimeseries(ff, "Vx",Th); 
fespace Vh(Th, P1); 
real t=1.0; 
Vh vx=x*y*t; 
Dxaddsol2ts(ff,"Vx",t, vx); 
t=2.0; 
vx=x*y*t; 
Dxaddsol2ts(ff,"Vx",t, vx); 
cout<<"Hello";