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

Go to the source code of this file.

Functions/Subroutines

subroutine shapeh (h, s, t)

Function/Subroutine Documentation

◆ shapeh()

subroutine shapeh ( dimension(*), intent(inout) h,
intent(in) s,
intent(in) t )

Definition at line 33 of file shapeh.F.

34C-----------------------------------------------
35C I m p l i c i t T y p e s
36C-----------------------------------------------
37#include "implicit_f.inc"
38C-----------------------------------------------
39C D u m m y A r g u m e n t s
40C-----------------------------------------------
41 my_real,INTENT(IN) :: s, t
42 my_real,INTENT(INOUT) :: h(*)
43C-----------------------------------------------
44C L o c a l V a r i a b l e s
45C-----------------------------------------------
46 my_real :: sp, sm, tp, tm
47C-----------------------------------------------
48C S o u r c e L i n e s
49C-----------------------------------------------
50 sp = one +s
51 sm = one -s
52 tp = fourth*(one + t)
53 tm = fourth*(one - t)
54 h(1) = tm*sm
55 h(2) = tm*sp
56 h(3) = tp*sp
57 h(4) = tp*sm
58C-----------------------------------------------
59 RETURN
#define my_real
Definition cppsort.cpp:32