Alien  1.3.0
Developer documentation
Loading...
Searching...
No Matches
Composite_to_SimpleCSR_VectorConverter Class Reference
Inheritance diagram for Composite_to_SimpleCSR_VectorConverter:
Collaboration diagram for Composite_to_SimpleCSR_VectorConverter:

Public Member Functions

Alien::BackEndId sourceBackend () const
 Get the source backend id.
Alien::BackEndId targetBackend () const
 Get the target backend id.
void convert (const Alien::IVectorImpl *sourceImpl, Alien::IVectorImpl *targetImpl) const
 Convert a vector from one format to another.
Public Member Functions inherited from Alien::IVectorConverter
virtual ~IVectorConverter ()
 Free resources.
Public Member Functions inherited from Alien::ObjectWithTrace
template<typename T>
void alien_info (T &&t) const
template<typename T>
void alien_debug (T &&t) const
template<typename T>
void alien_warning (T &&t) const
template<typename T>
void alien_fatal (T &&t) const
ITraceMng * traceMng () const

Additional Inherited Members

Protected Member Functions inherited from Alien::IVectorConverter
template<typename T>
BackEndId backendId () const
 Get the target backend id.
Protected Member Functions inherited from Alien::ObjectWithTrace
TraceMessage cout () const
Static Protected Member Functions inherited from Alien::IVectorConverter
template<typename T>
static T & cast (IVectorImpl *impl, BackEndId backend)
 Cast a vector implementation in its actual type.
template<typename T>
static const T & cast (const IVectorImpl *impl, BackEndId backend)
 Const cast a vector implementation in its actual type.

Detailed Description

Definition at line 31 of file composite/converters/to_simple_csr_vector.cc.

Constructor & Destructor Documentation

◆ Composite_to_SimpleCSR_VectorConverter()

Composite_to_SimpleCSR_VectorConverter::Composite_to_SimpleCSR_VectorConverter ( )
inline

Definition at line 34 of file composite/converters/to_simple_csr_vector.cc.

◆ ~Composite_to_SimpleCSR_VectorConverter()

virtual Composite_to_SimpleCSR_VectorConverter::~Composite_to_SimpleCSR_VectorConverter ( )
inlinevirtual

Definition at line 36 of file composite/converters/to_simple_csr_vector.cc.

Member Function Documentation

◆ convert()

void Composite_to_SimpleCSR_VectorConverter::convert ( const Alien::IVectorImpl * sourceImpl,
Alien::IVectorImpl * targetImpl ) const
virtual

Convert a vector from one format to another.

Parameters
[in]sourceImplImplementation of the source vector
[in,out]targetImplImplementation of the target vector

Implements Alien::IVectorConverter.

Definition at line 55 of file composite/converters/to_simple_csr_vector.cc.

References Alien::IVectorConverter::cast(), sourceBackend(), and targetBackend().

Here is the call graph for this function:

◆ sourceBackend()

Alien::BackEndId Composite_to_SimpleCSR_VectorConverter::sourceBackend ( ) const
inlinevirtual

Get the source backend id.

Returns
The source backend id

Implements Alien::IVectorConverter.

Definition at line 39 of file composite/converters/to_simple_csr_vector.cc.

References Alien::IVectorConverter::backendId().

Referenced by convert().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ targetBackend()

Alien::BackEndId Composite_to_SimpleCSR_VectorConverter::targetBackend ( ) const
inlinevirtual

Get the target backend id.

Returns
The target backend id

Implements Alien::IVectorConverter.

Definition at line 43 of file composite/converters/to_simple_csr_vector.cc.

References Alien::IVectorConverter::backendId().

Referenced by convert().

Here is the call graph for this function:
Here is the caller graph for this function:

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