1 #ifndef teca_cartesian_mesh_writer_h
2 #define teca_cartesian_mesh_writer_h
4 #include "teca_config.h"
6 #include "teca_algorithm.h"
7 #include "teca_metadata.h"
30 TECA_GET_ALGORITHM_PROPERTIES_DESCRIPTION()
31 TECA_SET_ALGORITHM_PROPERTIES()
35 TECA_ALGORITHM_PROPERTY(std::
string, file_name)
38 TECA_ALGORITHM_PROPERTY(
int, binary)
42 enum {format_bin, format_vtk, format_vtr, format_auto};
43 TECA_ALGORITHM_PROPERTY(
int, output_format)
44 void set_output_format_bin(){ this->set_output_format(format_bin); }
45 void set_output_format_vtk(){ this->set_output_format(format_vtk); }
46 void set_output_format_vtr(){ this->set_output_format(format_vtr); }
47 void set_output_format_auto(){ this->set_output_format(format_auto); }
53 const_p_teca_dataset execute(
unsigned int port,
54 const std::vector<const_p_teca_dataset> &input_data,
58 std::string file_name;