From 6abd6aa345226db5ef6d1ab1a6c0d26969d4877b Mon Sep 17 00:00:00 2001 From: Fanny CHOPOT <fanny.chopot.ocre@cea.fr> Date: Tue, 15 May 2018 10:00:14 +0200 Subject: [PATCH] mise a jour --- src/main.cpp | 2 +- src/mesh/Mesh.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 15c973fff..c41d69c52 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -214,7 +214,7 @@ int main(int argc, char *argv[]) std::ofstream fout("comparaison u"); fout.precision(15); for (size_t j=0; j<mesh.numberOfCells(); ++j) { - // fout << xj[j][0] << ' ' << uj[j][0] << ' ' << std::sin(pi*xj[j][0])*std::exp(-2.*pi*pi*0.2) <<'\n'; //cas k constant + //fout << xj[j][0] << ' ' << uj[j][0] << ' ' << std::sin(pi*xj[j][0])*std::exp(-2.*pi*pi*0.2) <<'\n'; //cas k constant fout << xj[j][0] << ' ' << uj[j][0] << ' ' << std::sin(pi*xj[j][0])*std::exp(-0.2) <<'\n'; // cas k non constant } } diff --git a/src/mesh/Mesh.hpp b/src/mesh/Mesh.hpp index ddef6dd5b..75239af14 100644 --- a/src/mesh/Mesh.hpp +++ b/src/mesh/Mesh.hpp @@ -64,7 +64,7 @@ public: // pas non constant - + Mesh(const Connectivity& connectivity) : m_connectivity(connectivity), m_xr("xr", connectivity.numberOfNodes()) -- GitLab