MatList_node

This class is used to represent the List of MatrixProd. More…

#include "MatList_node.h"

Public Functions

Name
MatList_node()
Constructs an empty object.
~MatList_node()
Deletes the object.
void DeleteAll()
Deletes the node instance and its content as well.
void Prepare_MxV(const iReg nRHS)
Prepares the data structure necessary for MxV. L/R_SndRcvLst, Send/Recv_req,Recv_flag,WL_rcv,WR_snd,WR_rcv,WR_snd,WL_snd.
void UndoPrepare_MxV()
Undo the data structure necessary for MxV.
void MxV(DDMat &restrict x, DDMat &restrict b, bool Barrier_flag)
Computes the Matrix by vector Product.

Public Attributes

Name
MatrixProd * ptr_Mat
Pointer to the MatrixProd for the current position.
MatList_node * ptr_next
Pointer to the next position.

Detailed Description

class MatList_node;

This class is used to represent the List of MatrixProd.

class MatList_node.

Public Functions Documentation

function MatList_node

inline MatList_node()

Constructs an empty object.

function ~MatList_node

~MatList_node()

Deletes the object.

function DeleteAll

void DeleteAll()

Deletes the node instance and its content as well.

function Prepare_MxV

void Prepare_MxV(
    const iReg nRHS
)

Prepares the data structure necessary for MxV. L/R_SndRcvLst, Send/Recv_req,Recv_flag,WL_rcv,WR_snd,WR_rcv,WR_snd,WL_snd.

function UndoPrepare_MxV

void UndoPrepare_MxV()

Undo the data structure necessary for MxV.

function MxV

void MxV(
    DDMat &__restrict__ x,
    DDMat &__restrict__ b,
    bool Barrier_flag
)

Computes the Matrix by vector Product.

Parameters:

  • x vector that is multiplied by the matrix.
  • b vector where result is stored.
  • Barrier_flag if true global Barrier is called before return.

Public Attributes Documentation

variable ptr_Mat

MatrixProd * ptr_Mat = nullptr;

Pointer to the MatrixProd for the current position.

variable ptr_next

MatList_node * ptr_next = nullptr;

Pointer to the next position.


Updated on 12 February 2021 at 11:59:50 CET