using namespace std;
int main(
int argc,
char**argv) {
string approx = (argc > 2) ? argv[2] : "P1";
Float S = (argc > 3) ? atof(argv[3]) : 0.6;
Float n = (argc > 4) ? atof(argv[4]) : 1;
Float Cf = (argc > 5) ? atof(argv[5]) : 1;
Float r = (argc > 6) ? atof(argv[6]) : 1;
size_t max_iter = 10000;
F.
post (beta_h, uh, lambda_h);
dout << setprecision(numeric_limits<Float>::digits10)
<< catchmark("S") << S << endl
<< catchmark(
"n") <<
n << endl
<< catchmark("Cf") << Cf << endl
<< catchmark("r") << r << endl
<< catchmark("u") << uh
<< catchmark("lambda") << lambda_h;
}
see the Float page for the full documentation
see the field page for the full documentation
see the geo page for the full documentation
void post(const field &beta_h, field &uh, field &lambda_h) const
This file is part of Rheolef.
int damped_newton(const Problem &P, const Preconditioner &T, Field &u, Real &tol, Size &max_iter, odiststream *p_derr=0)
see the damped_newton page for the full documentation
rheolef - reference manual
The yield slip problem – class header.
int main(int argc, char **argv)