Skip to content

Commit

Permalink
Temp fix issue by using global profile
Browse files Browse the repository at this point in the history
  • Loading branch information
pgrete committed Jan 10, 2024
1 parent 4ba28e0 commit c83c6aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pgen/cluster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,8 @@ void ProblemGenerator(Mesh *pmesh, ParameterInput *pin, MeshData<Real> *md) {
jb.e += 1;
kb.s -= 1;
kb.e += 1;
const auto P_rho_profile = he_sphere.generate_P_rho_profile(ib, jb, kb, coords);
// const auto P_rho_profile = he_sphere.generate_P_rho_profile(ib, jb, kb, coords);
const auto P_rho_profile = he_sphere.generate_P_rho_profile(1e-2, 3, 128);

// initialize conserved variables
parthenon::par_for(
Expand Down

0 comments on commit c83c6aa

Please sign in to comment.