message: Added parameter for parallel refinements
diff: @@ -190,6 +190,7 @@ int main(int argc, char *argv[])
  // 1. Parse command-line options.
  const char *mesh_file = "../../data/inline-hex.mesh";
  int ref_levels = 0;
  + int pref_levels = 0;
  int order = 1;
  int h_levels = 1;
  int o_levels = 1;
  @@ -213,6 +214,10 @@ int main(int argc, char *argv[])
  &ref_levels, "-r", "--refine",
  "Number of times to refine the initial mesh uniformly;"
  "This mesh will be the coarse mesh in the multigrid hierarchy");
  + args.AddOption(
  + &pref_levels, "-pr", "--parallelrefine",
  + "Number of times to refine the serially refined mesh in parallel;"
  + "This mesh will be the coarse mesh in the multigrid hierarchy");
  args.AddOption(&order, "-o", "--order",
  "Order of the finite element spaces");
  args.AddOption(&h_levels, "-hl", "--hlevels",
  @@ -296,6 +301,12 @@ int main(int argc, char *argv[])
  delete mesh;
  mesh = nullptr;
  + // Parallel refinements of the serially refined mesh
  + for (int i = 0; i < pref_levels; ++i)
  + {
  + pmesh->UniformRefinement();
  + }
  +
  Array<int> orders;
  Array<FiniteElementCollection *> feCollectons;
  orders.Append(order);
  