Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 57871180 authored by frey_m's avatar frey_m
Browse files

AMR: do not write potential

parent 92f98e47
No related branches found
No related tags found
1 merge request!32Master
......@@ -23,7 +23,7 @@ AmrYtWriter::AmrYtWriter(int step)
realData_m.resize(//3 + // coordinates
3 + // momenta
3 + // charge + mass + timestep
1 + // potential at particle location
// 1 + // potential at particle location
3 + // electric field at particle location
3); // magnetic field at particle location
......@@ -37,7 +37,7 @@ AmrYtWriter::AmrYtWriter(int step)
realData_m[idx++] ="charge";
realData_m[idx++] ="mass";
realData_m[idx++] ="timestep";
realData_m[idx++] ="potential";
// realData_m[idx++] ="potential";
realData_m[idx++] ="electric_field_x";
realData_m[idx++] ="electric_field_y";
realData_m[idx++] ="electric_field_z";
......@@ -637,8 +637,8 @@ void AmrYtWriter::writeParticles_m(int level,
// timestep
rptr[idx++] = bunch_p->dt[ip];
// potential
rptr[idx++] = bunch_p->Phi[ip];
// // potential
// rptr[idx++] = bunch_p->Phi[ip];
// electric field
for (int j = 0; j < AMREX_SPACEDIM; ++j)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment