ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Functions
Parallel_Reduce Namespace Reference

Functions

template<typename T >
void reduce_all (T &object)
 reduce in all process
 
template<typename T >
void reduce_all (T *object, const int n)
 
template<typename T >
void reduce_pool (T &object)
 
template<typename T >
void reduce_pool (T *object, const int n)
 
void reduce_int_diag (int &object)
 
void reduce_int_grid (int *object, const int n)
 
void reduce_double_grid (double *object, const int n)
 
void reduce_double_diag (double *object, const int n)
 
void reduce_double_allpool (const int &npool, const int &nproc_in_pool, double &object)
 
void reduce_double_allpool (const int &npool, const int &nproc_in_pool, double *object, const int n)
 
void gather_min_int_all (const int &nproc, int &v)
 
void gather_max_double_all (const int &nproc, double &v)
 
void gather_min_double_all (const int &nproc, double &v)
 
void gather_max_double_pool (const int &nproc_in_pool, double &v)
 
void gather_min_double_pool (const int &nproc_in_pool, double &v)
 
void gather_int_all (int &v, int *all)
 
bool check_if_equal (double &v)
 
template<class T , class TI >
void ZEROS (std::complex< T > *u, const TI n)
 
template<class T , class TI >
void ZEROS (T *u, const TI n)
 
template<>
void reduce_all< double > (double &object)
 
template<>
void reduce_pool< double > (double &object)
 
template<>
void reduce_pool< float > (float &object)
 
void reduce_all (double &object)
 
void reduce_pool (double &object)
 
void reduce_pool (float &object)
 
template void reduce_all< double > (double *object, const int n)
 
template void reduce_pool< float > (float *object, const int n)
 
template void reduce_pool< double > (double *object, const int n)
 

Function Documentation

◆ check_if_equal()

bool Parallel_Reduce::check_if_equal ( double &  v)

◆ gather_int_all()

void Parallel_Reduce::gather_int_all ( int &  v,
int *  all 
)
Here is the caller graph for this function:

◆ gather_max_double_all()

void Parallel_Reduce::gather_max_double_all ( const int &  nproc,
double &  v 
)
Here is the caller graph for this function:

◆ gather_max_double_pool()

void Parallel_Reduce::gather_max_double_pool ( const int &  nproc_in_pool,
double &  v 
)
Here is the caller graph for this function:

◆ gather_min_double_all()

void Parallel_Reduce::gather_min_double_all ( const int &  nproc,
double &  v 
)
Here is the caller graph for this function:

◆ gather_min_double_pool()

void Parallel_Reduce::gather_min_double_pool ( const int &  nproc_in_pool,
double &  v 
)
Here is the caller graph for this function:

◆ gather_min_int_all()

void Parallel_Reduce::gather_min_int_all ( const int &  nproc,
int &  v 
)
Here is the caller graph for this function:

◆ reduce_all() [1/3]

void Parallel_Reduce::reduce_all ( double &  object)

◆ reduce_all() [2/3]

template<typename T >
void Parallel_Reduce::reduce_all ( T object)

reduce in all process

◆ reduce_all() [3/3]

template<typename T >
void Parallel_Reduce::reduce_all ( T object,
const int  n 
)
Here is the call graph for this function:

◆ reduce_all< double >() [1/2]

template<>
template void Parallel_Reduce::reduce_all< double > ( double &  object)

◆ reduce_all< double >() [2/2]

void Parallel_Reduce::reduce_all< double > ( double *  object,
const int  n 
)

◆ reduce_double_allpool() [1/2]

void Parallel_Reduce::reduce_double_allpool ( const int &  npool,
const int &  nproc_in_pool,
double &  object 
)
Here is the caller graph for this function:

◆ reduce_double_allpool() [2/2]

void Parallel_Reduce::reduce_double_allpool ( const int &  npool,
const int &  nproc_in_pool,
double *  object,
const int  n 
)

◆ reduce_double_diag()

void Parallel_Reduce::reduce_double_diag ( double *  object,
const int  n 
)
Here is the caller graph for this function:

◆ reduce_double_grid()

void Parallel_Reduce::reduce_double_grid ( double *  object,
const int  n 
)
Here is the caller graph for this function:

◆ reduce_int_diag()

void Parallel_Reduce::reduce_int_diag ( int &  object)
Here is the caller graph for this function:

◆ reduce_int_grid()

void Parallel_Reduce::reduce_int_grid ( int *  object,
const int  n 
)
Here is the caller graph for this function:

◆ reduce_pool() [1/4]

void Parallel_Reduce::reduce_pool ( double &  object)

◆ reduce_pool() [2/4]

void Parallel_Reduce::reduce_pool ( float &  object)

◆ reduce_pool() [3/4]

template<typename T >
void Parallel_Reduce::reduce_pool ( T object)

◆ reduce_pool() [4/4]

template<typename T >
void Parallel_Reduce::reduce_pool ( T object,
const int  n 
)
Here is the call graph for this function:

◆ reduce_pool< double >() [1/2]

template<>
void Parallel_Reduce::reduce_pool< double > ( double &  object)

◆ reduce_pool< double >() [2/2]

void Parallel_Reduce::reduce_pool< double > ( double *  object,
const int  n 
)

◆ reduce_pool< float >() [1/2]

template<>
template void Parallel_Reduce::reduce_pool< float > ( float &  object)

◆ reduce_pool< float >() [2/2]

template void Parallel_Reduce::reduce_pool< float > ( float *  object,
const int  n 
)

◆ ZEROS() [1/2]

template<class T , class TI >
void Parallel_Reduce::ZEROS ( std::complex< T > *  u,
const TI  n 
)
inline
Here is the caller graph for this function:

◆ ZEROS() [2/2]

template<class T , class TI >
void Parallel_Reduce::ZEROS ( T u,
const TI  n 
)
inline