Skip to content
Snippets Groups Projects
Commit b1d0d9e0 authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Fixing IO for particles 1D

parent 7e6e363f
No related branches found
No related tags found
No related merge requests found
......@@ -435,7 +435,9 @@ template<unsigned int dims,typename T> inline void output_point(Point<dims,T> &
{
if (ft == file_type::ASCII)
{
if (dims == 2)
if (dims == 1)
v_out << p.toString() << " 0.0" << " 0.0" << "\n";
else if (dims == 2)
v_out << p.toString() << " 0.0" << "\n";
else
v_out << p.toString() << "\n";
......
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