Skip to content

Commit

Permalink
clang formatted
Browse files Browse the repository at this point in the history
  • Loading branch information
JCAurre committed Jan 23, 2025
1 parent 4c8527f commit bc4fcd4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Source/Methods/CTTK.impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,9 @@ void CTTK<matter_t>::solve_analytic(LevelData<FArrayBox> *a_multigrid_vars,

// Now work out K using ansatz which sets it to (roughly)
// the FRW value based on the local densities
Real K_0_squared =
24.0 * M_PI * G_Newton * emtensor.rho +
1.5 * A2_0 * pow(psi_0, -12.0) +
12.0 * laplacian_psi_reg * pow(psi_0, -5.0);
Real K_0_squared = 24.0 * M_PI * G_Newton * emtensor.rho +
1.5 * A2_0 * pow(psi_0, -12.0) +
12.0 * laplacian_psi_reg * pow(psi_0, -5.0);

// Set value for K
// be careful if at a point K = 0, may have discontinuity
Expand Down

0 comments on commit bc4fcd4

Please sign in to comment.