OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
This class implements a segment of a unsymmetric matrix stored in segmented form (skyline). More...
#include <rowcol.h>
Public Member Functions | |
RowColumn (int, int) | |
~RowColumn () | |
double & | atU (int i) |
double & | atL (int i) |
double & | atDiag () |
void | checkBounds (int) |
void | checkSizeTowards (const IntArray &) |
double | dot (const FloatArray &, char, int, int) |
int | giveStart () |
void | growTo (int) |
void | zero () |
void | printYourself () |
int | giveSize () |
RowColumn * | GiveCopy () |
Protected Member Functions | |
RowColumn (int, int, double *, double *, double) | |
Protected Attributes | |
int | number |
int | start |
double * | row |
double * | column |
double | diag |
This class implements a segment of a unsymmetric matrix stored in segmented form (skyline).
A row-column segment i contains the following items :
Tasks:
oofem::RowColumn::RowColumn | ( | int | n, |
int | st | ||
) |
Definition at line 44 of file rowcol.C.
References column, diag, number, OOFEM_ERROR, row, and start.
Referenced by GiveCopy().
oofem::RowColumn::~RowColumn | ( | ) |
|
protected |
|
inline |
Definition at line 86 of file rowcol.h.
References oofem::dot().
Referenced by oofem::SkylineUnsym::at(), oofem::SkylineUnsym::backSubstitutionWith(), oofem::SkylineUnsym::factorized(), oofem::SkylineUnsym::times(), and oofem::SkylineUnsym::timesT().
|
inline |
Definition at line 84 of file rowcol.h.
Referenced by oofem::SkylineUnsym::at(), oofem::SkylineUnsym::factorized(), oofem::SkylineUnsym::times(), oofem::SkylineUnsym::timesT(), and ~RowColumn().
|
inline |
Definition at line 83 of file rowcol.h.
Referenced by oofem::SkylineUnsym::at(), oofem::SkylineUnsym::backSubstitutionWith(), oofem::SkylineUnsym::factorized(), oofem::SkylineUnsym::times(), and ~RowColumn().
void oofem::RowColumn::checkBounds | ( | int | i | ) |
Definition at line 95 of file rowcol.C.
References number, OOFEM_ERROR, and start.
Referenced by ~RowColumn().
void oofem::RowColumn::checkSizeTowards | ( | const IntArray & | loc | ) |
Definition at line 104 of file rowcol.C.
References oofem::IntArray::at(), oofem::IntArray::giveSize(), growTo(), oofem::min(), OOFEM_ERROR, and start.
Referenced by oofem::SkylineUnsym::checkSizeTowards().
double oofem::RowColumn::dot | ( | const FloatArray & | b, |
char | c, | ||
int | first, | ||
int | last | ||
) |
Definition at line 136 of file rowcol.C.
References column, oofem::FloatArray::givePointer(), row, and start.
Referenced by oofem::SkylineUnsym::backSubstitutionWith(), oofem::SkylineUnsym::factorized(), oofem::SkylineUnsym::times(), and oofem::SkylineUnsym::timesT().
RowColumn * oofem::RowColumn::GiveCopy | ( | ) |
Definition at line 252 of file rowcol.C.
References column, diag, number, OOFEM_ERROR, row, RowColumn(), and start.
Referenced by oofem::SkylineUnsym::GiveCopy().
|
inline |
Definition at line 94 of file rowcol.h.
Referenced by oofem::SkylineUnsym::printStatistics().
|
inline |
Definition at line 90 of file rowcol.h.
Referenced by oofem::SkylineUnsym::backSubstitutionWith(), oofem::SkylineUnsym::factorized(), oofem::SkylineUnsym::times(), oofem::SkylineUnsym::timesT(), and oofem::SkylineUnsym::toFloatMatrix().
void oofem::RowColumn::growTo | ( | int | newStart | ) |
Definition at line 166 of file rowcol.C.
References column, number, OOFEM_ERROR, row, and start.
Referenced by oofem::SkylineUnsym::buildInternalStructure(), checkSizeTowards(), and oofem::SkylineUnsym::setInternalStructure().
void oofem::RowColumn::printYourself | ( | ) |
void oofem::RowColumn::zero | ( | ) |
|
protected |
Definition at line 72 of file rowcol.h.
Referenced by dot(), GiveCopy(), growTo(), printYourself(), RowColumn(), zero(), and ~RowColumn().
|
protected |
Definition at line 73 of file rowcol.h.
Referenced by GiveCopy(), printYourself(), RowColumn(), and zero().
|
protected |
Definition at line 69 of file rowcol.h.
Referenced by checkBounds(), GiveCopy(), growTo(), printYourself(), RowColumn(), and zero().
|
protected |
Definition at line 71 of file rowcol.h.
Referenced by dot(), GiveCopy(), growTo(), printYourself(), RowColumn(), zero(), and ~RowColumn().
|
protected |
Definition at line 70 of file rowcol.h.
Referenced by checkBounds(), checkSizeTowards(), dot(), GiveCopy(), growTo(), printYourself(), RowColumn(), zero(), and ~RowColumn().