get a result from a FreeFem computation
[nodel, trianl, tFunc] = getffResult(strlistvar)
[tFunc] = getffResult(strlistvar)
[nodel, trianl] = getffResult()
a string containing the list of variable name (separated by commas) to be extracted from FreeFem
table of nodes with 3 column [n,x,y]
n is the node number column vector
x is the x coordinate column vector
y is the y coordinate column vector
is a matrix with 5 columns : [n1,node1,node2,node3,flag] node1,node2,node3 are the number of the nodes which constitutes the triangle. n1 is the number of the triangle and flag is an integer not used here
the vector of the solution on each nodes
get a result from a FreeFem computation
// Plot the mesh after deformation ff_exec('mesh th1 = movemesh(th, x-u1, y-u2);'); [noeul,trianl] = getffResult(); | ![]() | ![]() |
ff_problem(strcat(['solve(u) {',... pde_sol(u,div(grad(u)),f),... 'on(a,b,c,d,e,f) u = 0; };'])); // Get the result as a Scilab variables [noeul,trianl,tFunc] = getffResult('u'); | ![]() | ![]() |