19.11.2012 Views

Quelques EDP simples r´esolues avec FreeFem++, Astuces et Trucs

Quelques EDP simples r´esolues avec FreeFem++, Astuces et Trucs

Quelques EDP simples r´esolues avec FreeFem++, Astuces et Trucs

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Equation de la chaleur/ def noeud interne<br />

func bool G<strong>et</strong>NoBC(matrix & A,real[int] & in)<br />

{ // def a array in such what<br />

// on unkwnon i<br />

// in[i] = 1 if no boundary condition<br />

// in[i] = 0 if boundary condition<br />

}<br />

in = A.diag ; // take the daig of the matrix<br />

real tgv = in.max ;<br />

for(int i=0 ;i

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!