Skip to content

Commit

Permalink
Corrected data passing in conversion constructor, added dumps and dat…
Browse files Browse the repository at this point in the history
…a visualisation for hall mhd debugging
  • Loading branch information
UCaromel committed Jul 25, 2024
1 parent 2c5700a commit 07806f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/TimeIntegrator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ ConservativeVariables EulerAdvance(const ConservativeVariables& Un, double Dx, d
static int j = 0;
std::ostringstream filenamex;
filenamex << "whislerwaveres/" <<"Jx2_"<<j<< ".txt";
saveVectorToFile(Un.Jx, filenamex.str());
saveVectorToFile(P_cc.Jx, filenamex.str());
std::ostringstream filenamey;
filenamey << "whislerwaveres/" <<"Jy2_"<<j<< ".txt";
saveVectorToFile(Un.Jy, filenamey.str());
saveVectorToFile(P_cc.Jy, filenamey.str());
std::ostringstream filenamez;
filenamez << "whislerwaveres/" <<"Jz2_"<<j<< ".txt";
saveVectorToFile(Un.Jz, filenamez.str());
saveVectorToFile(P_cc.Jz, filenamez.str());
j++;
*/
ConservativeVariables FluxDifx = ComputeFluxDifferenceX(P_cc, Dx, Dy, nghost, rec, sl, rs, OptP);
Expand Down

0 comments on commit 07806f2

Please sign in to comment.