<< ff_exec SciFreeFEM ff_var >>

SciFreeFEM >> SciFreeFEM > ff_problem

ff_problem

execute a FreeFem problem

Calling Sequence

ff_problem(string,choice)

Parameters

string

a string containing the FreeFem problem to be executed

choice

an int scalar - if different from 0 then the matrix profil will be passed to Scilab

Description

execute a FreeFem problem

Examples

ff_problem(strcat(['varsolve(th,0) bb(u1,v1,u2,v2) with {',...
           pde_varsol('bb','domain',...
           2*mu*(eps_u.*.eps_v)+lambda*tr(eps_u)*tr(eps_v)/2-g*v),...
           '+ on(b,d)(v1)(u1=0)',...
       '+ on(b,d)(v2)(u2=0) };']),1);

// Get the result as a Scilab variables
[noeul,trianl,tFunc] = getffResult('u1');

[Mat,jlow,jhigh,SizeBloc] = getMatrix();

See Also

Authors

Yann Collette


Report an issue
<< ff_exec SciFreeFEM ff_var >>