#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
#include <fcntl.h>
#include <sys/resource.h>
#include <sys/types.h>
#include <time.h>
#include <sys/stat.h>
#include <unistd.h>
#include <dlfcn.h>
#include <stdbool.h>
#include "h3dpublic_defs.h"
#include "h3dpublic_export.h"
#include "h3d_values.h"
Go to the source code of this file.
|
| void | c_h3d_create_springs_ (int *ITAB, int *NUMNOD, int *IXR, int *NIXR, int *NUMELR, int *IPARTR, int *IPART, int *LIPART1, int *H3D_PART) |
| void _FCALL | C_H3D_CREATE_SPRINGS (int *ITAB, int *NUMNOD, int *IXR, int *NIXR, int *NUMELR, int *IPARTR, int *IPART, int *LIPART1, int *H3D_PART) |
| void | c_h3d_create_springs__ (int *ITAB, int *NUMNOD, int *IXR, int *NIXR, int *NUMELR, int *IPARTR, int *IPART, int *LIPART1, int *H3D_PART) |
| void | c_h3d_create_springs (int *ITAB, int *NUMNOD, int *IXR, int *NIXR, int *NUMELR, int *IPARTR, int *IPART, int *LIPART1, int *H3D_PART) |
◆ _FCALL [1/2]
◆ _FCALL [2/2]
◆ C_H3D_CREATE_SPRINGS()
| void _FCALL C_H3D_CREATE_SPRINGS |
( |
int * | ITAB, |
|
|
int * | NUMNOD, |
|
|
int * | IXR, |
|
|
int * | NIXR, |
|
|
int * | NUMELR, |
|
|
int * | IPARTR, |
|
|
int * | IPART, |
|
|
int * | LIPART1, |
|
|
int * | H3D_PART ) |
Definition at line 118 of file c_h3d_create_springs.cpp.
void c_h3d_create_springs_(int *ITAB, int *NUMNOD, int *IXR, int *NIXR, int *NUMELR, int *IPARTR, int *IPART, int *LIPART1, int *H3D_PART)
◆ c_h3d_create_springs()
| void c_h3d_create_springs |
( |
int * | ITAB, |
|
|
int * | NUMNOD, |
|
|
int * | IXR, |
|
|
int * | NIXR, |
|
|
int * | NUMELR, |
|
|
int * | IPARTR, |
|
|
int * | IPART, |
|
|
int * | LIPART1, |
|
|
int * | H3D_PART ) |
◆ c_h3d_create_springs_()
| void c_h3d_create_springs_ |
( |
int * | ITAB, |
|
|
int * | NUMNOD, |
|
|
int * | IXR, |
|
|
int * | NIXR, |
|
|
int * | NUMELR, |
|
|
int * | IPARTR, |
|
|
int * | IPART, |
|
|
int * | LIPART1, |
|
|
int * | H3D_PART ) |
Definition at line 71 of file c_h3d_create_springs.cpp.
72{
73 try {
74
75
76 unsigned int conn[2] ;
77 H3D_ID elem_id ;
78 int i;
79
80 char SPRINGPOOL[] = "SPRING";
83
84 unsigned int elem_count = 1;
85
86
87
88
89 for(i=0;i<*NUMELR;i++)
90 {
91 if(H3D_PART[IPARTR[i] - 1] == 1)
92 {
93 elem_id = IXR[*NIXR * i + *NIXR-1];
94 conn[0] = IXR[*NIXR * i + 1];
95 conn[1] = IXR[*NIXR * i + 2];
96 comp_id = IPART[*LIPART1 * (IPARTR[i] - 1) + 3];
97
99 H3D_ELEM_CONFIG_SPRING,
comp_id,
106 }
107 }
108
109
110 }
111
112 catch(...) {
114 }
115
116}
H3D_ID onedelem_poolname_id
H3D_ID spring_poolname_id
bool Hyper3DAddString(H3DFileInfo *h3d_file, const char *const string, H3D_ID *const str_id)
bool Hyper3DExportClearError(H3DFileInfo *h3d_file)
bool Hyper3DElementWrite(H3DFileInfo *h3d_file, H3D_ID id, H3D_ID *connectivity)
bool Hyper3DElementEnd(H3DFileInfo *h3d_file)
bool Hyper3DElementBegin(H3DFileInfo *h3d_file, unsigned int count, H3D_ID poolname_id, H3D_ElementConfig config, H3D_ID parent_id, H3D_ID parent_poolname_id, H3D_ID node_poolname_id)
◆ c_h3d_create_springs__()
| void c_h3d_create_springs__ |
( |
int * | ITAB, |
|
|
int * | NUMNOD, |
|
|
int * | IXR, |
|
|
int * | NIXR, |
|
|
int * | NUMELR, |
|
|
int * | IPARTR, |
|
|
int * | IPART, |
|
|
int * | LIPART1, |
|
|
int * | H3D_PART ) |