Commit c7d16222 authored by incardon's avatar incardon

Fixing compilation without IO module

parent 483a48d1
......@@ -56,7 +56,6 @@ endif ()
target_include_directories(mem_map PUBLIC ${CUDA_INCLUDE_DIRS})
target_include_directories(mem_map PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
target_include_directories(mem_map PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../../openfpm_devices/src/)
target_include_directories(mem_map PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../../openfpm_io/src/)
target_include_directories(mem_map PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/config)
target_include_directories(mem_map PUBLIC ${LIBHILBERT_INCLUDE_DIRS})
target_include_directories(mem_map PUBLIC ${Boost_INCLUDE_DIRS})
......
......@@ -19,8 +19,11 @@
#include "SparseGridUtil.hpp"
#include "SparseGrid_iterator.hpp"
// We do not want parallel writer
#ifdef OPENFPM_DATA_ENABLE_IO_MODULE
#define NO_PARALLEL
#include "VTKWriter/VTKWriter.hpp"
#endif
template<typename Tsrc,typename Tdst>
......@@ -1928,6 +1931,8 @@ public:
clear_cache();
}
#ifdef OPENFPM_DATA_ENABLE_IO_MODULE
/*! \brief write the sparse grid into VTK
*
* \param out VTK output
......@@ -1975,6 +1980,8 @@ public:
return vtk_writer.write(output,prp_names,"sparse_grid",ft);
}
#endif
//Functions to check if the packing object is complex
static bool pack()
{
......
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