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

Go to the source code of this file.

Functions/Subroutines

subroutine tempcg (numnod, nel, ixc, temp, tempel)

Function/Subroutine Documentation

◆ tempcg()

subroutine tempcg ( integer, intent(in) numnod,
integer, intent(in) nel,
integer, dimension(nixc,*) ixc,
temp,
tempel )

Definition at line 31 of file tempcg.F.

32C-----------------------------------------------
33C I m p l i c i t T y p e s
34C-----------------------------------------------
35#include "implicit_f.inc"
36C-----------------------------------------------
37C D u m m y A r g u m e n t s
38C-----------------------------------------------
39 INTEGER ,INTENT(IN) :: NUMNOD
40 INTEGER ,INTENT(IN) :: NEL
41 INTEGER IXC(NIXC,*)
42 my_real :: temp(numnod)
43 my_real :: tempel(nel)
44C-----------------------------------------------
45C L o c a l V a r i a b l e s
46C-----------------------------------------------
47 INTEGER I
48C-----------------------------------------------
49C --- calculate mean element temperature in Gauss point
50 DO i=1,nel
51 tempel(i) = fourth * (temp(ixc(2,i)) + temp(ixc(3,i)) +
52 . temp(ixc(4,i)) + temp(ixc(5,i)) )
53 ENDDO
54!-----------
55 RETURN
#define my_real
Definition cppsort.cpp:32