/usr/share/doc/freefem-examples/multib.pde is in freefem-examples 3.5.8-5.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | pi:=4*atan(1);
border(1,0,2,17)
{x:= cos(pi*t); y:= sin(pi*t)};
border(0,-1,1,7) { x:= t; y:=0; };
border(0,0,1,4) { x:=0;y:=t};
buildmesh(300);
solve(v) {
onbdy(1) id(v)*region+dnu(v)=0;
pde(v)
-laplace(v)*(1+region) =1;
};
plot(v);
|