1 #ifndef teca_index_executive_h
2 #define teca_index_executive_h
4 #include "teca_config.h"
6 #include "teca_algorithm_executive.h"
7 #include "teca_metadata.h"
61 int initialize(MPI_Comm comm,
const teca_metadata &md)
override;
65 void set_index(
long s);
68 void set_start_index(
long s);
73 void set_end_index(
long s);
76 void set_stride(
long s);
79 void set_extent(
unsigned long *ext);
82 void set_extent(
const std::vector<unsigned long> &ext);
87 void set_bounds(
double *bounds);
88 void set_bounds(
const std::vector<double> &bounds);
91 void set_arrays(
const std::vector<std::string> &arrays);
97 std::vector<teca_metadata> requests;
98 std::string index_initializer_key;
99 std::string index_request_key;
103 std::vector<unsigned long> extent;
104 std::vector<double> bounds;
105 std::vector<std::string> arrays;