Skip to content

Commit

Permalink
Flip Ct and Cq table allocation (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
dzalkind authored Apr 27, 2022
1 parent 5d20185 commit 77278f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ROSCO/src/ReadSetParameters.f90
Original file line number Diff line number Diff line change
Expand Up @@ -501,15 +501,15 @@ SUBROUTINE ReadCpFile(CntrPar,PerfData, ErrVar)
CALL ReadEmptyLine(UnPerfParameters,CurLine)
CALL ReadEmptyLine(UnPerfParameters,CurLine)
CALL ReadEmptyLine(UnPerfParameters,CurLine)
ALLOCATE(PerfData%Ct_mat(CntrPar%PerfTableSize(1),CntrPar%PerfTableSize(2)))
ALLOCATE(PerfData%Ct_mat(CntrPar%PerfTableSize(2),CntrPar%PerfTableSize(1)))
DO i = 1,CntrPar%PerfTableSize(2)
READ(UnPerfParameters, *) PerfData%Ct_mat(i,:) ! Read Ct table
END DO
CALL ReadEmptyLine(UnPerfParameters,CurLine)
CALL ReadEmptyLine(UnPerfParameters,CurLine)
CALL ReadEmptyLine(UnPerfParameters,CurLine)
CALL ReadEmptyLine(UnPerfParameters,CurLine)
ALLOCATE(PerfData%Cq_mat(CntrPar%PerfTableSize(1),CntrPar%PerfTableSize(2)))
ALLOCATE(PerfData%Cq_mat(CntrPar%PerfTableSize(2),CntrPar%PerfTableSize(1)))
DO i = 1,CntrPar%PerfTableSize(2)
READ(UnPerfParameters, *) PerfData%Cq_mat(i,:) ! Read Cq table
END DO
Expand Down

0 comments on commit 77278f5

Please sign in to comment.