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 33 of file tempcg.F.

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