void solve ();
Triangulation<dim> triangulation;
- FE_Q<dim> fe;
+ FE_DGP<dim> fe;
DoFHandler<dim> dof_handler;
TrilinosWrappers::SparseMatrix system_matrix;
void Step4<dim>::make_grid ()
{
GridGenerator::hyper_cube (triangulation, -1, 1);
- triangulation.refine_global (7);
+ triangulation.refine_global (6);
}
void Step4<dim>::solve ()
{
- // variant 1: solve with AMG
deallog.push(Utilities::int_to_string(dof_handler.n_dofs(),5));
TrilinosWrappers::PreconditionAMG preconditioner;
TrilinosWrappers::PreconditionAMG::AdditionalData data;
-DEAL:16641:cg::Starting value 5039.73
-DEAL:16641:cg::Convergence step 15 value 0
-DEAL:66049:cg::Starting value 407234.
-DEAL:66049:cg::Convergence step 17 value 0
+DEAL:12288:cg::Starting value 1970.22
+DEAL:12288:cg::Convergence step 19 value 0
+DEAL:49152:cg::Starting value 179304.
+DEAL:49152:cg::Convergence step 28 value 0
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams