ASL  0.1.7
Advanced Simulation Library
Functions
Collaboration diagram for VectorOfElements generators:

Functions

template<typename T >
VectorOfElements acl::generateVEConstant (T a)
 Generates VectorOfElements with 1 Element acl::Constant with value a. More...
 
template<typename T >
VectorOfElements acl::generateVEConstant (T a, T b)
 Generates VectorOfElements with 2 Elements acl::Constant with values a and b. More...
 
template<typename T >
VectorOfElements acl::generateVEConstant (T a, T b, T c)
 Generates VectorOfElements with 3 Elements acl::Constant with values a,b and c. More...
 
template<typename T >
VectorOfElements acl::generateVEConstantN (unsigned int n, T a)
 Generates VectorOfElements with n Elements acl::Constant with values a. More...
 
template<typename T >
VectorOfElements acl::generateVEConstant (unsigned int n, const T *const a)
 Generates VectorOfElements with n Elements acl::Constant with values a[i]. More...
 
template<typename T >
VectorOfElements acl::generateVEConstant (const std::vector< T > &a)
 Generates VectorOfElements with a.size() Elements acl::Constant with values a[i]. More...
 
template<typename T >
VectorOfElements acl::generateVEConstant (const asl::AVec< T > &a)
 Generates VectorOfElements correspondinng to a. More...
 
template<typename T >
VectorOfElementsData acl::generateVEData (unsigned int length, unsigned int nComponents, CommandQueue queue)
 Generates VectorOfElements with nComponents Elements acl::Vector with size length. More...
 
template<typename T >
VectorOfElementsData acl::generateVEData (unsigned int length, unsigned int nComponents=1)
 Generates VectorOfElements with nComponents Elements acl::Vector with size length and default queue. More...
 
VectorOfElementsData acl::generateVEData (unsigned int length, TypeID typeID, unsigned int nComponents, CommandQueue queue)
 Generates VectorOfElementsData with nComponents Elements acl::Array of type with size length. More...
 
VectorOfElementsData acl::generateVEData (unsigned int length, TypeID typeID, unsigned int nComponents=1)
 Generates VectorOfElementsData with nComponents Elements acl::Array of type with size length and default queue. More...
 
VectorOfElements acl::generateVELocalArray (unsigned int componentSize, TypeID typeID, unsigned int size)
 Generates VectorOfElements with size Elements acl::LocalArray of type typeID with size componentSize. More...
 
template<typename T >
VectorOfElements acl::generateVEPrivateArray (const vector< T > &data)
 Generates VectorOfElements with size Elements acl::PrivateArray of type with data defined by data. More...
 
template<typename T >
VectorOfElements acl::generateVEPrivateArray (const vector< asl::AVec< T >> &data)
 Generates VectorOfElements with size Elements acl::PrivateArray of type with data defined by data. More...
 
template<typename T >
VectorOfElements acl::generateVEPrivateArray (const vector< T > &data, TypeID typeID)
 Generates VectorOfElements with size Elements acl::PrivateArray of type with size componentSize. More...
 
template<typename T >
VectorOfElements acl::generateVEPrivateArray (const vector< asl::AVec< T >> &data, TypeID typeID)
 Generates VectorOfElements with size Elements acl::PrivateArray of type with size componentSize. More...
 
template<typename T >
VectorOfElements acl::generateVEDataSub (T, unsigned int sublength, unsigned int length, unsigned int nComponents, CommandQueue queue)
 Generates VectorOfElements with nComponents Elements acl::Subvector with size sublength. length is the vector size. More...
 
template<typename T >
VectorOfElements acl::generateVEVariableR (T &a)
 Generates VectorOfElements with 1 Element acl::VariableReference with reference on a. More...
 
template<typename T >
VectorOfElements acl::generateVEVariableR (T &a, T &b)
 Generates VectorOfElements with 2 Element acl::VariableReference with references on a and b. More...
 
template<typename T >
VectorOfElements acl::generateVEVariableR (T &a, T &b, T &c)
 Generates VectorOfElements with 3 Element acl::VariableReference with references on a, b and c. More...
 
template<typename T >
VectorOfElements acl::generateVEVariableR (asl::AVec< T > &a)
 Generates VectorOfElements with nD(a) Element acl::VariableReference with reference on a[i]. More...
 
template<typename T >
VectorOfElements acl::generateVEVariableSP (std::shared_ptr< T > a)
 Generates VectorOfElements with 1 Element acl::VariableReference with reference on a. More...
 
template<typename T >
VectorOfElements acl::generateVEVariableSP (std::shared_ptr< T > a, std::shared_ptr< T > b)
 Generates VectorOfElements with 2 Element acl::VariableReference with references on a and b. More...
 
template<typename T >
VectorOfElements acl::generateVEVariableSP (std::shared_ptr< T > a, std::shared_ptr< T > b, std::shared_ptr< T > c)
 Generates VectorOfElements with 3 Element acl::VariableReference with references on a, b and c. More...
 
template<typename T >
VectorOfElements acl::generateVEVariableSP (std::shared_ptr< asl::AVec< T >> a)
 Generates VectorOfElements with nD(a) Element acl::VariableReference with reference on a[i]. More...
 
