diff --git a/Tests/Particles/Mapped/InitHelix.cpp b/Tests/Particles/Mapped/InitHelix.cpp index 1f2d28f7a3b..664c7a048ab 100644 --- a/Tests/Particles/Mapped/InitHelix.cpp +++ b/Tests/Particles/Mapped/InitHelix.cpp @@ -41,7 +41,6 @@ InitHelix (amrex::MultiFab& a_xyz_loc, amrex::Geometry& geom) Real xi = (static_cast(i)) * d_xi; Real eta = (static_cast(j)) * d_eta; Real zeta = (static_cast(k)) * d_zeta; - loc_arr(i,j,k,0) = cx + (0.1 * xi + 0.1) * cos(tpi * eta); loc_arr(i,j,k,1) = cy + (0.1 * xi + 0.1) * sin(tpi * eta); //loc_arr(i,j,k,2) = cz + ( xi * 0.1 - 0.1 ) + zeta * 0.1 * (2. + 1. * xi); 3D torus diff --git a/Tests/Particles/Mapped/InitTorus.cpp b/Tests/Particles/Mapped/InitTorus.cpp index fdbc147440c..f305c572840 100644 --- a/Tests/Particles/Mapped/InitTorus.cpp +++ b/Tests/Particles/Mapped/InitTorus.cpp @@ -41,7 +41,6 @@ InitTorus (amrex::MultiFab& a_xyz_loc, amrex::Geometry& geom) Real xi = (static_cast(i)) * d_xi; Real eta = (static_cast(j)) * d_eta; Real zeta = (static_cast(k)) * d_zeta; - loc_arr(i,j,k,0) = cx + (0.1 * xi + 0.1) * cos(tpi * eta); loc_arr(i,j,k,1) = cy + (0.1 * xi + 0.1) * sin(tpi * eta); loc_arr(i,j,k,2) = cz + ( xi * 0.1 - 0.1 ) + zeta * 0.1 * (2. + 1. * xi); //3D torus diff --git a/Tests/Particles/Mapped/MappedPC.H b/Tests/Particles/Mapped/MappedPC.H index 4b0369b3b1c..7f18a8f21f8 100644 --- a/Tests/Particles/Mapped/MappedPC.H +++ b/Tests/Particles/Mapped/MappedPC.H @@ -265,7 +265,7 @@ public: } }}} } - if (!inside) { + if (!inside) { // // looping over neighboring cells // for (int lo_k = -2; lo_k <=2; ++lo_k){ // for (int lo_j = -2; lo_j <=2; ++lo_j){ diff --git a/Tests/Particles/Mapped/MappedPC.cpp b/Tests/Particles/Mapped/MappedPC.cpp index 5ce0a0677d8..c52a34b47b5 100644 --- a/Tests/Particles/Mapped/MappedPC.cpp +++ b/Tests/Particles/Mapped/MappedPC.cpp @@ -274,7 +274,7 @@ MappedPC::AdvectWithUND (MultiFab& vel_nd, int lev, Real dt, const MultiFab& a_x amrex::Real rc = sqrt((p.pos(0)-0.5)*(p.pos(0)-0.5) + (p.pos(1)-0.5)*(p.pos(1)-0.5)); amrex::Real theta = std::atan2( (p.pos(2) - 0.5) , (p.pos(1) - 0.5)); amrex::Print() << "TO " << p.pos(0) << " " << p.pos(1) << " " << p.pos(AMREX_SPACEDIM-1) << " " << rc << " " << theta << - " WITH VEL " << v[0] << " " << v[1] << " " << v[2] << std::endl; + " WITH VEL " << v[0] << " " << v[1] << " " << v[2] << std::endl; #endif update_mapped_idata(p,plo,dxi,loc_arr); // amrex::AllPrintToFile("partpos.txt") << p.pos(0) << " " << p.pos(1) << " " << p.pos(2)<< " \n"; diff --git a/Tests/Particles/Mapped/main.cpp b/Tests/Particles/Mapped/main.cpp index 86efb22c62f..698c55cadc2 100644 --- a/Tests/Particles/Mapped/main.cpp +++ b/Tests/Particles/Mapped/main.cpp @@ -291,7 +291,7 @@ WriteGenericPlotfileHeaderWithMapped (std::ostream &HeaderFile, amrex::Vector ref_ratio(nlevels); for (int i = 0 ; i