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

Public Member Functions

 Matrix (MultiMatrixImpl *multi_impl)
 Constructor from a composite.
 Matrix (const Alien::MultiMatrixImpl *multi_impl)
void clear ()
 Wipe out internal data.
void free ()
void resize (Integer nc)
Integer size () const
MatrixElement element (Integer i, Integer j)
IMatrixoperator() (Integer i, Integer j)
const IMatrixoperator() (Integer i, Integer j) const
void setComposite (Integer i, Integer j, IMatrix *m)
Public Member Functions inherited from Alien::IMatrixImpl
 IMatrixImpl (const MultiMatrixImpl *multi_impl, BackEndId backend="")
 Constructor.
virtual ~IMatrixImpl () override=default
 Free resources.
 IMatrixImpl (const IMatrixImpl &src)=delete
 IMatrixImpl (IMatrixImpl &&src)=delete
IMatrixImploperator= (const IMatrixImpl &src)=delete
IMatrixImploperator= (IMatrixImpl &&src)=delete
virtual const ISpacerowSpace () const
 Get the row space associated to the matrix \ returns The row space.
virtual const ISpacecolSpace () const
 Get the row space associated to the matrix \ returns The row space.
virtual const MatrixDistributiondistribution () const
 Get the distribution of the matrix.
virtual BackEndId backend () const
virtual const Blockblock () const
 Get block datas of the matrix.
virtual const VBlockvblock () const
 Get block datas of the matrix.
virtual const VBlockrowBlock () const
 Get row block datas of the matrix.
virtual const VBlockcolBlock () const
 Get col block datas of the matrix.
const MultiMatrixImplimpls () const
Public Member Functions inherited from Alien::Timestamp
 Timestamp (const TimestampMng *manager)
virtual ~Timestamp ()
 Destructeur de la classe.
virtual Int64 timestamp () const
 Donne la valeur courante du timestamp.
void updateTimestamp ()
 Met à jour le timestamp.
void copyTimestamp (const Timestamp &v)
 Copy un autre timestamp.
void setTimestamp (const TimestampMng *manager, const Int64 timestamp)
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

Public Types inherited from Alien::IMatrixImpl
typedef Arccore::Real ValueType
 Type of the values stored in the matrix.
Protected Member Functions inherited from Alien::ObjectWithTrace
TraceMessage cout () const
Protected Attributes inherited from Alien::IMatrixImpl
const MultiMatrixImplm_multi_impl
 Pointer on matrices implementation.
BackEndId m_backend
 Backend id.

Detailed Description

Definition at line 47 of file kernels/composite/CompositeMatrix.h.

Constructor & Destructor Documentation

◆ Matrix() [1/2]

Alien::CompositeKernel::Matrix::Matrix ( MultiMatrixImpl * multi_impl)

◆ Matrix() [2/2]

Alien::CompositeKernel::Matrix::Matrix ( const Alien::MultiMatrixImpl * multi_impl)

Constructor, converting data

Exceptions
Notimplemented yet

Definition at line 40 of file kernels/composite/CompositeMatrix.cc.

References Alien::IMatrixImpl::IMatrixImpl().

Member Function Documentation

◆ clear()

void Alien::CompositeKernel::Matrix::clear ( )
virtual

Wipe out internal data.

Reimplemented from Alien::IMatrixImpl.

Definition at line 62 of file kernels/composite/CompositeMatrix.cc.

◆ element()

MatrixElement Alien::CompositeKernel::Matrix::element ( Integer i,
Integer j )

Definition at line 108 of file kernels/composite/CompositeMatrix.cc.

◆ free()

void Alien::CompositeKernel::Matrix::free ( )

Definition at line 74 of file kernels/composite/CompositeMatrix.cc.

◆ operator()() [1/2]

IMatrix & Alien::CompositeKernel::Matrix::operator() ( Integer i,
Integer j )

Definition at line 118 of file kernels/composite/CompositeMatrix.cc.

◆ operator()() [2/2]

const IMatrix & Alien::CompositeKernel::Matrix::operator() ( Integer i,
Integer j ) const

Definition at line 127 of file kernels/composite/CompositeMatrix.cc.

◆ resize()

void Alien::CompositeKernel::Matrix::resize ( Integer nc)

Definition at line 86 of file kernels/composite/CompositeMatrix.cc.

◆ setComposite()

void Alien::CompositeKernel::Matrix::setComposite ( Integer i,
Integer j,
IMatrix * m )

Definition at line 136 of file kernels/composite/CompositeMatrix.cc.

◆ size()

Integer Alien::CompositeKernel::Matrix::size ( ) const

Definition at line 104 of file kernels/composite/CompositeMatrix.cc.


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