Salome HOME
Update copyrights
[modules/yacs.git] / doc / exemples / exemple4 / main.cxx
1 #include "FreeFem.hxx"
2
3 int main()
4 {
5   FreeFem C;
6
7   vector<sBord> B(1);
8   B[0].X = "x=cos(2*pi*t)";
9   B[0].Y = "y=sin(2*pi*t)";
10   B[0].n = 100;
11
12   C.Bords(B);
13   C.Flux("y", "-x");
14   C.Convection("exp(-10*((x-0.3)^2 +(y-0.3)^2))", 0.1, 40);
15 }