1 #ifndef teca_index_executive_h
2 #define teca_index_executive_h
4 #include "teca_shared_object.h"
5 #include "teca_algorithm_executive.h"
6 #include "teca_metadata.h"
40 int initialize(MPI_Comm comm,
const teca_metadata &md)
override;
44 void set_index(
long s);
48 void set_start_index(
long s);
53 void set_end_index(
long s);
57 void set_stride(
long s);
61 void set_extent(
unsigned long *ext);
62 void set_extent(
const std::vector<unsigned long> &ext);
66 void set_bounds(
double *bounds);
67 void set_bounds(
const std::vector<double> &bounds);
70 void set_arrays(
const std::vector<std::string> &arrays);
76 std::vector<teca_metadata> requests;
77 std::string index_initializer_key;
78 std::string index_request_key;
82 std::vector<unsigned long> extent;
83 std::vector<double> bounds;
84 std::vector<std::string> arrays;