Skip to content

Commit

Permalink
wrap dust macro in scalar macro
Browse files Browse the repository at this point in the history
  • Loading branch information
helenarichie committed Dec 8, 2023
1 parent b38692c commit 69d586c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/grid/initial_conditions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1415,9 +1415,11 @@ void Grid3D::Clouds()
C.GasEnergy[id] = p_cl / (gama - 1.0);
#endif // DE

#ifdef DUST
#ifdef SCALAR
#ifdef DUST
C.host[id + H.n_cells * grid_enum::dust_density] = rho_cl * 1e-2;
#endif // DUST
#endif // DUST
#endif
}
}
}
Expand Down

0 comments on commit 69d586c

Please sign in to comment.