#include "implicit_f.inc"
Go to the source code of this file.
|
| subroutine | viscpower (nel, tbnorm, a1, expm, expn, gammaold, dgamma) |
◆ viscpower()
| subroutine viscpower |
( |
integer, intent(in) | nel, |
|
|
intent(in) | tbnorm, |
|
|
intent(in) | a1, |
|
|
intent(in) | expm, |
|
|
intent(in) | expn, |
|
|
intent(in) | gammaold, |
|
|
intent(out) | dgamma ) |
Definition at line 31 of file viscpower.F.
32
33
34
35#include "implicit_f.inc"
36
37
38
39 INTEGER, INTENT(IN) :: NEL
40
41 my_real,
INTENT(IN) :: a1, expn ,expm
42
43 my_real,
DIMENSION(NEL),
INTENT(IN) :: tbnorm,gammaold
44
45
46
47 my_real,
DIMENSION(NEL),
INTENT(OUT) :: dgamma
48
49
50
51
52
53
54 INTEGER I
55
57 . temp1 ,temp2 , temp3
58
59 DO i=1,nel
60
61 temp1 = (expm +one ) * gammaold(i)
62 temp2 = exp(expn*log(tbnorm(i)))
63 temp3 = exp( expm*log(temp1) )
64 dgamma(i) = a1* exp( (one/(one +expm)) *log(temp2 * temp3 ))
65
66 ENDDO
67 RETURN