OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
analyse_part.h File Reference

Go to the source code of this file.

Functions

void analyse_part_scan (int *itab)
void analyse_part_set (int nod_id, int type)

Function Documentation

◆ analyse_part_scan()

void analyse_part_scan ( int * itab)

Definition at line 50 of file analyse_part.c.

51{
52 int i;
53 int nbthick;
54 int thick_shell_part = 0;
55
56 for(i=0; i<NB_PART; i++)
57 {
58 /* Shell */
59 nbthick = (TAB_PART[i] >> 0) & 0x1;
60
61 if (nbthick == 1)
62 {
63 analyse_stack_int(*(tab_id + i*50 + (4-1)));
64 analyse_call_error(AN_INFO, 461, ANINFO_BLIND_2);
65
66 thick_shell_part++;
67 }
68 }
69
70 analyse_stack_int(thick_shell_part);
72}
void analyse_stack_int(int i)
Definition analyse.c:334
void analyse_call_check(int id)
Definition analyse.c:802
void analyse_call_error(int type, int id, int mode)
Definition analyse.c:580
static int * TAB_PART
static int NB_PART

◆ analyse_part_set()

void analyse_part_set ( int nod_id,
int type )

Definition at line 96 of file analyse_part.c.

97{
98 /*
99 WARNING : START OF TAB IN FORTRAN AND C IS SHIFTED BY 1 :
100 part_id = 1, is the first elt in model, this means tab_part[0]
101 */
102 part_id = part_id - 1;
103
104 switch(type)
105 {
106 case CHECK_THICK_SHELL:
107 TAB_PART[part_id] = TAB_PART[part_id] | 0x1;
108 break;
109 }
110}