Cumul_is_valid Function

private pure function Cumul_is_valid(this, n_basis) result(is_valid)

Check if the GAS specification is valid

If the number of particles or the number of spin orbitals is provided, then the consistency with these numbers is checked as well.

Type Bound



Type IntentOptional Attributes Name
class(CumulGASSpec_t), intent(in) :: this

Specification of GAS spaces.

integer, intent(in), optional :: n_basis

The number of spin orbitals.

Return Value logical