Skip to content

Commit

Permalink
Fix build error.
Browse files Browse the repository at this point in the history
  • Loading branch information
cianciosa committed Feb 12, 2024
1 parent 42aa3f6 commit a792499
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions Sources/siesta_run.f90
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,15 @@ MODULE siesta_run
!> Control state.
INTEGER :: control_state
CONTAINS
PROCEDURE, PASS :: set_vmec => siesta_run_set_vmec
PROCEDURE, PASS :: set_restart => siesta_run_set_restart
PROCEDURE, PASS :: set_1d => siesta_run_set_1d
GENERIC :: set => set_1d
PROCEDURE, PASS :: converge => siesta_run_converge
FINAL :: siesta_run_destruct
! FIXME: Remove _temp after merge of V3FIT fixes.
PROCEDURE :: set_vmec_ => siesta_run_set_vmec
PROCEDURE :: set_vmec_temp => siesta_run_set_vmec_temp
GENERIC :: set_vmec => set_vmec_, set_vmec_temp
PROCEDURE :: set_restart => siesta_run_set_restart
PROCEDURE :: set_1d => siesta_run_set_1d
GENERIC :: set => set_1d
PROCEDURE :: converge => siesta_run_converge
FINAL :: siesta_run_destruct
END TYPE

!*******************************************************************************
Expand Down Expand Up @@ -382,7 +385,15 @@ SUBROUTINE siesta_run_destruct(this)
!> @param[inout] this A @ref siesta_run_class instance.
!> @param[in] load_wout Flag to load the wout file.
!-------------------------------------------------------------------------------
SUBROUTINE siesta_run_set_vmec(this, load_wout)
! FIXME: Temp routine to make sure CI tests still. Remove once V3FIT changes
! finished.
SUBROUTINE siesta_run_set_vmec(this)
IMPLICIT NONE
CLASS (siesta_run_class), INTENT(inout) :: this
CALL siesta_run_set_vmec_temp(this, .true.)
END SUBROUTINE

SUBROUTINE siesta_run_set_vmec_temp(this, load_wout)
USE siesta_namelist, ONLY: nsin, mpolin, ntorin, nfpin, wout_file, &
l_vessel, ntor_modes
USE metrics, ONLY: init_metric_elements, LoadGrid, sqrtg
Expand Down

0 comments on commit a792499

Please sign in to comment.