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

Go to the source code of this file.

Functions/Subroutines

subroutine set_dd_mat_weight (mat_weight1pt, mat_weight5pt, elem_type)
subroutine init_mat_weight (nummat)

Function/Subroutine Documentation

◆ init_mat_weight()

subroutine init_mat_weight ( integer nummat)

Definition at line 64 of file set_dd_mat_weight.F.

65C-----------------------------------------------
67C-----------------------------------------------
68#include "implicit_f.inc"
69C-----------------------------------------------
70C D u m m y A r g u m e n t s
71C-----------------------------------------------
72 INTEGER NUMMAT
73C-----------------------------------------------
74C L o c a l V a r i a b l e s
75C-----------------------------------------------
76 ALLOCATE (ddweights(1:2,1:2,1:nummat+1))
77 ddweights(1:2,1:2,1:nummat+1)=zero

◆ set_dd_mat_weight()

subroutine set_dd_mat_weight ( mat_weight1pt,
mat_weight5pt,
integer elem_type )

Definition at line 28 of file set_dd_mat_weight.F.

29C-----------------------------------------------
31C-----------------------------------------------
32#include "implicit_f.inc"
33C-----------------------------------------------
34C A n a l y s e M o d u l e
35C-----------------------------------------------
36#include "userlib.inc"
37C-----------------------------------------------
38C D u m m y A r g u m e n t s
39C-----------------------------------------------
40 my_real mat_weight1pt,mat_weight5pt
41 INTEGER ELEM_TYPE
42C-----------------------------------------------
43C L o c a l V a r i a b l e s
44C-----------------------------------------------
45C
46C print*,'MAT_NUMBER', MAT_NUMBER ,'WEIGHT:',MAT_WEIGHT1PT,MAT_WEIGHT5PT
47C
48
49 ddweights(1,elem_type,mat_number)=mat_weight1pt
50 ddweights(2,elem_type,mat_number)=mat_weight5pt
51
52! DDWEIGHTS(1,2,MAT_NUMBER)=0.9
53! DDWEIGHTS(2,2,MAT_NUMBER)=3.7
#define my_real
Definition cppsort.cpp:32