Octopus
|
Data Types | |
type | target_t |
Functions/Subroutines | |
subroutine, public | target_init_propagation (tg) |
This routine performs all the things that must be initialized prior to a forward evolution, regarding the target. Right now some of those initializations are not done here, and should be moved. More... | |
subroutine, public | target_get_state (tg, st) |
This just copies the states_elec_t variable present in target, into st. More... | |
subroutine, public | target_init (gr, kpoints, namespace, space, ions, qcs, td, w0, tg, oct, ep, mc) |
The target is initialized, mainly by reading from the inp file. More... | |
subroutine, public | target_end (tg, oct) |
subroutine, public | target_output (tg, namespace, space, gr, dir, ions, hm, outp) |
subroutine, public | target_tdcalc (tg, namespace, space, hm, gr, ions, ext_partners, psi, time, max_time) |
Calculates, at a given point in time marked by the integer index, the integrand of the target functional: \( <Psi(t)|\hat{O}(t)|Psi(t)> \). More... | |
subroutine, public | target_inh (psi, gr, kpoints, tg, time, inh, iter) |
Calculates the inhomogeneous term that appears in the equation for chi, and places it into inh. More... | |
real(real64) function, public | target_j1 (tg, namespace, gr, kpoints, qcpsi, ions) |
Calculates the J1 functional, i.e.: \( <Psi(T)|\hat{O}|Psi(T)> \) in the time-independent case, or else \( \int_0^T dt <Psi(t)|\hat{O}(t)|Psi(t)> \) in the time-dependent case. More... | |
subroutine, public | target_chi (tg, namespace, gr, kpoints, qcpsi_in, qcchi_out, ions) |
Calculate \( |chi(T)> = \hat{O}(T) |psi(T)> \). More... | |
integer pure function, public | target_mode (tg) |
integer pure function, public | target_type (tg) |
integer pure function, public | target_curr_functional (tg) |
logical pure function, public | target_move_ions (tg) |
logical pure function | is_spatial_curr_wgt (tg) |
subroutine | target_init_density (gr, kpoints, namespace, space, tg, stin, td, restart) |
subroutine | target_end_density (tg) |
subroutine | target_output_density (tg, namespace, space, mesh, dir, ions, outp) |
real(real64) function | target_j1_density (gr, kpoints, tg, psi) |
subroutine | target_chi_density (tg, gr, kpoints, psi_in, chi_out) |
subroutine | target_tdcalc_density (tg, gr, kpoints, psi, time) |
real(real64) function | jcurr_functional (tg, gr, kpoints, psi) |
Calculates a current functional that may be combined with other functionals found in function target_j1. More... | |
subroutine | chi_current (tg, gr, kpoints, factor, psi_in, chi) |
subroutine | target_init_velocity (gr, namespace, ions, tg, oct, td, ep) |
subroutine | target_end_velocity (tg, oct) |
subroutine | target_output_velocity (tg, namespace, space, gr, dir, ions, hm, outp) |
real(real64) function | target_j1_velocity (tg, ions) |
subroutine | target_chi_velocity (gr, tg, chi_out, ions) |
subroutine | target_tdcalc_velocity (tg, hm, gr, ions, psi, time, max_time) |
subroutine | target_init_hhg (tg, namespace, td, w0) |
subroutine | target_init_hhgnew (gr, namespace, tg, td, ions, ep) |
subroutine | target_end_hhg (tg) |
subroutine | target_output_hhg (tg, namespace, space, gr, dir, ions, hm, outp) |
subroutine | target_end_hhgnew (tg, oct) |
real(real64) function | target_j1_hhg (tg, namespace) |
real(real64) function | target_j1_hhgnew (gr, tg) |
subroutine | target_chi_hhg (chi_out) |
subroutine | target_tdcalc_hhgnew (tg, gr, psi, time, max_time) |
subroutine | target_tdcalc_hhg (tg, namespace, space, hm, gr, ions, ext_partners, psi, time) |
subroutine | target_init_groundstate (mesh, namespace, space, tg, td, restart, kpoints) |
subroutine | target_end_groundstate () |
subroutine | target_output_groundstate (tg, namespace, space, gr, dir, ions, hm, outp) |
real(real64) function | target_j1_groundstate (tg, gr, psi) |
subroutine | target_chi_groundstate (tg, gr, psi_in, chi_out) |
subroutine | target_init_excited (mesh, namespace, space, tg, td, restart, kpoints) |
subroutine | target_end_excited () |
subroutine | target_output_excited (tg, namespace, space, gr, dir, ions, hm, outp) |
real(real64) function | target_j1_excited (tg, namespace, gr, psi) |
subroutine | target_chi_excited (tg, namespace, gr, psi_in, chi_out) |
subroutine | target_init_gstransformation (gr, namespace, space, tg, td, restart, kpoints) |
subroutine | target_end_gstransformation () |
subroutine | target_output_gstransformation (tg, namespace, space, gr, dir, ions, hm, outp) |
real(real64) function | target_j1_gstransformation (tg, gr, psi) |
subroutine | target_chi_gstransformation (tg, gr, psi_in, chi_out) |
subroutine | target_init_exclude (mesh, namespace, space, tg, td, restart, kpoints) |
subroutine | target_end_exclude () |
subroutine | target_output_exclude (tg, namespace, space, gr, dir, ions, hm, outp) |
real(real64) function | target_j1_exclude (gr, tg, psi) |
subroutine | target_chi_exclude (tg, gr, psi_in, chi_out) |
subroutine | target_init_userdefined (gr, namespace, tg, td) |
subroutine | target_end_userdefined () |
subroutine | target_output_userdefined (tg, namespace, space, gr, dir, ions, hm, outp) |
real(real64) function | target_j1_userdefined (tg, gr, psi) |
subroutine | target_chi_userdefined (tg, gr, psi_in, chi_out) |
subroutine | target_init_local (gr, namespace, tg, td) |
subroutine | target_end_local (tg) |
subroutine | target_output_local (tg, namespace, space, mesh, dir, ions, outp) |
real(real64) function | target_j1_local (mesh, tg, psi) |
subroutine | target_chi_local (tg, mesh, psi_in, chi_out) |
subroutine | target_init_tdlocal (gr, namespace, tg, td) |
subroutine | target_end_tdlocal (tg) |
subroutine | target_output_tdlocal (tg, namespace, space, gr, dir, ions, outp) |
real(real64) function | target_j1_tdlocal (tg) |
subroutine | target_chi_tdlocal (chi_out) |
subroutine | target_tdcalc_tdlocal (tg, gr, psi, time) |
subroutine | target_build_tdlocal (tg, gr, time) |
subroutine | target_init_classical (ions, namespace, tg, td, oct) |
subroutine | target_end_classical (tg) |
subroutine | target_output_classical |
real(real64) function | target_j1_classical (tg, qcpsi) |
subroutine | target_chi_classical (tg, qcpsi, qcchi, ions) |
subroutine | target_init_spin (tg, namespace) |
real(real64) function | target_j1_spin (tg, gr, psi) |
subroutine | target_chi_spin (tg, gr, psi_in, chi_out) |
Variables | |
integer, parameter, public | oct_tg_groundstate = 1 |
integer, parameter, public | oct_tg_excited = 2 |
integer, parameter, public | oct_tg_gstransformation = 3 |
integer, parameter, public | oct_tg_userdefined = 4 |
integer, parameter, public | oct_tg_jdensity = 5 |
integer, parameter, public | oct_tg_local = 6 |
integer, parameter, public | oct_tg_td_local = 7 |
integer, parameter, public | oct_tg_exclude_state = 8 |
integer, parameter, public | oct_tg_hhg = 9 |
integer, parameter, public | oct_tg_velocity = 10 |
integer, parameter, public | oct_tg_hhgnew = 12 |
integer, parameter, public | oct_tg_classical = 13 |
integer, parameter, public | oct_tg_spin = 14 |
integer, parameter, public | oct_targetmode_static = 0 |
integer, parameter, public | oct_targetmode_td = 1 |
integer, parameter, public | oct_no_curr = 0 |
integer, parameter, public | oct_curr_square = 1 |
integer, parameter, public | oct_max_curr_ring = 2 |
integer, parameter, public | oct_curr_square_td = 3 |
subroutine, public target_oct_m::target_init_propagation | ( | type(target_t), intent(inout) | tg | ) |
This routine performs all the things that must be initialized prior to a forward evolution, regarding the target. Right now some of those initializations are not done here, and should be moved.
Definition at line 254 of file target.F90.
subroutine, public target_oct_m::target_get_state | ( | type(target_t), intent(in) | tg, |
type(states_elec_t), intent(inout) | st | ||
) |
This just copies the states_elec_t variable present in target, into st.
Definition at line 271 of file target.F90.
subroutine, public target_oct_m::target_init | ( | type(grid_t), intent(in) | gr, |
type(kpoints_t), intent(in) | kpoints, | ||
type(namespace_t), intent(in) | namespace, | ||
class(space_t), intent(in) | space, | ||
type(ions_t), intent(in) | ions, | ||
type(opt_control_state_t), intent(inout) | qcs, | ||
type(td_t), intent(in) | td, | ||
real(real64), intent(in) | w0, | ||
type(target_t), intent(inout) | tg, | ||
type(oct_t), intent(in) | oct, | ||
type(epot_t), intent(inout) | ep, | ||
type(multicomm_t), intent(in) | mc | ||
) |
The target is initialized, mainly by reading from the inp file.
Definition at line 285 of file target.F90.
subroutine, public target_oct_m::target_end | ( | type(target_t), intent(inout) | tg, |
type(oct_t), intent(in) | oct | ||
) |
Definition at line 431 of file target.F90.
subroutine, public target_oct_m::target_output | ( | type(target_t), intent(inout) | tg, |
type(namespace_t), intent(in) | namespace, | ||
class(space_t), intent(in) | space, | ||
type(grid_t), intent(in) | gr, | ||
character(len=*), intent(in) | dir, | ||
type(ions_t), intent(in) | ions, | ||
type(hamiltonian_elec_t), intent(in) | hm, | ||
type(output_t), intent(in) | outp | ||
) |
Definition at line 472 of file target.F90.
subroutine, public target_oct_m::target_tdcalc | ( | type(target_t), intent(inout) | tg, |
type(namespace_t), intent(in) | namespace, | ||
class(space_t), intent(in) | space, | ||
type(hamiltonian_elec_t), intent(inout) | hm, | ||
type(grid_t), intent(in) | gr, | ||
type(ions_t), intent(inout) | ions, | ||
type(partner_list_t), intent(in) | ext_partners, | ||
type(states_elec_t), intent(inout) | psi, | ||
integer, intent(in) | time, | ||
integer, intent(in) | max_time | ||
) |
Calculates, at a given point in time marked by the integer index, the integrand of the target functional: \( <Psi(t)|\hat{O}(t)|Psi(t)> \).
Definition at line 520 of file target.F90.
subroutine, public target_oct_m::target_inh | ( | type(states_elec_t), intent(inout) | psi, |
type(grid_t), intent(in) | gr, | ||
type(kpoints_t), intent(in) | kpoints, | ||
type(target_t), intent(inout) | tg, | ||
real(real64), intent(in) | time, | ||
type(states_elec_t), intent(inout) | inh, | ||
integer, intent(in) | iter | ||
) |
Calculates the inhomogeneous term that appears in the equation for chi, and places it into inh.
Definition at line 563 of file target.F90.
real(real64) function, public target_oct_m::target_j1 | ( | type(target_t), intent(inout) | tg, |
type(namespace_t), intent(in) | namespace, | ||
type(grid_t), intent(in) | gr, | ||
type(kpoints_t), intent(in) | kpoints, | ||
type(opt_control_state_t), intent(inout) | qcpsi, | ||
type(ions_t), intent(in), optional | ions | ||
) |
Calculates the J1 functional, i.e.: \( <Psi(T)|\hat{O}|Psi(T)> \) in the time-independent case, or else \( \int_0^T dt <Psi(t)|\hat{O}(t)|Psi(t)> \) in the time-dependent case.
Definition at line 654 of file target.F90.
subroutine, public target_oct_m::target_chi | ( | type(target_t), intent(inout) | tg, |
type(namespace_t), intent(in) | namespace, | ||
type(grid_t), intent(in) | gr, | ||
type(kpoints_t), intent(in) | kpoints, | ||
type(opt_control_state_t), intent(inout), target | qcpsi_in, | ||
type(opt_control_state_t), intent(inout), target | qcchi_out, | ||
type(ions_t), intent(in) | ions | ||
) |
Calculate \( |chi(T)> = \hat{O}(T) |psi(T)> \).
Definition at line 706 of file target.F90.
integer pure function, public target_oct_m::target_mode | ( | type(target_t), intent(in) | tg | ) |
Definition at line 769 of file target.F90.
integer pure function, public target_oct_m::target_type | ( | type(target_t), intent(in) | tg | ) |
Definition at line 791 of file target.F90.
integer pure function, public target_oct_m::target_curr_functional | ( | type(target_t), intent(in) | tg | ) |
Definition at line 799 of file target.F90.
logical pure function, public target_oct_m::target_move_ions | ( | type(target_t), intent(in) | tg | ) |
Definition at line 807 of file target.F90.
|
private |
Definition at line 814 of file target.F90.
|
private |
Definition at line 843 of file target.F90.
|
private |
Definition at line 1145 of file target.F90.
|
private |
Definition at line 1162 of file target.F90.
|
private |
Definition at line 1189 of file target.F90.
|
private |
Definition at line 1238 of file target.F90.
|
private |
Definition at line 1317 of file target.F90.
|
private |
Calculates a current functional that may be combined with other functionals found in function target_j1.
Definition at line 1339 of file target.F90.
|
private |
Definition at line 1400 of file target.F90.
|
private |
Definition at line 1538 of file target.F90.
|
private |
Definition at line 1680 of file target.F90.
|
private |
Definition at line 1698 of file target.F90.
|
private |
Definition at line 1720 of file target.F90.
|
private |
Definition at line 1750 of file target.F90.
|
private |
Definition at line 1796 of file target.F90.
|
private |
Definition at line 1870 of file target.F90.
|
private |
Definition at line 1949 of file target.F90.
|
private |
Definition at line 2045 of file target.F90.
|
private |
Definition at line 2060 of file target.F90.
|
private |
Definition at line 2082 of file target.F90.
|
private |
Definition at line 2105 of file target.F90.
|
private |
Definition at line 2137 of file target.F90.
|
private |
Definition at line 2159 of file target.F90.
|
private |
Definition at line 2179 of file target.F90.
|
private |
Definition at line 2247 of file target.F90.
|
private |
Definition at line 2298 of file target.F90.
|
private |
Definition at line 2329 of file target.F90.
|
private |
Definition at line 2337 of file target.F90.
|
private |
Definition at line 2359 of file target.F90.
|
private |
Definition at line 2393 of file target.F90.
|
private |
Definition at line 2458 of file target.F90.
|
private |
Definition at line 2513 of file target.F90.
|
private |
Definition at line 2521 of file target.F90.
|
private |
Definition at line 2544 of file target.F90.
|
private |
Definition at line 2560 of file target.F90.
|
private |
Definition at line 2722 of file target.F90.
|
private |
Definition at line 2766 of file target.F90.
|
private |
Definition at line 2775 of file target.F90.
|
private |
Definition at line 2797 of file target.F90.
|
private |
Definition at line 2832 of file target.F90.
|
private |
Definition at line 2896 of file target.F90.
|
private |
Definition at line 2934 of file target.F90.
|
private |
Definition at line 2942 of file target.F90.
|
private |
Definition at line 2964 of file target.F90.
|
private |
Definition at line 2996 of file target.F90.
|
private |
Definition at line 3062 of file target.F90.
|
private |
Definition at line 3152 of file target.F90.
|
private |
Definition at line 3160 of file target.F90.
|
private |
Definition at line 3181 of file target.F90.
|
private |
Definition at line 3214 of file target.F90.
|
private |
Definition at line 3278 of file target.F90.
|
private |
Definition at line 3323 of file target.F90.
|
private |
Definition at line 3335 of file target.F90.
|
private |
Definition at line 3359 of file target.F90.
|
private |
Definition at line 3378 of file target.F90.
|
private |
Definition at line 3437 of file target.F90.
|
private |
Definition at line 3477 of file target.F90.
|
private |
Definition at line 3490 of file target.F90.
|
private |
Definition at line 3514 of file target.F90.
|
private |
Definition at line 3532 of file target.F90.
|
private |
Definition at line 3553 of file target.F90.
|
private |
Definition at line 3601 of file target.F90.
|
private |
Definition at line 3649 of file target.F90.
|
private |
Definition at line 3749 of file target.F90.
|
private |
Definition at line 3763 of file target.F90.
|
private |
Definition at line 3772 of file target.F90.
|
private |
Definition at line 3799 of file target.F90.
|
private |
Definition at line 3887 of file target.F90.
|
private |
Definition at line 3941 of file target.F90.
|
private |
Definition at line 3971 of file target.F90.
integer, parameter, public target_oct_m::oct_tg_groundstate = 1 |
Definition at line 186 of file target.F90.
integer, parameter, public target_oct_m::oct_tg_excited = 2 |
Definition at line 186 of file target.F90.
integer, parameter, public target_oct_m::oct_tg_gstransformation = 3 |
Definition at line 186 of file target.F90.
integer, parameter, public target_oct_m::oct_tg_userdefined = 4 |
Definition at line 186 of file target.F90.
integer, parameter, public target_oct_m::oct_tg_jdensity = 5 |
Definition at line 186 of file target.F90.
integer, parameter, public target_oct_m::oct_tg_local = 6 |
Definition at line 186 of file target.F90.
integer, parameter, public target_oct_m::oct_tg_td_local = 7 |
Definition at line 186 of file target.F90.
integer, parameter, public target_oct_m::oct_tg_exclude_state = 8 |
Definition at line 186 of file target.F90.
integer, parameter, public target_oct_m::oct_tg_hhg = 9 |
Definition at line 186 of file target.F90.
integer, parameter, public target_oct_m::oct_tg_velocity = 10 |
Definition at line 186 of file target.F90.
integer, parameter, public target_oct_m::oct_tg_hhgnew = 12 |
Definition at line 186 of file target.F90.
integer, parameter, public target_oct_m::oct_tg_classical = 13 |
Definition at line 186 of file target.F90.
integer, parameter, public target_oct_m::oct_tg_spin = 14 |
Definition at line 186 of file target.F90.
integer, parameter, public target_oct_m::oct_targetmode_static = 0 |
Definition at line 201 of file target.F90.
integer, parameter, public target_oct_m::oct_targetmode_td = 1 |
Definition at line 201 of file target.F90.
integer, parameter, public target_oct_m::oct_no_curr = 0 |
Definition at line 205 of file target.F90.
integer, parameter, public target_oct_m::oct_curr_square = 1 |
Definition at line 205 of file target.F90.
integer, parameter, public target_oct_m::oct_max_curr_ring = 2 |
Definition at line 205 of file target.F90.
integer, parameter, public target_oct_m::oct_curr_square_td = 3 |
Definition at line 205 of file target.F90.