SDA (SDA flex)  7.2
Simulation of Diffusional Association
Loading...
Searching...
No Matches
Protected Member Functions | Protected Attributes | Private Member Functions | Friends | List of all members
DTGrid1D< T, K > Class Template Reference

#include <DTGrid1D.hpp>

Collaboration diagram for DTGrid1D< T, K >:

Protected Member Functions

void set_value_list_1D (K *, int)
 DTGrid1D 'value' array setup.
 
void set_xcoord_list (K *, int)
 xCoord array setup
 
void set_ptr_list_1D (K *, int)
 acc (1D) array setup
 
ArrayPrs< K >::PairArray * accessx (int)
 Reset pointers for random access. Similar to that for DT-Grid2D.
 
ArrayPrs< K >::PairArray * accessx2 (int)
 A more compact version of the random access function of DTGrid1D class.
 
TgetVoxelxyz (T *, int, int, int)
 
void Reset_pointers_1D (void)
 

Protected Attributes

ArrayPrs< K > * Value_List_1D
 
ArrayPrs< K > * Xcoord_List
 
ArrayPtr< T, K > * Ptr_List_1D
 
int Length_of_Value_List_1D
 
int Length_of_Xcoord_List
 
int Length_of_Ptr_List_1D
 
int set_countdown_1
 

Private Member Functions

 ~DTGrid1D ()
 DTGrid3D destructor.
 

Friends

template<class M , class H >
class DTGrid2D
 
template<class M , class H >
class DTGrid3D
 
class DTGrid3Dex
 

Constructor & Destructor Documentation

◆ ~DTGrid1D()

template<typename T , typename K >
DTGrid1D< T, K >::~DTGrid1D ( )
private

DTGrid3D destructor.

Member Function Documentation

◆ accessx()

template<typename T , typename K >
ArrayPrs< K >::PairArray * DTGrid1D< T, K >::accessx ( int  a)
protected

Reset pointers for random access. Similar to that for DT-Grid2D.

The function is not required when the pointers are not used as global variables. Random access function of DTGrid1D class.

Parameters
aindex x of the data value to be returned

◆ accessx2()

template<typename T , typename K >
ArrayPrs< K >::PairArray * DTGrid1D< T, K >::accessx2 ( int  a)
protected

A more compact version of the random access function of DTGrid1D class.

Parameters
aindex x of the data value to be returned.

1D DT-Grid is assumed to consist only of one connected component.

Therefore no iteration required. Computational gain is not significant.

◆ getVoxelxyz()

template<typename T , typename K >
T * DTGrid1D< T, K >::getVoxelxyz ( T ,
int  ,
int  ,
int   
)
protected

◆ Reset_pointers_1D()

template<typename T , typename K >
void DTGrid1D< T, K >::Reset_pointers_1D ( void  )
protected

◆ set_ptr_list_1D()

template<typename T , typename K >
void DTGrid1D< T, K >::set_ptr_list_1D ( K values,
int  length 
)
protected

acc (1D) array setup

Read and store the list of pointers to the first member of each of the connected components in a 1D DT-Grid.

Parameters
valuespointer to the array that stores the acc array indices.
lengthlength of the acc array.

◆ set_value_list_1D()

template<typename T , typename K >
void DTGrid1D< T, K >::set_value_list_1D ( K values,
int  length 
)
protected

DTGrid1D 'value' array setup.

Read the 1D 'value' array and store.

Parameters
valuespointer to the array that stores the 'value' array of DTGrid1D.
lengthlength of the 'value' array.

◆ set_xcoord_list()

template<typename T , typename K >
void DTGrid1D< T, K >::set_xcoord_list ( K values,
int  length 
)
protected

xCoord array setup

Read and store the xCoord array that stores in minimum and maximum coordinates of the connected components in x direction.

Parameters
valuesthe pointer that addresses to the values of xCoord array.
lengththe length of the xCoord array.

Friends And Related Symbol Documentation

◆ DTGrid2D

template<typename T , typename K >
template<class M , class H >
friend class DTGrid2D
friend

◆ DTGrid3D

template<typename T , typename K >
template<class M , class H >
friend class DTGrid3D
friend

◆ DTGrid3Dex

template<typename T , typename K >
friend class DTGrid3Dex
friend

Member Data Documentation

◆ Length_of_Ptr_List_1D

template<typename T , typename K >
int DTGrid1D< T, K >::Length_of_Ptr_List_1D
protected

◆ Length_of_Value_List_1D

template<typename T , typename K >
int DTGrid1D< T, K >::Length_of_Value_List_1D
protected

◆ Length_of_Xcoord_List

template<typename T , typename K >
int DTGrid1D< T, K >::Length_of_Xcoord_List
protected

◆ Ptr_List_1D

template<typename T , typename K >
ArrayPtr<T, K>* DTGrid1D< T, K >::Ptr_List_1D
protected

◆ set_countdown_1

template<typename T , typename K >
int DTGrid1D< T, K >::set_countdown_1
protected

◆ Value_List_1D

template<typename T , typename K >
ArrayPrs<K>* DTGrid1D< T, K >::Value_List_1D
protected

◆ Xcoord_List

template<typename T , typename K >
ArrayPrs<K>* DTGrid1D< T, K >::Xcoord_List
protected

The documentation for this class was generated from the following file:
Imprint/Privacy