26 int& Nconv,
double& diff)
30 double snorm = 1.0 / b.
norm2();
41 for (
int it = 0; it < Niter; it++) {
45 if (rr * snorm < enorm) {
50 if (Nconv == -1) { cout <<
"Not converged." << __FILE__ <<
"(" << __LINE__ <<
")" << endl; abort(); }
68 if ((
s.
nin() != Nin) || (
s.
nvol() != Nvol) || (
s.
nex() != Nex)) {
73 v.reset(Nin, Nvol, Nex);
101 double cr = rrp / pap;
void solve_init(const Field &, double &)
void general(const char *format,...)
void reset_field(const Field &)
void solve(Field &solution, const Field &source, int &Nconv, double &diff)
Container of Field-type object.
void solve_step(double &)
void reset(const int Nin, const int Nvol, const int Nex, const element_type cmpl=COMPLEX)
Bridge::VerboseLevel m_vl