polishing
This commit is contained in:
parent
cf53e1e8e6
commit
328dcf0101
|
@ -1312,7 +1312,7 @@ subroutine integrateStateRK4(todo)
|
|||
A = reshape([&
|
||||
0.5_pReal, 0.0_pReal, 0.0_pReal, &
|
||||
0.0_pReal, 0.5_pReal, 0.0_pReal, &
|
||||
0.0_pReal, 0.0_pReal, 1.0_pReal],
|
||||
0.0_pReal, 0.0_pReal, 1.0_pReal],&
|
||||
shape(A))
|
||||
real(pReal), dimension(3), parameter :: &
|
||||
C = [0.5_pReal, 0.5_pReal, 1.0_pReal]
|
||||
|
@ -1466,8 +1466,7 @@ subroutine integrateStateRK(todo,A,B,CC,DB)
|
|||
+ sourceState(p)%p(s)%dotState (1:sizeDotState,c) &
|
||||
* crystallite_subdt(g,i,e)
|
||||
if(present(DB)) &
|
||||
broken = broken .or. .not. &
|
||||
converged(matmul(source_RKdotState(1:sizeDotState,1:size(DB),s),DB) &
|
||||
broken = broken .or. .not. converged(matmul(source_RKdotState(1:sizeDotState,1:size(DB),s),DB) &
|
||||
* crystallite_subdt(g,i,e), &
|
||||
sourceState(p)%p(s)%state(1:sizeDotState,c), &
|
||||
sourceState(p)%p(s)%atol(1:sizeDotState))
|
||||
|
|
Loading…
Reference in New Issue