1 #ifndef teca_cartesian_mesh_writer_h
2 #define teca_cartesian_mesh_writer_h
4 #include "teca_shared_object.h"
5 #include "teca_algorithm.h"
6 #include "teca_metadata.h"
29 TECA_GET_ALGORITHM_PROPERTIES_DESCRIPTION()
30 TECA_SET_ALGORITHM_PROPERTIES()
34 TECA_ALGORITHM_PROPERTY(std::string, file_name)
37 TECA_ALGORITHM_PROPERTY(
int, binary)
41 enum {format_bin, format_vtk, format_vtr, format_auto};
42 TECA_ALGORITHM_PROPERTY(
int, output_format)
43 void set_output_format_bin(){ this->set_output_format(format_bin); }
44 void set_output_format_vtk(){ this->set_output_format(format_vtk); }
45 void set_output_format_vtr(){ this->set_output_format(format_vtr); }
46 void set_output_format_auto(){ this->set_output_format(format_auto); }
52 const_p_teca_dataset execute(
unsigned int port,
53 const std::vector<const_p_teca_dataset> &input_data,
57 std::string file_name;