Commit 63f84d6c authored by incardon's avatar incardon

Fixing Binary format

parent f02a479f
......@@ -40,10 +40,6 @@ template <typename T> std::string getType()
return "int";
else if (typeid(T) == typeid(unsigned int))
return "unsigned_int";
else if (typeid(T) == typeid(long int))
return "long";
else if (typeid(T) == typeid(unsigned long int))
return "unsigned_long";
else if (typeid(T) == typeid(bool))
return "bit";
......
/*
* VTKWriter_graph_util.hpp
*
* Created on: Mar 12, 2016
* Author: i-bird
*/
#ifndef OPENFPM_IO_SRC_VTKWRITER_VTKWRITER_GRAPH_UTIL_HPP_
#define OPENFPM_IO_SRC_VTKWRITER_VTKWRITER_GRAPH_UTIL_HPP_
#endif /* OPENFPM_IO_SRC_VTKWRITER_VTKWRITER_GRAPH_UTIL_HPP_ */
......@@ -291,7 +291,7 @@ struct meta_prop<I, ele_g,St,T[N1],is_writable>
for (size_t i1 = 0 ; i1 < N1 ; i1++)
{
tmp = vg.get(k).g.get_o(it.get()).template get<I::value>()[i1];
swap_endian_lt(tmp);
tmp = swap_endian_lt(tmp);
v_out.append((const char *)&tmp,sizeof(T));
}
if (N1 == 2)
......
......@@ -185,7 +185,7 @@ struct is_vtk_writable<long int>
//! long int is vtk writable
enum
{
value = true
value = false
};
};
......@@ -196,7 +196,7 @@ struct is_vtk_writable<unsigned long int>
//! unsigned long int is vtk writable
enum
{
value = true
value = false
};
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment