diff --git a/src/main.cpp b/src/main.cpp index 15c973fffd6d69442cea0451a09ebb978e47eb41..c41d69c529675d3179c6f82ad2a4d236f4cf2286 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 ddef6dd5b3ae4ddb1242b86090a909749fabc7bd..75239af149754a9b69a1d33f436bb84c53ef19d1 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())