summaryrefslogtreecommitdiff
path: root/inc/math_Uzawa.lxx
blob: 55b0851abcd04aa9f71844ee8c72544233b179a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// File math_Uzawa.lxx

#include <StdFail_NotDone.hxx>

inline Standard_Boolean math_Uzawa::IsDone() const { return Done; }

inline Standard_OStream& operator<<(Standard_OStream& o,
				    const math_Uzawa& U) 
{
  U.Dump(o);
  return o;
}


inline const math_Vector& math_Uzawa::Value() const {
  StdFail_NotDone_Raise_if(!Done, " ");
  return Resul;
}

inline const math_Vector& math_Uzawa::InitialError() const {
  StdFail_NotDone_Raise_if(!Done, " ");
  return Errinit;
}

inline const math_Vector& math_Uzawa::Error() const {
  StdFail_NotDone_Raise_if(!Done, " ");
  return Erruza;
}

inline Standard_Integer math_Uzawa::NbIterations() const {
  StdFail_NotDone_Raise_if(!Done, " ");
  return NbIter;
}

inline const math_Matrix& math_Uzawa::InverseCont() const {
  StdFail_NotDone_Raise_if(!Done, " ");
  return CTCinv;
}