following standard: Output first
This commit is contained in:
parent
53283d5c01
commit
97127f9034
|
@ -816,7 +816,7 @@ module procedure mech_RGC_updateState
|
|||
integer :: i,j,iBase
|
||||
logical :: error
|
||||
|
||||
call math_invert33(matmul(transpose(avgF),avgF),invC,detF,error)
|
||||
call math_invert33(invC,detF,error,matmul(transpose(avgF),avgF))
|
||||
|
||||
surfaceCorrection = 0.0_pReal
|
||||
do iBase = 1,3
|
||||
|
|
|
@ -484,9 +484,8 @@ end function math_inv33
|
|||
!> @brief Cramer inversion of 33 matrix (subroutine)
|
||||
!> @details Direct Cramer inversion of matrix A. Also returns determinant
|
||||
! Returns an error if not possible, i.e. if determinant is close to zero
|
||||
! ToDo: Output arguments should be first
|
||||
!--------------------------------------------------------------------------------------------------
|
||||
pure subroutine math_invert33(A, InvA, DetA, error)
|
||||
pure subroutine math_invert33(InvA, DetA, error, A)
|
||||
|
||||
logical, intent(out) :: error
|
||||
real(pReal),dimension(3,3),intent(in) :: A
|
||||
|
|
Loading…
Reference in New Issue