#include "implicit_f.inc"
#include "mvsiz_p.inc"
#include "param_c.inc"
Go to the source code of this file.
|
| subroutine | qlagr2 (pm, vol0, rho, eint, voln, dvol, mat, nel) |
◆ qlagr2()
| subroutine qlagr2 |
( |
| pm, |
|
|
| vol0, |
|
|
| rho, |
|
|
| eint, |
|
|
| voln, |
|
|
| dvol, |
|
|
integer, dimension(*) | mat, |
|
|
integer, intent(in) | nel ) |
Definition at line 29 of file qlagr2.F.
32
33
34
35#include "implicit_f.inc"
36
37
38
39#include "mvsiz_p.inc"
40
41
42
43#include "param_c.inc"
44
45
46
47 INTEGER, INTENT(IN) :: NEL
48 my_real pm(npropm,*), vol0(*), rho(*), eint(*),voln(*), dvol(*)
49 INTEGER MAT(*)
50
51
52
53 INTEGER I
54
56
57 DO i=1,nel
58 rho0(i)=pm(1,mat(i))
59 ENDDO
60
61 DO i=1,nel
62 dvol(i)=voln(i)-(rho0(i)/rho(i))*vol0(i)
63 ENDDO
64
65 DO i=1,nel
66 rho(i)=rho0(i)*(vol0(i)/voln(i))
67 eint(i)=eint(i)*vol0(i)
68 ENDDO
69
70 RETURN