12template<
typename T,
typename K>
48 template <
class M,
class H>
50 template <
class M,
class H>
59 typename ArrayPrs <K>::PairArray *
accessx(
int);
60 typename ArrayPrs <K>::PairArray *
accessx2(
int);
67template <
typename T,
typename K>
81template <
typename T,
typename K>
94template <
typename T,
typename K>
108template <
typename T,
typename K>
131template <
typename T,
typename K>
137 typename ArrayPrs <K>::PairArray ** ptt1 =
Ptr_List_1D->PtrArray;
138 typename ArrayPrs <K>::PairArray * coo1 =
Xcoord_List->PArray;
141 for (;countdown_1>0;countdown_1--){
143 key1 = a>=coo1->v1 ? (a<=coo1->v2 ? true :
false) :
false;
145 return *(ptt1) + a - coo1->v1;
162template <
typename T,
typename K>
167 typename ArrayPrs <K>::PairArray ** ptt1 =
Ptr_List_1D->PtrArray;
168 typename ArrayPrs <K>::PairArray * coo1 =
Xcoord_List->PArray;
175 key1 = a>=coo1->v1 ? (a<=coo1->v2 ? true :
false) :
false;
177 return *(ptt1) + a - coo1->v1;
Definition DTGrid1D.hpp:13
friend class DTGrid3Dex
Definition DTGrid1D.hpp:52
ArrayPrs< K >::PairArray * accessx2(int)
A more compact version of the random access function of DTGrid1D class.
Definition DTGrid1D.hpp:163
T * getVoxelxyz(T *, int, int, int)
void set_value_list_1D(K *, int)
DTGrid1D 'value' array setup.
Definition DTGrid1D.hpp:82
friend class DTGrid3D
Definition DTGrid1D.hpp:51
ArrayPtr< T, K > * Ptr_List_1D
Definition DTGrid1D.hpp:20
void set_xcoord_list(K *, int)
xCoord array setup
Definition DTGrid1D.hpp:95
ArrayPrs< K > * Value_List_1D
Definition DTGrid1D.hpp:18
friend class DTGrid2D
Definition DTGrid1D.hpp:49
int Length_of_Ptr_List_1D
Definition DTGrid1D.hpp:24
void set_ptr_list_1D(K *, int)
acc (1D) array setup
Definition DTGrid1D.hpp:109
int set_countdown_1
Definition DTGrid1D.hpp:46
ArrayPrs< K >::PairArray * accessx(int)
Reset pointers for random access. Similar to that for DT-Grid2D.
Definition DTGrid1D.hpp:132
~DTGrid1D()
DTGrid3D destructor.
Definition DTGrid1D.hpp:68
ArrayPrs< K > * Xcoord_List
Definition DTGrid1D.hpp:19
int Length_of_Xcoord_List
Definition DTGrid1D.hpp:23
int Length_of_Value_List_1D
Definition DTGrid1D.hpp:22
void Reset_pointers_1D(void)