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

Go to the source code of this file.

Functions/Subroutines

subroutine temp3cg (jft, jlt, pm, mat, ixtg, temp, tempel)

Function/Subroutine Documentation

◆ temp3cg()

subroutine temp3cg ( integer jft,
integer jlt,
pm,
integer, dimension(*) mat,
integer, dimension(nixtg,*) ixtg,
temp,
tempel )

Definition at line 31 of file temp3cg.F.

33 use element_mod , only : nixtg
34C-----------------------------------------------
35C I m p l i c i t T y p e s
36C-----------------------------------------------
37#include "implicit_f.inc"
38C-----------------------------------------------
39C G l o b a l P a r a m e t e r s
40C-----------------------------------------------
41#include "param_c.inc"
42C-----------------------------------------------
43C D u m m y A r g u m e n t s
44C-----------------------------------------------
45 INTEGER JFT, JLT,MAT(*),IXTG(NIXTG,*)
46C REAL
48 . temp(*), pm(npropm,*),tempel(*)
49C-----------------------------------------------
50C L o c a l V a r i a b l e s
51C-----------------------------------------------
52 INTEGER I
53C REAL
54C --- calculation of temperature at center of gravity
55 DO i=jft,jlt
56 tempel(i) = third * ( temp(ixtg(2,i)) + temp(ixtg(3,i)) +
57 . temp(ixtg(4,i)) )
58 ENDDO
59C
60 RETURN
#define my_real
Definition cppsort.cpp:32