Go to the documentation of this file.
36 diag( C.giveNumberOfRows() )
49 for (
int i = 1; i <= n; i++ ) {
50 double d = C.
at(i, i);
52 OOFEM_ERROR(
"failed, zero diagonal detected in equation %d", i);
64 for (
int i = 0; i < x.
giveSize(); i++ ) {
65 y[i] = x[i] *
diag[i];
75 for (
int i = 0; i < x.
giveSize(); i++ ) {
76 y[i] = x[i] *
diag[i];
Index giveSize() const
Returns the size of receiver.
Preconditioner(const SparseMtrx &a, InputRecord &attributes)
virtual double & at(int i, int j)=0
Returns coefficient at position (i,j).
int giveNumberOfRows() const
Returns number of rows of receiver.
This page is part of the
OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak
Bořek Patzák
Project e-mail:
oofem@fsv.cvut.cz
Generated at for OOFEM by
doxygen
1.15.0 written by Dimitri van Heesch,
© 1997-2011