create_excitation Function

public pure function create_excitation(IC, ex) result(exc)

Create an excitation from an excitation matrix and excitation level IC

Arguments

Type IntentOptional Attributes Name
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.

Return Value class(Excitation_t), allocatable

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.


Contents