template<typename T >
VectorOfElements acl::generateVEPrivateVariable (unsigned int n)
 Generates VectorOfElements with n Element of acl::PrivateVariable. More...
 
VectorOfElements acl::generateVEPrivateVariable (unsigned int n, TypeID t)
 Generates VectorOfElements with n Element of acl::PrivateVariable with type t. More...
 
VectorOfElements acl::generateVESubElements (VectorOfElements a, unsigned int length, int offset)
 Generates VectorOfElements which contains SubElements of the corresponding element of a. More...
 
VectorOfElements acl::generateVESubElements (VectorOfElements a, unsigned int length, VectorOfElements offset)
 Generates VectorOfElements which contains SubElements of the corresponding element of a. More...
 
VectorOfElements acl::generateVEShftedElements (VectorOfElements a, int offset)
 Generates VectorOfElements which contains SubElements of the corresponding element of a. More...
 
VectorOfElements acl::generateVEShftedElements (VectorOfElements a, const std::vector< int > &offset)
 Generates VectorOfElements which contains SubElements of the corresponding element of a. More...
 
VectorOfElements acl::generateVEShiftedElements (VectorOfElements a, VectorOfElements offset)
 Generates VectorOfElements which contains SubElements of the corresponding element of a. More...
 
VectorOfElements acl::generateVEPolynom (VectorOfElements x, VectorOfElements coefs)
 
VectorOfElements acl::generateVEIndex (unsigned int size=0)
 
VectorOfElements acl::generateVEGroupID ()
 
VectorOfElements acl::generateVEIndexExt (unsigned int size=0)
 

Detailed Description

Function Documentation

◆ generateVEConstant() [1/6]

template<typename T >
VectorOfElements acl::generateVEConstant ( a)

◆ generateVEConstant() [2/6]

template<typename T >
VectorOfElements acl::generateVEConstant ( a,
b 
)

Generates VectorOfElements with 2 Elements acl::Constant with values a and b.

◆ generateVEConstant() [3/6]

template<typename T >
VectorOfElements acl::generateVEConstant ( a,
b,
c 
)

Generates VectorOfElements with 3 Elements acl::Constant with values a,b and c.

◆ generateVEConstant() [4/6]

template<typename T >
VectorOfElements acl::generateVEConstant ( unsigned int  n,
const T *const  a 
)

Generates VectorOfElements with n Elements acl::Constant with values a[i].

◆ generateVEConstant() [5/6]

template<typename T >
VectorOfElements acl::generateVEConstant ( const std::vector< T > &  a)

Generates VectorOfElements with a.size() Elements acl::Constant with values a[i].

◆ generateVEConstant() [6/6]

template<typename T >
VectorOfElements acl::generateVEConstant ( const asl::AVec< T > &  a)

Generates VectorOfElements correspondinng to a.

◆ generateVEConstantN()

template<typename T >
VectorOfElements acl::generateVEConstantN ( unsigned int  n,
a 
)

◆ generateVEData() [1/4]

template<typename T >
VectorOfElementsData acl::generateVEData ( unsigned int  length,
unsigned int  nComponents,
CommandQueue  queue 
)

Generates VectorOfElements with nComponents Elements acl::Vector with size length.

◆ generateVEData() [2/4]

template<typename T >
VectorOfElementsData acl::generateVEData ( unsigned int  length,
unsigned int  nComponents = 1 
)

Generates VectorOfElements with nComponents Elements acl::Vector with size length and default queue.

◆ generateVEData() [3/4]

VectorOfElementsData acl::generateVEData ( unsigned int  length,
TypeID  typeID,
unsigned int  nComponents,
CommandQueue  queue 
)

Generates VectorOfElementsData with nComponents Elements acl::Array of type with size length.

◆ generateVEData() [4/4]

VectorOfElementsData acl::generateVEData ( unsigned int  length,
TypeID  typeID,
unsigned int  nComponents = 1 
)

Generates VectorOfElementsData with nComponents Elements acl::Array of type with size length and default queue.

◆ generateVEDataSub()

template<typename T >
VectorOfElements acl::generateVEDataSub ( ,
unsigned int  sublength,
unsigned int  length,
unsigned int  nComponents,
CommandQueue  queue 
)

Generates VectorOfElements with nComponents Elements acl::Subvector with size sublength. length is the vector size.

◆ generateVEGroupID()

VectorOfElements acl::generateVEGroupID ( )

Generates VectorOfElements with one Element of type GroupID

◆ generateVEIndex()

VectorOfElements acl::generateVEIndex ( unsigned int  size = 0)

◆ generateVEIndexExt()

VectorOfElements acl::generateVEIndexExt ( unsigned int  size = 0)

Generates VectorOfElements with one Element of type Index

◆ generateVELocalArray()

VectorOfElements acl::generateVELocalArray ( unsigned int  componentSize,
TypeID  typeID,
unsigned int  size 
)

Generates VectorOfElements with size Elements acl::LocalArray of type typeID with size componentSize.

◆ generateVEPolynom()

