Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(Symmetry) | :: | Prod | ||||
type(SymPairProd) | :: | SymPairProds(nSymPairProds) | ||||
integer | :: | nSymPairProds | ||||
integer | :: | iProd |
SUBROUTINE FindSymProd(Prod, SymPairProds, nSymPairProds, iProd)
implicit none
INTEGER nSymPairProds, iProd
TYPE(SymPairProd) SymPairProds(nSymPairProds)
TYPE(Symmetry) Prod
DO iProd = 1, nSymPairProds
IF (SYMEQ(SymPairProds(iProd)%Sym, Prod)) EXIT
end do
END SUBROUTINE FindSymProd