Skip to content
Extraits de code Groupes Projets
Valider 284be03f rédigé par Clément CAZENAVE's avatar Clément CAZENAVE
Parcourir les fichiers

Update implicite.cpp

parent ec7ab950
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -60,9 +60,9 @@ void settab(Materiaux mat, int u0, double f) ...@@ -60,9 +60,9 @@ void settab(Materiaux mat, int u0, double f)
double coef= (mat.getlambda()*dt)/(mat.getc()*mat.getkho()*(dx*dx)); double coef= (mat.getlambda()*dt)/(mat.getc()*mat.getkho()*(dx*dx));
double F2=16*f*f; double F2=16*f*f;
vector<double> F(101,0); vector<double> F(101,0);
F[10]=F2; F[10]=F2/(mat.getc()*mat.getkho());
for(int j=50;j<61;j++){ for(int j=50;j<61;j++){
F[j]=F2*0.75; F[j]=F2*0.75/(mat.getc()*mat.getkho());
} }
vector<vector<double> > temp; vector<vector<double> > temp;
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter