Skip to content

Commit 5fe1b9e

Browse files
Merge pull request #2 from MBI-Theory/transition_matrix_elements_v1
First version for calculating the transition matrix elements between …
2 parents 509de8c + 8580e92 commit 5fe1b9e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+3390
-85
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@ examples/*.detail
1717
examples/*.detail_sum
1818
examples/*.table_sum
1919
examples/*.field
20+
examples/*.dipoles
2021
examples/*.dx
2122
examples/*.ckpt
2223
examples/last.gpl
2324
examples/*.trace
2425
#
2526
examples/wfn/*[0-9]
2627
examples/wfn/*.data
27-
28+
examples/cache/*

bicg_tools.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ module bicg_tools
3434
public bicg_failure_count
3535
public rcsid_bicg_tools
3636
!
37-
character(len=clen) :: rcsid_bicg_tools = "$Id: bicg_tools.f90,v 1.11 2021/04/26 15:44:44 ps Exp ps $"
37+
character(len=clen) :: rcsid_bicg_tools = "$Id: bicg_tools.f90,v 1.11 2021/04/26 15:44:44 ps Exp $"
3838
!
3939
logical, save :: bicg_failtrace = .true. ! Produce a verbose report when solution fails;
4040
! May increase the runtime if vectors are traced

build_pes.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module build_pes
3030
public start
3131
public rcsid_build_pes
3232
!
33-
character(len=clen), save :: rcsid_build_pes = "$Id: build_pes.f90,v 1.5 2021/04/26 15:44:44 ps Exp ps $"
33+
character(len=clen), save :: rcsid_build_pes = "$Id: build_pes.f90,v 1.5 2021/04/26 15:44:44 ps Exp $"
3434
!
3535
integer, parameter :: iu_temp = 25 ! Some arbitrary I/O unit
3636
!

cap_tools.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ module cap_tools
3131
public cap_evaluate_potential
3232
public rcsid_cap_tools
3333
!
34-
character(len=clen) :: rcsid_cap_tools = "$Id: cap_tools.f90,v 1.6 2021/04/26 15:44:44 ps Exp ps $"
34+
character(len=clen) :: rcsid_cap_tools = "$Id: cap_tools.f90,v 1.6 2021/04/26 15:44:44 ps Exp $"
3535
!
3636
! We recognize
3737
!

checkpoint_tools.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ module checkpoint_tools
6161
integer(ik), save :: ckpt_max_checkpoints = 3_ik ! Maximum number of checkpoints to keep.
6262
integer(ik), save :: ckpt_interval = 10000_ik ! Number of timesteps between checkpoints.
6363
!
64-
character(len=clen), save :: rcsid_checkpoint_tools = "$Id: checkpoint_tools.f90,v 1.17 2022/10/08 17:24:26 ps Exp ps $"
64+
character(len=clen), save :: rcsid_checkpoint_tools = "$Id: checkpoint_tools.f90,v 1.17 2022/10/08 17:24:26 ps Exp $"
6565
!
6666
type ckpt_data
6767
private ! This data is not for exterrrnal consumption

composition_analysis.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ module composition_analysis
3737
public ca_maxram
3838
public rcsid_composition_analysis
3939
!
40-
character(len=clen) :: rcsid_composition_analysis = "$Id: composition_analysis.f90,v 1.19 2023/06/17 13:45:36 ps Exp ps $"
40+
character(len=clen) :: rcsid_composition_analysis = "$Id: composition_analysis.f90,v 1.19 2023/06/17 13:45:36 ps Exp $"
4141
!
4242
real(rk), save :: ca_maxram = 0._rk ! Maximum amount of memory which can be used during the analysis step
4343
! This limit does NOT include the memory needed to compute atomic

constants.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module constants
2323
implicit none
2424
public
2525
!
26-
character(len=clen), save :: rcsid_constants = "$Id: constants.f90,v 1.7 2021/04/26 15:44:44 ps Exp ps $"
26+
character(len=clen), save :: rcsid_constants = "$Id: constants.f90,v 1.7 2021/04/26 15:44:44 ps Exp $"
2727
!
2828
! Mathematical constants
2929
!

cubic_spline.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ module cubic_spline
5050
! expected to be in the ascending order
5151
end type cs_data
5252
!
53-
character(len=clen), save :: rcsid_cubic_spline = "$Id: cubic_spline.f90,v 1.2 2021/04/26 15:44:44 ps Exp ps $"
53+
character(len=clen), save :: rcsid_cubic_spline = "$Id: cubic_spline.f90,v 1.2 2021/04/26 15:44:44 ps Exp $"
5454
logical, save :: cs_use_default_solver = .false. ! Use the default solver, not the pivoted.
5555
!
5656
contains

doc/CHANGES.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1-
Last updated: 2023 August 11
1+
Last updated: 2023 December 23
22
------------
33

44
Change log
55
----------
66

7+
2023 Dec 23
8+
9+
- Added calculation of dipole matrix elements (wt_tme=.true.)
10+
711
2023 Aug 11
812

913
- Added support for vp_share='zzz Gaussian'.

doc/INPUT.txt

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
Last updated: 2023 August 11
1+
Last updated: 2023 December 23
22
------------
33

44
All input to scid-tdse is provided through the sph_tdse namelist, with one
5-
exception. In order to sipport some MPI implementations, scid-tdse will
5+
exception. In order to support some MPI implementations, scid-tdse will
66
accept input redirection through a command-line argument, in the form:
77

88
--scid-stdin input.inp
@@ -1197,3 +1197,15 @@ Input keywords
11971197
Maximum number of passes used to find atomic eigenvectors using inverse
11981198
iteration. Each pass involves five updates of the eigenvalue, each with
11991199
three eigenvector updates.
1200+
1201+
WT_TME=.false. (wavefunction_tools.f90)
1202+
If true, calculates the transition matrix elements between bound states
1203+
of the Hamiltonian and save them in a file called "tme.dat".
1204+
It should be called with cap="none" and WT_ENABLE_MEMORY_CACHES(1) = .true.
1205+
This will
1206+
i) dramatically increase the memory requirements
1207+
ii) remove the CAP.
1208+
Therefore time propagation with these options is not recommended.
1209+
1210+
WT_TME_FILE="tme.dat" (wavefunction_tools.f90)
1211+
Name of the output file for wt_tme=.true.

0 commit comments

Comments
 (0)