1 #ifndef teca_uniform_cartesian_mesh_h
2 #define teca_uniform_cartesian_mesh_h
4 #include "teca_uniform_cartesian_mesh_fwd.h"
12 TECA_DATASET_NEW_INSTANCE()
13 TECA_DATASET_NEW_COPY()
18 TECA_DATASET_METADATA(time,
double, 1)
19 TECA_DATASET_METADATA(time_step,
unsigned long, 1)
20 TECA_DATASET_METADATA(spacing,
double, 3)
21 TECA_DATASET_METADATA(origin,
double, 3)
22 TECA_DATASET_METADATA(extent,
unsigned long, 6)
23 TECA_DATASET_METADATA(local_extent,
unsigned long, 6)
26 std::string get_class_name()
const override
27 {
return "teca_uniform_cartesian_mesh"; }
30 int get_type_code()
const override;
34 void copy(
const const_p_teca_dataset &)
override;
35 void shallow_copy(
const p_teca_dataset &)
override;
38 void swap(p_teca_dataset &)
override;