1 #ifndef teca_uniform_cartesian_mesh_h
2 #define teca_uniform_cartesian_mesh_h
14 TECA_DATASET_NEW_INSTANCE()
15 TECA_DATASET_NEW_COPY()
20 TECA_DATASET_METADATA(time,
double, 1)
21 TECA_DATASET_METADATA(time_step,
unsigned long, 1)
22 TECA_DATASET_METADATA(spacing,
double, 3)
23 TECA_DATASET_METADATA(origin,
double, 3)
24 TECA_DATASET_METADATA(extent,
unsigned long, 6)
25 TECA_DATASET_METADATA(whole_extent,
unsigned long, 6)
28 unsigned long get_number_of_points()
const override;
31 unsigned long get_number_of_cells()
const override;
35 {
return "teca_uniform_cartesian_mesh"; }
38 int get_type_code()
const override;
42 void copy(
const const_p_teca_dataset &)
override;
43 void shallow_copy(
const p_teca_dataset &)
override;
46 void swap(
const p_teca_dataset &)
override;