OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
qlagr2.F File Reference
#include "implicit_f.inc"
#include "mvsiz_p.inc"
#include "param_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine qlagr2 (pm, vol0, rho, eint, voln, dvol, mat, nel)

Function/Subroutine Documentation

◆ qlagr2()

subroutine qlagr2 ( pm,
vol0,
rho,
eint,
voln,
dvol,
integer, dimension(*) mat,
integer, intent(in) nel )

Definition at line 29 of file qlagr2.F.

32C-----------------------------------------------
33C I m p l i c i t T y p e s
34C-----------------------------------------------
35#include "implicit_f.inc"
36C-----------------------------------------------
37C G l o b a l P a r a m e t e r s
38C-----------------------------------------------
39#include "mvsiz_p.inc"
40C-----------------------------------------------
41C C o m m o n B l o c k s
42C-----------------------------------------------
43#include "param_c.inc"
44C-----------------------------------------------
45C D u m m y A r g u m e n t s
46C-----------------------------------------------
47 INTEGER, INTENT(IN) :: NEL
48 my_real pm(npropm,*), vol0(*), rho(*), eint(*),voln(*), dvol(*)
49 INTEGER MAT(*)
50C-----------------------------------------------
51C L o c a l V a r i a b l e s
52C-----------------------------------------------
53 INTEGER I
54C REAL
55 my_real rho0(mvsiz)
56C-----------------------------------------------
57 DO i=1,nel
58 rho0(i)=pm(1,mat(i))
59 ENDDO
60C
61 DO i=1,nel
62 dvol(i)=voln(i)-(rho0(i)/rho(i))*vol0(i)
63 ENDDO
64C
65 DO i=1,nel
66 rho(i)=rho0(i)*(vol0(i)/voln(i))
67 eint(i)=eint(i)*vol0(i)
68 ENDDO
69C
70 RETURN
#define my_real
Definition cppsort.cpp:32