Zoltan2
Loading...
Searching...
No Matches
Zoltan2::TPL_Traits< ZOLTAN_ID_PTR, second_t > Struct Template Reference

#include <Zoltan2_TPLTraits.hpp>

Static Public Member Functions

static bool OK_TO_CAST ()
static void ASSIGN (ZOLTAN_ID_PTR &a, second_t b)
static void ASSIGN_ARRAY (ZOLTAN_ID_PTR *a, ArrayView< second_t > &b)
static void SAVE_ARRAYRCP (ArrayRCP< ZOLTAN_ID_PTR > *a, second_t *b, size_t size)
static void DELETE_ARRAY (ZOLTAN_ID_PTR *a)

Static Public Attributes

static const int NUM_ID

Detailed Description

template<typename second_t>
struct Zoltan2::TPL_Traits< ZOLTAN_ID_PTR, second_t >

Definition at line 142 of file Zoltan2_TPLTraits.hpp.

Member Function Documentation

◆ OK_TO_CAST()

template<typename second_t>
bool Zoltan2::TPL_Traits< ZOLTAN_ID_PTR, second_t >::OK_TO_CAST ( )
inlinestatic

Definition at line 154 of file Zoltan2_TPLTraits.hpp.

◆ ASSIGN()

template<typename second_t>
void Zoltan2::TPL_Traits< ZOLTAN_ID_PTR, second_t >::ASSIGN ( ZOLTAN_ID_PTR & a,
second_t b )
inlinestatic

Definition at line 163 of file Zoltan2_TPLTraits.hpp.

◆ ASSIGN_ARRAY()

template<typename second_t>
void Zoltan2::TPL_Traits< ZOLTAN_ID_PTR, second_t >::ASSIGN_ARRAY ( ZOLTAN_ID_PTR * a,
ArrayView< second_t > & b )
inlinestatic

Definition at line 182 of file Zoltan2_TPLTraits.hpp.

◆ SAVE_ARRAYRCP()

template<typename second_t>
void Zoltan2::TPL_Traits< ZOLTAN_ID_PTR, second_t >::SAVE_ARRAYRCP ( ArrayRCP< ZOLTAN_ID_PTR > * a,
second_t * b,
size_t size )
inlinestatic

Definition at line 204 of file Zoltan2_TPLTraits.hpp.

◆ DELETE_ARRAY()

template<typename second_t>
void Zoltan2::TPL_Traits< ZOLTAN_ID_PTR, second_t >::DELETE_ARRAY ( ZOLTAN_ID_PTR * a)
inlinestatic

Definition at line 212 of file Zoltan2_TPLTraits.hpp.

Member Data Documentation

◆ NUM_ID

template<typename second_t>
const int Zoltan2::TPL_Traits< ZOLTAN_ID_PTR, second_t >::NUM_ID
static
Initial value:
= ((sizeof(second_t) / sizeof(ZOLTAN_ID_TYPE) > 0)
? (sizeof(second_t) / sizeof(ZOLTAN_ID_TYPE))
: 1)

Definition at line 150 of file Zoltan2_TPLTraits.hpp.


The documentation for this struct was generated from the following file: