Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Mesh::BorderData Struct Reference

Border data in CSR format. More...

#include <PMesh.H>

Collaboration diagram for Mesh::BorderData:

Public Attributes

std::vector< Mesh::IndexTypeSendAp
 sizes in ndof sent More...
 
std::vector< Mesh::IndexTypeSendAi
 dof id's of the sent dofs More...
 
std::vector< Mesh::IndexTypeRecvAp
 sizes in ndof recv More...
 
std::vector< Mesh::IndexTypeRecvAi
 dof id's of recvd dofs More...
 
std::vector< Mesh::IndexTypeborder_dof_to_global
 
std::vector< double > SendBuffer
 
std::vector< double > RecvBuffer
 

Detailed Description

Border data in CSR format.

This is the border data in CSR format.  Review of CSR:
Ap: is the array of sizes (in number of nonzero entries)
    in the Sparse Row.  Example: 
    [0 5 14 27 84 85 100] (5 in first row (row 0) in Ai[0:4]) 
                          (9 in row[1], Ai[5:13]), etc        

Ai: is the array containing the column numbers of the nz 
    entries in the sparse row.  Example: 
    [0 3 4 7 8 1 5 ......] (row 0): X00XX00XX000.....
                           (row 1): 0X000X000000.....

Ax: would store the actual values of the sparse matrix 

Each row corresponds to a border *node* - so the actual send and
receive arrays are puffed up to contain a number of matrix values
required for nremote_dof * nlocal_dof.

Definition at line 60 of file PMesh.H.

Member Data Documentation

std::vector<Mesh::IndexType> border_dof_to_global

Definition at line 69 of file PMesh.H.

std::vector<Mesh::IndexType> RecvAi

dof id's of recvd dofs

Definition at line 68 of file PMesh.H.

std::vector<Mesh::IndexType> RecvAp

sizes in ndof recv

Definition at line 66 of file PMesh.H.

std::vector<double> RecvBuffer

Definition at line 71 of file PMesh.H.

std::vector<Mesh::IndexType> SendAi

dof id's of the sent dofs

Definition at line 64 of file PMesh.H.

std::vector<Mesh::IndexType> SendAp

sizes in ndof sent

Definition at line 62 of file PMesh.H.

std::vector<double> SendBuffer

Definition at line 70 of file PMesh.H.


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