Loading graph_framework/CMakeLists.txt +1 −0 Original line number Diff line number Diff line Loading @@ -21,6 +21,7 @@ target_link_libraries (rays sanitizer gpu_lib NetCDF::NetCDF $<$<PLATFORM_ID:Linux>:${CMAKE_DL_LIBS}> ) target_precompile_headers (rays INTERFACE Loading graph_framework/equilibrium.hpp +2 −2 Original line number Diff line number Diff line Loading @@ -1049,8 +1049,8 @@ namespace equilibrium { graph::shared_leaf<T, SAFE_MATH> z) { auto pressure = get_pressure(x, y, z); auto q = graph::constant<T, SAFE_MATH> (static_cast<T> (1.60218E-19)); return (pressure - get_electron_density(x, y, z)*get_electron_temperature(x, y, z)/q) / (get_ion_density(index, x, y, z)); return (pressure - get_electron_density(x, y, z)*get_electron_temperature(x, y, z)*q) / (get_ion_density(index, x, y, z)*q); } //------------------------------------------------------------------------------ Loading Loading
graph_framework/CMakeLists.txt +1 −0 Original line number Diff line number Diff line Loading @@ -21,6 +21,7 @@ target_link_libraries (rays sanitizer gpu_lib NetCDF::NetCDF $<$<PLATFORM_ID:Linux>:${CMAKE_DL_LIBS}> ) target_precompile_headers (rays INTERFACE Loading
graph_framework/equilibrium.hpp +2 −2 Original line number Diff line number Diff line Loading @@ -1049,8 +1049,8 @@ namespace equilibrium { graph::shared_leaf<T, SAFE_MATH> z) { auto pressure = get_pressure(x, y, z); auto q = graph::constant<T, SAFE_MATH> (static_cast<T> (1.60218E-19)); return (pressure - get_electron_density(x, y, z)*get_electron_temperature(x, y, z)/q) / (get_ion_density(index, x, y, z)); return (pressure - get_electron_density(x, y, z)*get_electron_temperature(x, y, z)*q) / (get_ion_density(index, x, y, z)*q); } //------------------------------------------------------------------------------ Loading