arguments are better than public variables
This commit is contained in:
parent
67228b46a6
commit
534073358e
|
@ -122,7 +122,9 @@ end subroutine CPFEM_init
|
|||
!--------------------------------------------------------------------------------------------------
|
||||
!> @brief forwards data after successful increment
|
||||
!--------------------------------------------------------------------------------------------------
|
||||
subroutine CPFEM_age
|
||||
subroutine CPFEM_age(restartWrite)
|
||||
|
||||
logical :: restartWrite
|
||||
|
||||
integer :: i, ph, homog, mySource
|
||||
character(len=32) :: rankStr, PlasticItem, HomogItem
|
||||
|
|
|
@ -325,7 +325,7 @@ subroutine grid_mech_FEM_forward(guess,timeinc,timeinc_old,loadCaseTime,deformat
|
|||
call HDF5_closeFile(fileHandle)
|
||||
|
||||
endif
|
||||
call CPFEM_age ! age state and kinematics
|
||||
call CPFEM_age(restartWrite) ! age state and kinematics
|
||||
call utilities_updateCoords(F)
|
||||
|
||||
C_volAvgLastInc = C_volAvg
|
||||
|
|
|
@ -303,7 +303,7 @@ subroutine grid_mech_spectral_basic_forward(guess,timeinc,timeinc_old,loadCaseTi
|
|||
call HDF5_closeFile(fileHandle)
|
||||
endif
|
||||
|
||||
call CPFEM_age ! age state and kinematics
|
||||
call CPFEM_age(restartWrite) ! age state and kinematics
|
||||
call utilities_updateCoords(F)
|
||||
|
||||
C_volAvgLastInc = C_volAvg
|
||||
|
|
|
@ -325,7 +325,7 @@ subroutine grid_mech_spectral_polarisation_forward(guess,timeinc,timeinc_old,loa
|
|||
call HDF5_closeFile(fileHandle)
|
||||
endif
|
||||
|
||||
call CPFEM_age ! age state and kinematics
|
||||
call CPFEM_age(restartWrite) ! age state and kinematics
|
||||
call utilities_updateCoords(F)
|
||||
|
||||
C_volAvgLastInc = C_volAvg
|
||||
|
|
Loading…
Reference in New Issue