Skip to content

Commit

Permalink
update RFcoef files
Browse files Browse the repository at this point in the history
  • Loading branch information
qianglbl committed Dec 12, 2024
1 parent 3a1a294 commit 8db5522
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion utilities/RFcoefext.f90
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
! Author: Ji Qiang
! Description: find the Fourier coefficients of RF data on axis.
! The input data has been extended to make a symmetric data for Fourier expansion
! Input: rfdata.in: Ez vs. z
! Input: rfdata.in: Ez vs. z (m)
! Output: rfdata.out: reconstruct the field from the Fourier coefficients.
! rfdatax: is the one to be used for the IMPACT-T
! simulation.
Expand All @@ -14,6 +14,7 @@ program rfcoef
double precision, dimension(Ndata) :: zdata,edata
double precision, dimension(Ncoef) :: Fcoef,Fcoef2

print*,"Note: in rfdata.in file, z must be in unit of meter!!!!"
open(3,file="rfdata.in",status="old")
n = 0
10 continue
Expand Down
3 changes: 2 additions & 1 deletion utilities/RFcoeflcls.f90
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
! Author: Ji Qiang
! Description: find the Fourier coefficients of RF data on axis and produce a
! shifted field data on axis.
! Input: rfdata.in: Ez vs. z
! Input: rfdata.in: Ez vs. z (m)
! Output: rfdata.out: reconstruct the field from the Fourier coefficients.
! rfdatax: is the one to be used for the IMPACT-T
! simulation.
Expand All @@ -19,6 +19,7 @@ program rfcoef
double precision, dimension(Ndata) :: zdata,edata
double precision, dimension(Ncoef) :: Fcoef,Fcoef2

print*,"Note: in rfdata.in file, z must be in unit of meter!!!!"
emax = 0.0d0
open(3,file="rfdata.in",status="old")
n = 0
Expand Down

0 comments on commit 8db5522

Please sign in to comment.