Octopus
target_hhg_oct_m Module Reference

Data Types

type  target_hhg_t
 Target on the harmonic emission spectrum (peak optimization). More...
 
type  target_hhgnew_t
 Target on the harmonic spectrum integrated with a weight function. More...
 

Functions/Subroutines

subroutine target_init_hhg (tg, gr, kpoints, namespace, space, ions, qcs, td, w0, oct, ep, restart)
 
subroutine target_init_hhgnew (tg, gr, kpoints, namespace, space, ions, qcs, td, w0, oct, ep, restart)
 
subroutine target_end_hhg (tg, oct)
 
subroutine target_output_hhg (tg, namespace, space, gr, dir, ions, hm, outp)
 
subroutine target_output_hhgnew (tg, namespace, space, gr, dir, ions, hm, outp)
 
subroutine target_end_hhgnew (tg, oct)
 
real(real64) function target_j1_hhg (tg, namespace, gr, kpoints, qcpsi, ions)
 
real(real64) function target_j1_hhgnew (tg, namespace, gr, kpoints, qcpsi, ions)
 
subroutine target_chi_hhg (tg, namespace, gr, kpoints, qcpsi_in, qcchi_out, ions)
 The HHG targets are time-dependent, so chi(T) = 0. More...
 
subroutine target_chi_hhgnew (tg, namespace, gr, kpoints, qcpsi_in, qcchi_out, ions)
 The HHG targets are time-dependent, so chi(T) = 0. More...
 
subroutine target_init_propagation_hhgnew (tg)
 Per-propagation reset for the hhgnew target. More...
 
subroutine target_inh_hhgnew (tg, psi, gr, kpoints, time, inh, iter)
 Inhomogeneous term for the hhgnew target. More...
 
subroutine target_tdcalc_hhgnew (tg, namespace, space, hm, gr, ions, ext_partners, psi, time, max_time)
 
subroutine target_tdcalc_hhg (tg, namespace, space, hm, gr, ions, ext_partners, psi, time, max_time)
 

Function/Subroutine Documentation

◆ target_init_hhg()

subroutine target_hhg_oct_m::target_init_hhg ( class(target_hhg_t), intent(inout)  tg,
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(oct_t), intent(in)  oct,
type(epot_t), intent(inout)  ep,
type(restart_t), intent(inout)  restart 
)
private

Definition at line 204 of file target_hhg.F90.

◆ target_init_hhgnew()

subroutine target_hhg_oct_m::target_init_hhgnew ( class(target_hhgnew_t), intent(inout)  tg,
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(oct_t), intent(in)  oct,
type(epot_t), intent(inout)  ep,
type(restart_t), intent(inout)  restart 
)
private

Definition at line 291 of file target_hhg.F90.

◆ target_end_hhg()

subroutine target_hhg_oct_m::target_end_hhg ( class(target_hhg_t), intent(inout)  tg,
type(oct_t), intent(in)  oct 
)
private

Definition at line 393 of file target_hhg.F90.

◆ target_output_hhg()

subroutine target_hhg_oct_m::target_output_hhg ( class(target_hhg_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 
)
private

Definition at line 409 of file target_hhg.F90.

◆ target_output_hhgnew()

subroutine target_hhg_oct_m::target_output_hhgnew ( class(target_hhgnew_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 
)
private

Definition at line 430 of file target_hhg.F90.

◆ target_end_hhgnew()

subroutine target_hhg_oct_m::target_end_hhgnew ( class(target_hhgnew_t), intent(inout)  tg,
type(oct_t), intent(in)  oct 
)
private

Definition at line 452 of file target_hhg.F90.

◆ target_j1_hhg()

real(real64) function target_hhg_oct_m::target_j1_hhg ( class(target_hhg_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 
)
private

Definition at line 475 of file target_hhg.F90.

◆ target_j1_hhgnew()

real(real64) function target_hhg_oct_m::target_j1_hhgnew ( class(target_hhgnew_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 
)
private

Definition at line 511 of file target_hhg.F90.

◆ target_chi_hhg()

subroutine target_hhg_oct_m::target_chi_hhg ( class(target_hhg_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 
)
private

The HHG targets are time-dependent, so chi(T) = 0.

Definition at line 537 of file target_hhg.F90.

◆ target_chi_hhgnew()

subroutine target_hhg_oct_m::target_chi_hhgnew ( class(target_hhgnew_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 
)
private

The HHG targets are time-dependent, so chi(T) = 0.

Definition at line 566 of file target_hhg.F90.

◆ target_init_propagation_hhgnew()

subroutine target_hhg_oct_m::target_init_propagation_hhgnew ( class(target_hhgnew_t), intent(inout)  tg)
private

Per-propagation reset for the hhgnew target.

Definition at line 595 of file target_hhg.F90.

◆ target_inh_hhgnew()

subroutine target_hhg_oct_m::target_inh_hhgnew ( class(target_hhgnew_t), intent(inout)  tg,
type(states_elec_t), intent(inout)  psi,
type(grid_t), intent(in)  gr,
type(kpoints_t), intent(in)  kpoints,
real(real64), intent(in)  time,
type(states_elec_t), intent(inout)  inh,
integer, intent(in)  iter 
)
private

Inhomogeneous term for the hhgnew target.

Definition at line 609 of file target_hhg.F90.

◆ target_tdcalc_hhgnew()

subroutine target_hhg_oct_m::target_tdcalc_hhgnew ( class(target_hhgnew_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 
)
private

Definition at line 650 of file target_hhg.F90.

◆ target_tdcalc_hhg()

subroutine target_hhg_oct_m::target_tdcalc_hhg ( class(target_hhg_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 
)
private

Definition at line 723 of file target_hhg.F90.