an efficient C++ finite element environment
|
|
Go to the documentation of this file.
29 int main(
int argc,
char**argv) {
33 string approx = (argc > 2) ? argv[2] :
"P1";
34 Float p = (argc > 3) ? atof(argv[3]) : 1.5;
35 Float tol = (argc > 4) ? atof(argv[4]) : eps;
36 size_t max_iter = (argc > 5) ? atoi(argv[5]) : 500;
37 derr <<
"# P-Laplacian problem by damped Newton:" << endl
38 <<
"# geo = " << omega.name() << endl
39 <<
"# approx = " << approx << endl
40 <<
"# p = " <<
p << endl;
see the catchmark page for the full documentation
see the field page for the full documentation
rheolef - reference manual
see the environment page for the full documentation
The p-Laplacian problem by the Newton method – class header.
int main(int argc, char **argv)
This file is part of Rheolef.
odiststream derr(cerr)
see the diststream page for the full documentation
see the Float page for the full documentation
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
odiststream dout(cout)
see the diststream page for the full documentation
see the geo page for the full documentation