Alien  1.3.0
User documentation
Loading...
Searching...
No Matches
Alien::SimpleCSRtoDoKVectorConverter Class Reference

Public Types

typedef SimpleCSRVector< Real > SrcVector
typedef DoKVector TgtVector

Public Member Functions

BackEndId sourceBackend () const override
 Get the source backend id.
BackEndId targetBackend () const override
 Get the target backend id.
void convert (const IVectorImpl *sourceImpl, IVectorImpl *targetImpl) const override
 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 32 of file dok/converters/from_simple_csr_vector.h.

Member Typedef Documentation

◆ SrcVector

typedef SimpleCSRVector<Real> Alien::SimpleCSRtoDoKVectorConverter::SrcVector

Definition at line 35 of file dok/converters/from_simple_csr_vector.h.

◆ TgtVector

typedef DoKVector Alien::SimpleCSRtoDoKVectorConverter::TgtVector

Definition at line 36 of file dok/converters/from_simple_csr_vector.h.

Constructor & Destructor Documentation

◆ SimpleCSRtoDoKVectorConverter()

Alien::SimpleCSRtoDoKVectorConverter::SimpleCSRtoDoKVectorConverter ( )

Definition at line 32 of file dok/converters/from_simple_csr_vector.cc.

◆ ~SimpleCSRtoDoKVectorConverter()

Alien::SimpleCSRtoDoKVectorConverter::~SimpleCSRtoDoKVectorConverter ( )
virtual

Definition at line 34 of file dok/converters/from_simple_csr_vector.cc.

Member Function Documentation

◆ convert()

void Alien::SimpleCSRtoDoKVectorConverter::convert ( const IVectorImpl * sourceImpl,
IVectorImpl * targetImpl ) const
overridevirtual

◆ sourceBackend()

BackEndId Alien::SimpleCSRtoDoKVectorConverter::sourceBackend ( ) const
overridevirtual

Get the source backend id.

Returns
The source backend id

Implements Alien::IVectorConverter.

Definition at line 37 of file dok/converters/from_simple_csr_vector.cc.

Referenced by convert().

◆ targetBackend()

BackEndId Alien::SimpleCSRtoDoKVectorConverter::targetBackend ( ) const
overridevirtual

Get the target backend id.

Returns
The target backend id

Implements Alien::IVectorConverter.

Definition at line 43 of file dok/converters/from_simple_csr_vector.cc.

Referenced by convert().


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