Skip to content

Commit

Permalink
Astyle
Browse files Browse the repository at this point in the history
  • Loading branch information
siuwuncheung committed May 22, 2024
1 parent 157a2e9 commit 6c7a0f8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions examples/prom/elliptic_eigenproblem_global_rom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ int main(int argc, char *argv[])
}
int dim = mesh->Dimension();
mesh->GetBoundingBox(bb_min, bb_max, max(order, 1));
gaussian_width = mesh->GetElementVolume(0) * pow(2.0, 1.0 - ser_ref_levels - par_ref_levels);
gaussian_width = mesh->GetElementVolume(0) * pow(2.0,
1.0 - ser_ref_levels - par_ref_levels);

// 4. Refine the mesh in serial to increase the resolution. In this example
// we do 'ser_ref_levels' of uniform refinement, where 'ser_ref_levels' is
Expand Down Expand Up @@ -283,7 +284,8 @@ int main(int argc, char *argv[])
options = new CAROM::Options(fespace->GetTrueVSize(), nev, nev,
update_right_SV);
std::string snapshot_basename = baseName + "par" + std::to_string(id);
generator = new CAROM::BasisGenerator(*options, isIncremental, snapshot_basename);
generator = new CAROM::BasisGenerator(*options, isIncremental,
snapshot_basename);
}

// 9. The merge phase
Expand Down

0 comments on commit 6c7a0f8

Please sign in to comment.