Skip to content

Commit

Permalink
Merge branch 'master' into sheath-diagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
mikekryjak committed Aug 6, 2024
2 parents 978c9f9 + 3d3248f commit 92fd8f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ message(STATUS "Git revision: ${HERMES_REVISION}")
option(HERMES_BUILD_BOUT "Build BOUT++ in external/BOUT-dev" ON)
if(HERMES_BUILD_BOUT)
set(BOUT_BUILD_EXAMPLES, OFF) # Don't create example makefiles
add_subdirectory(external/BOUT-dev)
set(HERMES_BOUT_SRC "external/BOUT-dev" CACHE STRING "Directory of BOUT++ dir")
add_subdirectory(${HERMES_BOUT_SRC} ${CMAKE_CURRENT_BINARY_DIR}/external/BOUT-dev)
else()
find_package(bout++ REQUIRED)
endif()
Expand Down
2 changes: 1 addition & 1 deletion src/evolve_pressure.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ void EvolvePressure::outputVars(Options& state) {
set_with_attrs(state[std::string("kappa_par_") + name], kappa_par,
{{"time_dimension", "t"},
{"units", "W / m / eV"},
{"conversion", Pnorm * Omega_ci * SQ(rho_s0)},
{"conversion", (Pnorm * Omega_ci * SQ(rho_s0) )/ Tnorm},
{"long_name", name + " heat conduction coefficient"},
{"species", name},
{"source", "evolve_pressure"}});
Expand Down

0 comments on commit 92fd8f1

Please sign in to comment.