(git:7fc1fe1)
Loading...
Searching...
No Matches
nlo_read_input Module Reference

Functions/Subroutines

subroutine, public create_nonlinear_optics_section (section)
 Define the nonlinear susceptibility model, conventions, and input parameters.
subroutine, public read_nlo_input (qs_env, nlo_env)
 Read the activated input into nlo_env and reject invalid frequency combinations.
subroutine, public nlo_frequency_case_count (frequencies, order, n_frequency_combinations)
 Count independent frequency combinations without materializing the Cartesian product.
subroutine, public nlo_frequency_case (frequencies, order, i_case, energy_ev, zero_output)
 Resolve one Cartesian-product case, preserving SAME_AS and MINUS_OF links.

Detailed Description

Author
Jan Wilhelm, with help from ChatGPT

Function/Subroutine Documentation

◆ create_nonlinear_optics_section()

subroutine, public nlo_read_input::create_nonlinear_optics_section ( type(section_type), pointer section)

Define the nonlinear susceptibility model, conventions, and input parameters.

Parameters
sectionCreated NONLINEAR_OPTICS section of the input tree.

Definition at line 53 of file nlo_read_input.F.

Here is the call graph for this function:

◆ read_nlo_input()

subroutine, public nlo_read_input::read_nlo_input ( type(qs_environment_type), pointer qs_env,
type(nlo_type), intent(out) nlo_env )

Read the activated input into nlo_env and reject invalid frequency combinations.

Parameters
qs_envConverged QS environment containing the parsed input.
nlo_envValidated settings for the nonlinear response.

Definition at line 264 of file nlo_read_input.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nlo_frequency_case_count()

subroutine, public nlo_read_input::nlo_frequency_case_count ( type(nlo_frequency_type), dimension(5), intent(in) frequencies,
integer, intent(in) order,
integer, intent(out) n_frequency_combinations )

Count independent frequency combinations without materializing the Cartesian product.

Parameters
frequenciesParsed incident-frequency definitions.
orderNumber of active incident frequencies.
n_frequency_combinationsProduct of independent range lengths.

Definition at line 533 of file nlo_read_input.F.

Here is the caller graph for this function:

◆ nlo_frequency_case()

subroutine, public nlo_read_input::nlo_frequency_case ( type(nlo_frequency_type), dimension(5), intent(in) frequencies,
integer, intent(in) order,
integer, intent(in) i_case,
real(kind=dp), dimension(5), intent(out) energy_ev,
logical, intent(out) zero_output )

Resolve one Cartesian-product case, preserving SAME_AS and MINUS_OF links.

Parameters
frequenciesParsed incident-frequency definitions.
orderNumber of active incident frequencies.
i_caseOne-based index of the requested range combination.
energy_evResolved incident photon energies in eV.
zero_outputWhether the sum of incident photon energies is zero.

Definition at line 569 of file nlo_read_input.F.

Here is the call graph for this function:
Here is the caller graph for this function: