1 #ifndef teca_index_executive_h
2 #define teca_index_executive_h
5 #include "teca_algorithm_executive.h"
6 #include "teca_metadata.h"
36 int initialize(MPI_Comm comm,
const teca_metadata &md)
override;
40 void set_index(
long s);
43 void set_start_index(
long s);
48 void set_end_index(
long s);
51 void set_stride(
long s);
54 void set_extent(
unsigned long *ext);
57 void set_extent(
const std::vector<unsigned long> &ext);
62 void set_bounds(
double *bounds);
63 void set_bounds(
const std::vector<double> &bounds);
66 void set_arrays(
const std::vector<std::string> &arrays);
72 std::vector<teca_metadata> requests;
73 std::string index_initializer_key;
74 std::string index_request_key;
78 std::vector<unsigned long> extent;
79 std::vector<double> bounds;
80 std::vector<std::string> arrays;