Skip to content

Commit

Permalink
Basement debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
mjwitte committed Mar 29, 2022
1 parent 65f7235 commit b7b82bc
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/Basement/3DBasementHT.f90
Original file line number Diff line number Diff line change
Expand Up @@ -9768,14 +9768,23 @@ SUBROUTINE CalcTearth(IEXT,JEXT,DZ,DZP,TG,CVG)

DO COUNT1=1,NZBG-1
CONST(COUNT1,1)=TCOND*3600.d0/SoilDens/CG/DZ(COUNT1)/DZP(COUNT1-1)
IF (isnan(CONST(COUNT1,1))) THEN
WRITE (DebugOutFile,*) ' CalcTearth: COUNT1=', COUNT1,' CONST(COUNT1,1)=', CONST(COUNT1,1), ' TCOND=', TCOND, ' SoilDens=', SoilDens, ' CG=', CG, ' DZ(COUNT1)=', DZ(COUNT1), ' DZP(COUNT1-1)=', DZP(COUNT1-1)
ENDIF
END DO
!*** CONSTANTS IN POSITIVE CELL DIRECTION
DO COUNT1=0,NZBG-2
CONST(COUNT1,2)=TCOND*3600.d0/SoilDens/CG/DZ(COUNT1)/DZP(COUNT1)
IF (isnan(CONST(COUNT1,2))) THEN
WRITE (DebugOutFile,*) ' CalcTearth: COUNT1=', COUNT1,' CONST(COUNT1,2)=', CONST(COUNT1,2), ' TCOND=', TCOND, ' SoilDens=', SoilDens, ' CG=', CG, ' DZ(COUNT1)=', DZ(COUNT1), ' DZP(COUNT1)=', DZP(COUNT1)
ENDIF
END DO

!*** CONSTANT IN POSITIVE CELL DIRECTION FOR DEEP GROUND CONDITION
CONST(NZBG-1,2)=TCOND*7200.d0/SoilDens/CG/DZ(NZBG-1)/DZ(NZBG-1)
IF (isnan(CONST(COUNT1,2))) THEN
WRITE (DebugOutFile,*) ' CalcTearth: NZBG-1=', (NZBG-1),' CONST(NZBG-1,2)=', CONST(NZBG-1,2), ' TCOND=', TCOND, ' SoilDens=', SoilDens, ' CG=', CG, ' DZ(NZBG-1)=', DZ(NZBG-1)
ENDIF
!*** FOR FIXED TEMPERATURE LOWER BOUNDARY CONDITION, SET
!*** BOUNDARY VALUE
IF (.not. SameString(FIXBC,'FALSE')) TDEEP=TG(NZBG)
Expand Down Expand Up @@ -10436,9 +10445,6 @@ SUBROUTINE TRIDI1D (A,B,C,X,R,N)
X(1)=R(1)
DO COUNT1=2,N
X(COUNT1)=R(COUNT1)-A(COUNT1)*X(COUNT1-1)
IF (isnan(X(COUNT1))) THEN
WRITE (DebugOutFile,*) ' TRIDI1D: X(COUNT1)=', COUNT1,' X(Count1)=', X(COUNT1), ' R(COUNT1)=', R(COUNT1), ' A(COUNT1)=', A(COUNT1)
ENDIF
END DO
END SUBROUTINE TRIDI1D

Expand Down

4 comments on commit b7b82bc

@nrel-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

basementNAN (mjwitte) - Win64-Windows-10-VisualStudio-16: OK (2486 of 2486 tests passed, 0 test warnings)

Build Badge Test Badge

@nrel-bot-2b
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

basementNAN (mjwitte) - x86_64-Linux-Ubuntu-18.04-gcc-7.5: OK (3269 of 3270 tests passed, 0 test warnings)

Messages:\n

  • 1 test had: EIO diffs.
  • 1 test had: ESO small diffs.
  • 1 test had: MTR small diffs.
  • 1 test had: Table big diffs.

Failures:\n

regression Test Summary

  • Passed: 761
  • Failed: 1

Build Badge Test Badge

@nrel-bot-2b
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

basementNAN (mjwitte) - x86_64-Linux-Ubuntu-18.04-gcc-7.5-UnitTestsCoverage-Debug: OK (1744 of 1744 tests passed, 0 test warnings)

Build Badge Test Badge Coverage Badge

@nrel-bot-2b
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

basementNAN (mjwitte) - x86_64-Linux-Ubuntu-18.04-gcc-7.5-IntegrationCoverage-Debug: OK (746 of 746 tests passed, 0 test warnings)

Build Badge Test Badge Coverage Badge

Please sign in to comment.