slice
meshfile=fc_oogmsh.buildmesh3d('cylinder3holes',10);
Th=fc_simesh.siMesh(meshfile);
u=@(x,y,z) cos(2*x-y-z).*sin(x-2*y+z);
U=Th.eval(u);
figure(1)
P=fc_tools.graphics.PlaneCoefs([0 0 1],[1 -1 1]);
fc_siplt.slice(Th,U,P)
hold on
fc_siplt.plotmesh(Th,'d',1,'color','k')
axis equal
view(-11,15)
P=[fc_tools.graphics.PlaneCoefs([0 0 1/2],[1 0 0]); ...
fc_tools.graphics.PlaneCoefs([0 0 1/2],[0 1 0]); ...
fc_tools.graphics.PlaneCoefs([0 0 1],[1 -1 1])];
figure(2)
fc_siplt.slice(Th,U,P)
hold on
fc_siplt.plotmesh(Th,'d',1,'color','k')
axis equal
view(-11,15)
[fc-oogmsh] Input file : <fc-oogmsh>/geodir/3d/cylinder3holes.geo
[fc-oogmsh] Mesh file <fc-oogmsh>/meshes/cylinder3holes-10.msh [version 4.1] already exists.
-> Use "force" flag to rebuild if needed.
Mesh cylinder3holes-10.msh is a 3-dimensional mesh
Force dimension to 3
