00001 00008 #ifndef _SMP_REGION_H_ 00009 #define _SMP_REGION_H_ 00010 00011 00012 namespace smp { 00013 00015 00019 template <int NUM_DIMENSIONS> 00020 class region { 00021 public: 00022 00024 double center[NUM_DIMENSIONS]; 00025 00027 double size[NUM_DIMENSIONS]; 00028 00029 00030 region (); 00031 ~region (); 00032 00036 region (const region<NUM_DIMENSIONS> ®ion_in); 00037 00038 00045 const region<NUM_DIMENSIONS> &operator=(const region<NUM_DIMENSIONS> ®ion_in); 00046 00047 }; 00048 00049 00050 } 00051 00052 #endif