Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions dcon/dcon_netcdf.f
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ END SUBROUTINE check
c-----------------------------------------------------------------------
SUBROUTINE dcon_netcdf_out(wp,wv,wt,wt0,ep,ev,et)

COMPLEX(r8), DIMENSION(mpert), INTENT(IN) :: ep,ev,et
COMPLEX(r8), DIMENSION(mpert), INTENT(IN) :: ep,et
REAL(r8), DIMENSION(mpert), INTENT(IN) :: ev
COMPLEX(r8), DIMENSION(mpert,mpert), INTENT(IN) :: wp,wv,wt,wt0

INTEGER :: i, ncid,
Expand Down Expand Up @@ -182,7 +183,7 @@ SUBROUTINE dcon_netcdf_out(wp,wv,wt,wt0,ep,ev,et)
CALL check( nf90_def_var(ncid, "W_v_eigenvector", nf90_double,
$ (/m_dim, mo_dim, i_dim/), wv_id) )
CALL check( nf90_def_var(ncid, "W_v_eigenvalue", nf90_double,
$ (/mo_dim, i_dim/), wvv_id) )
$ (/mo_dim/), wvv_id) )
CALL check( nf90_put_att(ncid,wv_id,"long_name",
$ "Vacuum Energy Eigenmodes") )
CALL check( nf90_put_att(ncid,wvv_id,"long_name",
Expand Down Expand Up @@ -248,8 +249,7 @@ SUBROUTINE dcon_netcdf_out(wp,wv,wt,wt0,ep,ev,et)
$ AIMAG(ep)/),(/mpert,2/))) )
CALL check( nf90_put_var(ncid,wv_id,RESHAPE((/REAL(wv),
$ AIMAG(wv)/),(/mpert,mpert,2/))) )
CALL check( nf90_put_var(ncid,wvv_id,RESHAPE((/REAL(ev),
$ AIMAG(ev)/),(/mpert,2/))) )
CALL check( nf90_put_var(ncid,wvv_id,ev) )
CALL check( nf90_put_var(ncid,wt_id,RESHAPE((/REAL(wt),
$ AIMAG(wt)/),(/mpert,mpert,2/))) )
CALL check( nf90_put_var(ncid,wtv_id,RESHAPE((/REAL(et),
Expand Down
3 changes: 2 additions & 1 deletion dcon/free.f
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ SUBROUTINE free_run(plasma1,vacuum1,total1,nzero,op_netcdf_out)
REAL(r8) :: v1
REAL(r8), DIMENSION(mpert) :: singfac
! eigenvalues are complex for gpec
COMPLEX(r8), DIMENSION(mpert) :: ep,ev,et,tt
COMPLEX(r8), DIMENSION(mpert) :: ep,et,tt
REAL(r8), DIMENSION(mpert) :: ev

REAL(r8), DIMENSION(3*mpert-2) :: rwork
REAL(r8), DIMENSION(2*mpert) :: rwork2
Expand Down
2 changes: 1 addition & 1 deletion gpec/idcon.f
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ SUBROUTINE idcon_build(egnum,xspmn)
RETURN
END SUBROUTINE idcon_build
c-----------------------------------------------------------------------
c subprogram 4. idcon_matric.
c subprogram 4. idcon_metric.
c reconstructs metric tensors from dcon.
c-----------------------------------------------------------------------
SUBROUTINE idcon_metric
Expand Down
Loading