Skip to content
Snippets Groups Projects
Commit f625f29d authored by Fanny CHOPOT's avatar Fanny CHOPOT
Browse files

modif : les valeurs de k ne changent plus sur les mailles

parent 382cef42
Branches
Tags
No related merge requests found
......@@ -160,7 +160,7 @@ int main(int argc, char *argv[])
double c = 0.;
c = finite_volumes_diffusion.conservatif(unknowns);
/*
// Ecriture des valeurs initiales dans un fichier
const Kokkos::View<const Rd*> xj = mesh_data.xj();
......@@ -257,7 +257,7 @@ int main(int argc, char *argv[])
}
}
diff.close();
*/
while((t<tmax) and (iteration<itermax)) {
......@@ -325,10 +325,10 @@ int main(int argc, char *argv[])
++iteration;
std::cout << "temps t : " << t << std::endl;
/*
// ECRITURE DANS UN FICHIER
if ((std::fmod(t,0.001) < 0.0001) or (t == tmax)) {
if ((std::fmod(t,0.01) < 0.0001) or (t == tmax)) {
std::string ligne;
......@@ -544,7 +544,7 @@ int main(int argc, char *argv[])
riffout.close();
}
*/
// ENTROPY TEST
//finite_volumes_diffusion.entropie(unknowns);
......
......@@ -384,7 +384,7 @@ public:
});
// Mise a jour de k
/*
Kokkos::parallel_for(m_mesh.numberOfCells(), KOKKOS_LAMBDA(const int& j) {
//kj(j) = xj[j][0];
//kj(j) = 0.5;
......@@ -400,7 +400,7 @@ public:
}
});
*/
}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment