Commit cf184ff5 authored by incardon's avatar incardon

Adding print ghost option

parent b1d0d9e0
......@@ -103,6 +103,7 @@ enum file_type
#define VTK_WRITER 0x10000
#define FORMAT_ASCII 0x0
#define FORMAT_BINARY 0x10000000
#define PRINT_GHOST 1
template <typename Object, unsigned int imp>
class VTKWriter
......
......@@ -65,14 +65,13 @@ struct vtk_vertex_node_array_scalar_selector<true>
static inline void move(typename G::V_container &vo, s_type (&x)[3], bool &z_set)
{
if (G::V_type::attributes::name[T::value] != "x")
return;
{return;}
if (std::extent<ele_v>::value == 3)
z_set = true;
{z_set = true;}
for (size_t i = 0; i < std::extent<ele_v>::value; i++)
x[i] = convert<typename boost::remove_reference<decltype(vo.template get<T::value>()[i])>::type>::template to<s_type>(vo.template get<T::value>()[i]);
{x[i] = convert<typename boost::remove_reference<decltype(vo.template get<T::value>()[i])>::type>::template to<s_type>(vo.template get<T::value>()[i]);}
}
};
......
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