OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
euldx.F
Go to the documentation of this file.
1Copyright> OpenRadioss
2Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3Copyright>
4Copyright> This program is free software: you can redistribute it and/or modify
5Copyright> it under the terms of the GNU Affero General Public License as published by
6Copyright> the Free Software Foundation, either version 3 of the License, or
7Copyright> (at your option) any later version.
8Copyright>
9Copyright> This program is distributed in the hope that it will be useful,
10Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12Copyright> GNU Affero General Public License for more details.
13Copyright>
14Copyright> You should have received a copy of the GNU Affero General Public License
15Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16Copyright>
17Copyright>
18Copyright> Commercial Alternative: Altair Radioss Software
19Copyright>
20Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21Copyright> software under a commercial license. Contact Altair to discuss further if the
22Copyright> commercial version may interest you: https://www.altair.com/radioss/.
23!||====================================================================
24!|| euldx ../engine/source/ale/grid/euldx.F
25!||--- called by ------------------------------------------------------
26!|| resol ../engine/source/engine/resol.F
27!||====================================================================
28 SUBROUTINE euldx(V,D,X,DDP,NALE,NODFT,NODLT)
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
79 END
#define my_real
Definition cppsort.cpp:32
subroutine euldx(v, d, x, ddp, nale, nodft, nodlt)
Definition euldx.F:29
#define min(a, b)
Definition macros.h:20