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

Go to the source code of this file.

Functions/Subroutines

subroutine bmultn (fill, dfill, ims, nodft, nodlt)

Function/Subroutine Documentation

◆ bmultn()

subroutine bmultn ( fill,
dfill,
integer, dimension(numnod,*) ims,
integer nodft,
integer nodlt )

Definition at line 28 of file bmultn.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"
39C-----------------------------------------------
40C D u m m y A r g u m e n t s
41C-----------------------------------------------
42 INTEGER NODFT,NODLT
43 INTEGER IMS(NUMNOD,*)
45 . fill(numnod,*), dfill(numnod,*)
46C-----------------------------------------------
47C L o c a l V a r i a b l e s
48C-----------------------------------------------
49 INTEGER M, N
50C-----------------------------------------------
51 DO m=1,nmult
52 DO n=nodft,nodlt
53 IF(ims(n,m)>0)THEN
54 dfill(n,m)=dt2*dfill(n,m)/ims(n,m)
55 ELSE
56 dfill(n,m)=zero
57 ENDIF
58 ENDDO !next N
59 ENDDO !next M
60
61 DO m=1,nmult
62 DO n=nodft,nodlt
63 IF(ims(n,m)/=0)THEN
64 ims(n,m) = 0
65 fill(n,m)= fill(n,m)+dfill(n,m)
66 fill(n,m)= min(one,fill(n,m))
67 fill(n,m)= max(-one,fill(n,m))
68 ENDIF
69 ENDDO !next N
70 ENDDO !next M
71
72 RETURN
#define my_real
Definition cppsort.cpp:32
#define min(a, b)
Definition macros.h:20
#define max(a, b)
Definition macros.h:21