VectorOfElements acl::generateVEPolynom ( VectorOfElements  x,
VectorOfElements  coefs 
)

Generates VectorOfElements which 1 element correspond to polynom for x with coefs The polinom is \( x^{n-1}*coefs_0+x^{n-2}coefs_1+...+coefs_{n-1} \) The polynom contains mad fanction with type specification the type is defined by x

◆ generateVEPrivateArray() [1/4]

template<typename T >
VectorOfElements acl::generateVEPrivateArray ( const vector< T > &  data)

Generates VectorOfElements with size Elements acl::PrivateArray of type with data defined by data.

◆ generateVEPrivateArray() [2/4]

template<typename T >
VectorOfElements acl::generateVEPrivateArray ( const vector< asl::AVec< T >> &  data)

Generates VectorOfElements with size Elements acl::PrivateArray of type with data defined by data.

◆ generateVEPrivateArray() [3/4]

template<typename T >
VectorOfElements acl::generateVEPrivateArray ( const vector< T > &  data,
TypeID  typeID 
)

Generates VectorOfElements with size Elements acl::PrivateArray of type with size componentSize.

◆ generateVEPrivateArray() [4/4]

template<typename T >
VectorOfElements acl::generateVEPrivateArray ( const vector< asl::AVec< T >> &  data,
TypeID  typeID 
)

Generates VectorOfElements with size Elements acl::PrivateArray of type with size componentSize.

◆ generateVEPrivateVariable() [1/2]

template<typename T >
VectorOfElements acl::generateVEPrivateVariable ( unsigned int  n)

Generates VectorOfElements with n Element of acl::PrivateVariable.

Examples
testPrivateVar.cc.

◆ generateVEPrivateVariable() [2/2]

VectorOfElements acl::generateVEPrivateVariable ( unsigned int  n,
TypeID  t 
)

Generates VectorOfElements with n Element of acl::PrivateVariable with type t.

◆ generateVEShftedElements() [1/2]

VectorOfElements acl::generateVEShftedElements ( VectorOfElements  a,
int  offset 
)

Generates VectorOfElements which contains SubElements of the corresponding element of a.

◆ generateVEShftedElements() [2/2]

VectorOfElements acl::generateVEShftedElements ( VectorOfElements  a,
const std::vector< int > &  offset 
)

Generates VectorOfElements which contains SubElements of the corresponding element of a.

◆ generateVEShiftedElements()

VectorOfElements acl::generateVEShiftedElements ( VectorOfElements  a,
VectorOfElements  offset 
)

Generates VectorOfElements which contains SubElements of the corresponding element of a.

◆ generateVESubElements() [1/2]

VectorOfElements acl::generateVESubElements ( VectorOfElements  a,
unsigned int  length,
int  offset 
)

Generates VectorOfElements which contains SubElements of the corresponding element of a.

◆ generateVESubElements() [2/2]

VectorOfElements acl::generateVESubElements ( VectorOfElements  a,
unsigned int  length,
VectorOfElements  offset 
)

Generates VectorOfElements which contains SubElements of the corresponding element of a.

◆ generateVEVariableR() [1/4]

template<typename T >
VectorOfElements acl::generateVEVariableR ( T &  a)

Generates VectorOfElements with 1 Element acl::VariableReference with reference on a.

◆ generateVEVariableR() [2/4]

template<typename T >
VectorOfElements acl::generateVEVariableR ( T &  a,
T &  b 
)

Generates VectorOfElements with 2 Element acl::VariableReference with references on a and b.

◆ generateVEVariableR() [3/4]

template<typename T >
VectorOfElements acl::generateVEVariableR ( T &  a,
T &  b,
T &  c 
)

Generates VectorOfElements with 3 Element acl::VariableReference with references on a, b and c.

◆ generateVEVariableR() [4/4]

template<typename T >
VectorOfElements acl::generateVEVariableR ( asl::AVec< T > &  a)

Generates VectorOfElements with nD(a) Element acl::VariableReference with reference on a[i].

◆ generateVEVariableSP() [1/4]

template<typename T >
VectorOfElements acl::generateVEVariableSP ( std::shared_ptr< T >  a)

Generates VectorOfElements with 1 Element acl::VariableReference with reference on a.

Examples
testVectorOfElements.cc.

◆ generateVEVariableSP() [2/4]

template<typename T >
VectorOfElements acl::generateVEVariableSP ( std::shared_ptr< T >  a,
std::shared_ptr< T >  b 
)

Generates VectorOfElements with 2 Element acl::VariableReference with references on a and b.

◆ generateVEVariableSP() [3/4]

template<typename T >
VectorOfElements acl::generateVEVariableSP ( std::shared_ptr< T >  a,
std::shared_ptr< T >  b,
std::shared_ptr< T >  c 
)

Generates VectorOfElements with 3 Element acl::VariableReference with references on a, b and c.

◆ generateVEVariableSP() [4/4]

template<typename T >
VectorOfElements acl::generateVEVariableSP ( std::shared_ptr< asl::AVec< T >>  a)

Generates VectorOfElements with nD(a) Element acl::VariableReference with reference on a[i].