# If you want your program to be linked with extra object or library
# files, specify them here:
-user-libs =
+user-libs = ../../lib/libbasic.g.a ../../lib/libgrid.g.a ../../../lac/lib/liblac.g.a ../../lib/libfe.g.a
# To run the program, use "make run"; to give parameters to the program,
# give the parameters to the following variable:
tria->refine_global (1);
break;
case true_error:
- tria->refine_fixed_number (h1_error_per_cell,
- prm.get_double("Refinement fraction"));
- tria->execute_refinement ();
+ tria->refine_and_coarsen_fixed_number (h1_error_per_cell,
+ prm.get_double("Refinement fraction"),
+ 0);
+ tria->execute_coarsening_and_refinement ();
break;
case error_estimator:
- tria->refine_fixed_number (estimated_error_per_cell,
- prm.get_double("Refinement fraction"));
- tria->execute_refinement ();
+ tria->refine_and_coarsen_fixed_number (estimated_error_per_cell,
+ prm.get_double("Refinement fraction"),
+ 0);
+ tria->execute_coarsening_and_refinement ();
break;
};
cout << endl << endl;
cout << endl;
filename += "finest_mesh.gnuplot";
- cout << " Wrinting finest grid to <" << filename << ">... " << endl;
+ cout << " Writing finest grid to <" << filename << ">... " << endl;
ofstream finest_mesh (filename.c_str());
tria->print_gnuplot (finest_mesh);
finest_mesh.close();
# If you want your program to be linked with extra object or library
# files, specify them here:
-user-libs =
+user-libs = ../../lib/libbasic.g.a ../../lib/libgrid.g.a ../../../lac/lib/liblac.g.a ../../lib/libfe.g.a
# To run the program, use "make run"; to give parameters to the program,
# give the parameters to the following variable:
# If you want your program to be linked with extra object or library
# files, specify them here:
-user-libs =
+user-libs = ../../lib/libbasic.g.a ../../lib/libgrid.g.a ../../../lac/lib/liblac.g.a ../../lib/libfe.g.a
# To run the program, use "make run"; to give parameters to the program,
# give the parameters to the following variable:
tria->refine_global (1);
break;
case true_error:
- tria->refine_fixed_number (h1_error_per_cell,
- prm.get_double("Refinement fraction"));
- tria->execute_refinement ();
+ tria->refine_and_coarsen_fixed_number (h1_error_per_cell,
+ prm.get_double("Refinement fraction"),
+ 0);
+ tria->execute_coarsening_and_refinement ();
break;
case error_estimator:
- tria->refine_fixed_number (estimated_error_per_cell,
- prm.get_double("Refinement fraction"));
- tria->execute_refinement ();
+ tria->refine_and_coarsen_fixed_number (estimated_error_per_cell,
+ prm.get_double("Refinement fraction"),
+ 0);
+ tria->execute_coarsening_and_refinement ();
break;
};
cout << endl << endl;
cout << endl;
filename += "finest_mesh.gnuplot";
- cout << " Wrinting finest grid to <" << filename << ">... " << endl;
+ cout << " Writing finest grid to <" << filename << ">... " << endl;
ofstream finest_mesh (filename.c_str());
tria->print_gnuplot (finest_mesh);
finest_mesh.close();
# If you want your program to be linked with extra object or library
# files, specify them here:
-user-libs =
+user-libs = ../../lib/libbasic.g.a ../../lib/libgrid.g.a ../../../lac/lib/liblac.g.a ../../lib/libfe.g.a
# To run the program, use "make run"; to give parameters to the program,
# give the parameters to the following variable: