1 #ifndef teca_vorticity_h
2 #define teca_vorticity_h
4 #include "teca_shared_object.h"
5 #include "teca_algorithm.h"
6 #include "teca_metadata.h"
27 TECA_GET_ALGORITHM_PROPERTIES_DESCRIPTION()
28 TECA_SET_ALGORITHM_PROPERTIES()
32 TECA_ALGORITHM_PROPERTY(std::string, component_0_variable)
33 TECA_ALGORITHM_PROPERTY(std::string, component_1_variable)
37 TECA_ALGORITHM_PROPERTY(std::string, vorticity_variable)
42 std::string get_component_0_variable(
const teca_metadata &request);
43 std::string get_component_1_variable(
const teca_metadata &request);
44 std::string get_vorticity_variable(
const teca_metadata &request);
49 const std::vector<teca_metadata> &input_md)
override;
51 std::vector<teca_metadata> get_upstream_request(
53 const std::vector<teca_metadata> &input_md,
56 const_p_teca_dataset execute(
58 const std::vector<const_p_teca_dataset> &input_data,
62 std::string component_0_variable;
63 std::string component_1_variable;
64 std::string vorticity_variable;