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

Go to the source code of this file.

Functions/Subroutines

subroutine w_fac (fac, cep, proc, nconld_l, len_am)

Function/Subroutine Documentation

◆ w_fac()

subroutine w_fac ( fac,
integer, dimension(*) cep,
integer proc,
integer nconld_l,
integer len_am )

Definition at line 30 of file w_fac.F.

31C-----------------------------------------------
32C I m p l i c i t T y p e s
33C-----------------------------------------------
34#include "implicit_f.inc"
35C-----------------------------------------------
36C C o m m o n B l o c k s
37C-----------------------------------------------
38#include "param_c.inc"
39#include "com04_c.inc"
40C-----------------------------------------------
41C D u m m y A r g u m e n t s
42C-----------------------------------------------
43 INTEGER LEN_AM, PROC, NCONLD_L, CEP(*)
45 . fac(lfaccld,*)
46C-----------------------------------------------
47C L o c a l V a r i a b l e s
48C-----------------------------------------------
49 INTEGER I, J, OFF, NB_L
51 . factmp(lfaccld,nconld_l)
52C
53 off = numelc+numeltg+numels+numelq+numelt+numelp+numelr
54 + + numelx
55 nb_l = 0
56C
57 DO i = 1, nconld
58 IF(cep(i+off)==proc) THEN
59 nb_l = nb_l + 1
60 DO j = 1, lfaccld
61 factmp(j,nb_l) = fac(j,i)
62 END DO
63 END IF
64 END DO
65 CALL write_db(factmp,nconld_l*lfaccld)
66 len_am = len_am + nconld_l*lfaccld
67C
68 RETURN
#define my_real
Definition cppsort.cpp:32
subroutine write_db(a, n)
Definition write_db.F:140