Skip to content

Commit ef4d283

Browse files
committed
thermal pressure total to face
1 parent 021f646 commit ef4d283

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

torax/imas_tools/equilibrium.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ def geometry_to_IMAS(
238238
eq.profiles_1d.gm2 = geometry.g2_face / (dpsidrhotor ** 2 * dvoldpsi**2)
239239

240240
# Quantities computed by the transport code useful for coupling with equilibrium code
241-
eq.profiles_1d.pressure = post_processed_outputs.pressure_thermal_total
241+
eq.profiles_1d.pressure = post_processed_outputs.pressure_thermal_total.face_value()
242242
eq.profiles_1d.dpressure_dpsi = post_processed_outputs.pprime
243243

244244
# <j.B>/B_0, could be useful to calculate and use instead of FF'

0 commit comments

Comments
 (0)