ug4
parallel_vector_impl.h File Reference
#include <cmath>
#include "parallel_vector.h"
#include "common/common.h"
#include "common/profiler/profiler.h"

Go to the source code of this file.

Namespaces

 ug
 the ug namespace
 

Macros

#define PARVEC_PROFILE_BEGIN(name)   PROFILE_BEGIN(name)
 
#define PARVEC_PROFILE_END()   PROFILE_END()
 
#define PARVEC_PROFILE_FUNC()   PROFILE_FUNC()
 
#define PROFILE_PARALLEL_VECTOR
 

Functions

template<typename TVector >
bool ug::CloneVector (ParallelVector< TVector > &dest, const ParallelVector< TVector > &src)
 
template<typename T >
void ug::VecAssign (ParallelVector< T > &dest, const ParallelVector< T > &v1)
 
template<typename T >
void ug::VecExp (ParallelVector< T > &dest, const ParallelVector< T > &v)
 
template<typename T >
void ug::VecHadamardProd (ParallelVector< T > &dest, const ParallelVector< T > &v1, const ParallelVector< T > &v2)
 
template<typename T >
void ug::VecLog (ParallelVector< T > &dest, const ParallelVector< T > &v)
 
template<typename T >
double ug::VecProd (const ParallelVector< T > &a, const ParallelVector< T > &b)
 
template<typename T >
void ug::VecScaleAdd (ParallelVector< T > &dest, double alpha1, const ParallelVector< T > &v1, double alpha2, const ParallelVector< T > &v2)
 
template<typename T >
void ug::VecScaleAdd (ParallelVector< T > &dest, double alpha1, const ParallelVector< T > &v1, double alpha2, const ParallelVector< T > &v2, double alpha3, const ParallelVector< T > &v3)
 
template<typename T >
void ug::VecScaleAssign (ParallelVector< T > &dest, double alpha1, const ParallelVector< T > &v1)
 

Macro Definition Documentation

◆ PARVEC_PROFILE_BEGIN

#define PARVEC_PROFILE_BEGIN (   name)    PROFILE_BEGIN(name)

◆ PARVEC_PROFILE_END

#define PARVEC_PROFILE_END ( )    PROFILE_END()

◆ PARVEC_PROFILE_FUNC

#define PARVEC_PROFILE_FUNC ( )    PROFILE_FUNC()

◆ PROFILE_PARALLEL_VECTOR

#define PROFILE_PARALLEL_VECTOR