OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
euldx.F File Reference
#include "implicit_f.inc"
#include "com01_c.inc"
#include "com04_c.inc"
#include "com08_c.inc"
#include "scr05_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine euldx (v, d, x, ddp, nale, nodft, nodlt)

Function/Subroutine Documentation

◆ euldx()

subroutine euldx ( v,
d,
x,
real(kind=8), dimension(3,*), intent(inout) ddp,
integer, dimension(numnod) nale,
integer nodft,
integer nodlt )

Definition at line 28 of file euldx.F.

29C-----------------------------------------------
30C I m p l i c i t T y p e s
31C-----------------------------------------------
32#include "implicit_f.inc"
33C-----------------------------------------------
34C C o m m o n B l o c k s
35C-----------------------------------------------
36#include "com01_c.inc"
37#include "com04_c.inc"
38#include "com08_c.inc"
39#include "scr05_c.inc"
40C-----------------------------------------------
41C D u m m y A r g u m e n t s
42C-----------------------------------------------
43 INTEGER NALE(NUMNOD),NODFT,NODLT
44 my_real x(3,numnod), d(3,numnod), v(3,numnod)
45 REAL(kind=8), dimension(3,*), INTENT(INOUT) :: ddp
46C-----------------------------------------------
47C L o c a l V a r i a b l e s
48C-----------------------------------------------
49 INTEGER N
50 my_real xlag
51C-----------------------------------------------
52C S o u r c e L i n e s
53C-----------------------------------------------
54 IF(n2d == 1)THEN
55 DO n=nodft,nodlt
56 IF(x(2,n)+dt2*v(2,n) < zero)v(2,n)=zero
57 ENDDO
58 ENDIF
59 DO n=nodft,nodlt
60 xlag=min(1,iabs(iabs(nale(n))-2))
61 d(1,n)=d(1,n)+dt2*v(1,n)*xlag
62 d(2,n)=d(2,n)+dt2*v(2,n)*xlag
63 d(3,n)=d(3,n)+dt2*v(3,n)*xlag
64 x(1,n)=x(1,n)+dt2*v(1,n)*xlag
65 x(2,n)=x(2,n)+dt2*v(2,n)*xlag
66 x(3,n)=x(3,n)+dt2*v(3,n)*xlag
67 ENDDO
68! -------------------------
69! single precision
70 IF(iresp==1) THEN
71 DO n=nodft,nodlt
72 ddp(1,n)= d(1,n)
73 ddp(2,n)= d(2,n)
74 ddp(3,n)= d(3,n)
75 ENDDO
76 ENDIF
77C-----------------------------------------------
78 RETURN
#define my_real
Definition cppsort.cpp:32
#define min(a, b)
Definition macros.h:20