21 #ifndef bempp_vtk_writer_helper_hpp
22 #define bempp_vtk_writer_helper_hpp
24 #include "../common/common.hpp"
26 #include "../common/armadillo_fwd.hpp"
27 #include <boost/type_traits/is_complex.hpp>
28 #include <boost/utility/enable_if.hpp>
30 #include "vtk_writer.hpp"
35 template <
typename ResultType>
36 typename boost::enable_if<boost::is_complex<ResultType>,
void>::type
37 exportSingleDataSetToVtk(
39 const arma::Mat<ResultType>& data,
41 const char* dataLabel,
42 const char* fileNamesBase,
const char* filesPath,
45 template <
typename ResultType>
46 typename boost::disable_if<boost::is_complex<ResultType>,
void>::type
47 exportSingleDataSetToVtk(
49 const arma::Mat<ResultType>& data,
51 const char* dataLabel,
52 const char* fileNamesBase,
const char* filesPath,
OutputType
How data should be stored in a VTK file.
Definition: vtk_writer.hpp:46
DataType
Dataset type.
Definition: vtk_writer.hpp:58