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

Go to the source code of this file.

Functions/Subroutines

subroutine update_failwave (failwave)

Function/Subroutine Documentation

◆ update_failwave()

subroutine update_failwave ( type (failwave_str_), target failwave)

Definition at line 33 of file update_failwave.F.

34C-----------------------------------------------
35C M o d u l e s
36C-----------------------------------------------
37 USE failwave_mod
38 USE debug_mod
39C-----------------------------------------------
40C I m p l i c i t T y p e s
41C-----------------------------------------------
42#include "implicit_f.inc"
43C-----------------------------------------------
44C C o m m o n B l o c k s
45C-----------------------------------------------
46#include "com01_c.inc"
47C-----------------------------------------------
48C D u m m y A r g u m e n t s
49C-----------------------------------------------
50 TYPE (FAILWAVE_STR_) ,TARGET :: FAILWAVE
51C-----------------------------------------------
52C L o c a l V a r i a b l e s
53C-----------------------------------------------
54 INTEGER I,J,K,NNOD,NDDL,LEVEL
55C=======================================================================
56 nnod = failwave%NNOD
57 nddl = failwave%NDDL
58 failwave%MAXLEV(1:nnod) = failwave%MAXLEV_STACK(1:nnod)
59 failwave%MAXLEV_STACK(1:nnod) = 0
60c
61 DO i=1,nnod
62 level = min(failwave%MAXLEV(i), failwave%SIZE)
63 DO j=1,level
64 DO k=1,nddl
65 failwave%FWAVE_NOD(k,i,j) = failwave%FWAVE_NOD_STACK(k,i,j)
66 ENDDO
67 ENDDO
68 ENDDO
69 IF (nspmd > 1 )THEN
70 CALL spmd_exch_failwave(failwave)
71 ENDIF
72c----------
#define min(a, b)
Definition macros.h:20
subroutine spmd_exch_failwave(failwave)