v0.16.3
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
MoFEM::BlockStorage::Indexes Struct Reference

block data indexes More...

Collaboration diagram for MoFEM::BlockStorage::Indexes:
[legend]

Public Member Functions

 Indexes (UId uid_row, UId uid_col, UId uid_fe, int row, int col, int nb_rows, int nb_cols, int loc_row, int loc_col)
 
UId getRowUId () const
 
UId getColUId () const
 
UId getFEUId () const
 
int getRow () const
 
int getCol () const
 
int getNbRows () const
 
int getNbCols () const
 
int getLocRow () const
 
int getLocCol () const
 
size_t getMatShift () const
 
int getLd () const
 
int getElem () const
 
void setStorage (size_t shift, int leading_dim, int element)
 

Private Attributes

UId uid_row
 
UId uid_col
 
UId uid_fe
 
int row
 
int col
 
int nb_rows
 
int nb_cols
 
int loc_row
 
int loc_col
 
size_t mat_shift
 shift in data, or in element buffer if elem >= 0
 
int ld
 leading dimension of block in storage
 
int elem
 index of A00 element, -1 if none
 

Detailed Description

block data indexes

Definition at line 257 of file Schur.cpp.

Constructor & Destructor Documentation

◆ Indexes()

MoFEM::BlockStorage::Indexes::Indexes ( UId  uid_row,
UId  uid_col,
UId  uid_fe,
int  row,
int  col,
int  nb_rows,
int  nb_cols,
int  loc_row,
int  loc_col 
)
inline

Member Function Documentation

◆ getCol()

int MoFEM::BlockStorage::Indexes::getCol ( ) const
inline

Definition at line 269 of file Schur.cpp.

269{ return col; }

◆ getColUId()

UId MoFEM::BlockStorage::Indexes::getColUId ( ) const
inline

Definition at line 266 of file Schur.cpp.

266{ return uid_col; }

◆ getElem()

int MoFEM::BlockStorage::Indexes::getElem ( ) const
inline

Definition at line 276 of file Schur.cpp.

276{ return elem; }

◆ getFEUId()

UId MoFEM::BlockStorage::Indexes::getFEUId ( ) const
inline

Definition at line 267 of file Schur.cpp.

267{ return uid_fe; }

◆ getLd()

int MoFEM::BlockStorage::Indexes::getLd ( ) const
inline

Definition at line 275 of file Schur.cpp.

275{ return ld; }

◆ getLocCol()

int MoFEM::BlockStorage::Indexes::getLocCol ( ) const
inline

Definition at line 273 of file Schur.cpp.

273{ return loc_col; }

◆ getLocRow()

int MoFEM::BlockStorage::Indexes::getLocRow ( ) const
inline

Definition at line 272 of file Schur.cpp.

272{ return loc_row; }

◆ getMatShift()

size_t MoFEM::BlockStorage::Indexes::getMatShift ( ) const
inline

Definition at line 274 of file Schur.cpp.

274{ return mat_shift; }

◆ getNbCols()

int MoFEM::BlockStorage::Indexes::getNbCols ( ) const
inline

Definition at line 271 of file Schur.cpp.

271{ return nb_cols; }

◆ getNbRows()

int MoFEM::BlockStorage::Indexes::getNbRows ( ) const
inline

Definition at line 270 of file Schur.cpp.

270{ return nb_rows; }

◆ getRow()

int MoFEM::BlockStorage::Indexes::getRow ( ) const
inline

Definition at line 268 of file Schur.cpp.

268{ return row; }

◆ getRowUId()

UId MoFEM::BlockStorage::Indexes::getRowUId ( ) const
inline

Definition at line 265 of file Schur.cpp.

265{ return uid_row; }

◆ setStorage()

void MoFEM::BlockStorage::Indexes::setStorage ( size_t  shift,
int  leading_dim,
int  element 
)
inline

Definition at line 278 of file Schur.cpp.

278 {
279 mat_shift = shift;
280 ld = leading_dim;
281 elem = element;
282 }

Member Data Documentation

◆ col

int MoFEM::BlockStorage::Indexes::col
private

Definition at line 289 of file Schur.cpp.

◆ elem

int MoFEM::BlockStorage::Indexes::elem
private

index of A00 element, -1 if none

Definition at line 296 of file Schur.cpp.

◆ ld

int MoFEM::BlockStorage::Indexes::ld
private

leading dimension of block in storage

Definition at line 295 of file Schur.cpp.

◆ loc_col

int MoFEM::BlockStorage::Indexes::loc_col
private

Definition at line 293 of file Schur.cpp.

◆ loc_row

int MoFEM::BlockStorage::Indexes::loc_row
private

Definition at line 292 of file Schur.cpp.

◆ mat_shift

size_t MoFEM::BlockStorage::Indexes::mat_shift
private

shift in data, or in element buffer if elem >= 0

Definition at line 294 of file Schur.cpp.

◆ nb_cols

int MoFEM::BlockStorage::Indexes::nb_cols
private

Definition at line 291 of file Schur.cpp.

◆ nb_rows

int MoFEM::BlockStorage::Indexes::nb_rows
private

Definition at line 290 of file Schur.cpp.

◆ row

int MoFEM::BlockStorage::Indexes::row
private

Definition at line 288 of file Schur.cpp.

◆ uid_col

UId MoFEM::BlockStorage::Indexes::uid_col
private

Definition at line 286 of file Schur.cpp.

◆ uid_fe

UId MoFEM::BlockStorage::Indexes::uid_fe
private

Definition at line 287 of file Schur.cpp.

◆ uid_row

UId MoFEM::BlockStorage::Indexes::uid_row
private

Definition at line 285 of file Schur.cpp.


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