create_excitation Subroutine

public subroutine create_excitation(exc, IC, ex)

Create an excitation from an excitation matrix and excitation level IC

Arguments

Type IntentOptional Attributes Name
class(Excitation_t), intent(out), allocatable :: exc

An excitation of type excitation_t. By using select type(exc) one can select the actual type at runtime and statically dispatch as much as possible at runtime.

integer, intent(in) :: IC

The excitation level. (1=Excite_1_t, 2=Excite_2_t, …)

integer, intent(in), optional :: ex(2,ic)

An excitation matrix as in the %val component of the excitation types.