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;
68 void set_start_index(
long s);
88 void set_bounds(
const std::vector<double> &bounds);
100 std::vector<teca_metadata> requests;
101 std::string index_initializer_key;
102 std::string index_request_key;
106 std::vector<unsigned long> extent;
107 std::vector<double> bounds;
108 std::vector<std::string> arrays;
109 std::vector<int> device_ids;
Base class and default implementation for executives.
Definition: teca_algorithm_executive.h:55
An executive that generates requests using a upstream or user defined index.
Definition: teca_index_executive.h:57
void set_index(long s)
set the index to process
void set_end_index(long s)
void set_extent(unsigned long *ext)
Set the extent to process. The default is taken from whole_extent key.
void set_device_ids(const std::vector< int > &device_ids)
Set the list of devices to assign work to.
void set_bounds(double *bounds)
void set_extent(const std::vector< unsigned long > &ext)
Set the extent to process. The default is taken from whole_extent key.
void set_stride(long s)
Set the stride to process time steps at. The default is 1.
void set_arrays(const std::vector< std::string > &arrays)
Set the list of arrays to process.
p_teca_error_handler error_handler TECA_EXPORT
The global error handler instance.