Can I directly define a tetrahedral mesh in FreeFEM++ using mesh3 Th = tetrahedron(10, 10, 10, [0, 1], [0, 1], [0, 1]);
, or are there any prerequisites? Thank you everyone!
no code to build a tetrahedron to day in freefem++,
but you can use a file
here a trick to buil mesh with 1 tet.
real[int] xx=[0,1,0,0], yy=[0,0,1,0], zz=[0,0,0,1];
mesh3 Th=tetgconvexhull(xx,yy,zz,region=1,label=3);
savemesh(Th,“/tmp/Th.mesh”);
Thank you, professor