simpler logic
This commit is contained in:
parent
a48a3101bb
commit
bff03063e2
|
@ -437,14 +437,12 @@ subroutine utilities_updateGamma(C,saveReference)
|
||||||
logical :: err
|
logical :: err
|
||||||
|
|
||||||
C_ref = C
|
C_ref = C
|
||||||
if (saveReference) then
|
if (saveReference .and. worldrank == 0) then
|
||||||
if (worldrank == 0) then
|
|
||||||
write(6,'(/,a)') ' writing reference stiffness to file'
|
write(6,'(/,a)') ' writing reference stiffness to file'
|
||||||
flush(6)
|
flush(6)
|
||||||
fileUnit = IO_open_jobFile_binary('C_ref','w')
|
fileUnit = IO_open_jobFile_binary('C_ref','w')
|
||||||
write(fileUnit) C_ref; close(fileUnit)
|
write(fileUnit) C_ref; close(fileUnit)
|
||||||
endif
|
endif
|
||||||
endif
|
|
||||||
|
|
||||||
if(.not. num%memory_efficient) then
|
if(.not. num%memory_efficient) then
|
||||||
gamma_hat = cmplx(0.0_pReal,0.0_pReal,pReal) ! for the singular point and any non invertible A
|
gamma_hat = cmplx(0.0_pReal,0.0_pReal,pReal) ! for the singular point and any non invertible A
|
||||||
|
|
Loading…
Reference in New Issue