44#include <sys/resource.h>
56#include "h3dpublic_defs.h"
57#include "h3dpublic_export.h"
61#include "h3d_values.h"
82 my_real *
FUNC ,
int *ID_ELEM,
int *CPT_DATATYPE,
int *ITY_ELEM,
int *IS_WRITTEN)
93 unsigned int max_sims = 10;
94 unsigned int sub_count = 1;
95 float elem_result[] = { 0.0f, 0.0f, 0.0f };
98 unsigned int num_corners = 0;
99 unsigned int num_modes = 0;
105 char TRUSSPOOL[] =
"TRUSS";
109 char BEAMPOOL[] =
"BEAM";
113 char SPRINGPOOL[] =
"SPRING";
123 H3D_DS_VECTOR, num_corners, num_modes, *CPT_DATATYPE,
129 for( i = 0; i < *NUMELT + *NUMELP + *NUMELR; i++ )
131 if( ITY_ELEM[i] == 4 && IS_WRITTEN[i] == 1)
133 elem_id = ID_ELEM[i];
134 elem_result[0] =
FUNC[3*i];
135 elem_result[1] =
FUNC[3*i+1];
136 elem_result[2] =
FUNC[3*i+2];
149 H3D_DS_VECTOR, num_corners, num_modes, *CPT_DATATYPE,
153 for( i = 0; i < *NUMELT + *NUMELP + *NUMELR; i++ )
155 if( ITY_ELEM[i] == 5 && IS_WRITTEN[i] == 1)
157 elem_id = ID_ELEM[i];
158 elem_result[0] =
FUNC[3*i];
159 elem_result[1] =
FUNC[3*i+1];
160 elem_result[2] =
FUNC[3*i+2];
172 H3D_DS_VECTOR, num_corners, num_modes, *CPT_DATATYPE,
176 for( i = 0; i < *NUMELT + *NUMELP + *NUMELR; i++ )
178 if( ITY_ELEM[i] == 6 && IS_WRITTEN[i] == 1)
180 elem_id = ID_ELEM[i];
181 elem_result[0] =
FUNC[3*i];
182 elem_result[1] =
FUNC[3*i+1];
183 elem_result[2] =
FUNC[3*i+2];
199 my_real *
FUNC ,
int *ID_ELEM,
int *CPT_DATATYPE,
int *ITY_ELEM,
int *IS_WRITTEN)
200{
c_h3d_update_oned_vector_ (TT,IH3D,ITAB,NUMELT,NUMELP,NUMELR,
FUNC,ID_ELEM,CPT_DATATYPE,ITY_ELEM,IS_WRITTEN);}
203 my_real *
FUNC ,
int *ID_ELEM,
int *CPT_DATATYPE,
int *ITY_ELEM,
int *IS_WRITTEN)
204{
c_h3d_update_oned_vector_ (TT,IH3D,ITAB,NUMELT,NUMELP,NUMELR,
FUNC,ID_ELEM,CPT_DATATYPE,ITY_ELEM,IS_WRITTEN);}
207 my_real *
FUNC ,
int *ID_ELEM,
int *CPT_DATATYPE,
int *ITY_ELEM,
int *IS_WRITTEN)
208{
c_h3d_update_oned_vector_ (TT,IH3D,ITAB,NUMELT,NUMELP,NUMELR,
FUNC,ID_ELEM,CPT_DATATYPE,ITY_ELEM,IS_WRITTEN);}
H3D_ID spring_poolname_id
void c_h3d_update_oned_vector_(my_real *TT, int *IH3D, int *ITAB, int *NUMELT, int *NUMELP, int *NUMELR, my_real *FUNC, int *ID_ELEM, int *CPT_DATATYPE, int *ITY_ELEM, int *IS_WRITTEN)
void _FCALL C_H3D_UPDATE_ONED_VECTOR(my_real *TT, int *IH3D, int *ITAB, int *NUMELT, int *NUMELP, int *NUMELR, my_real *FUNC, int *ID_ELEM, int *CPT_DATATYPE, int *ITY_ELEM, int *IS_WRITTEN)
void c_h3d_update_oned_vector(my_real *TT, int *IH3D, int *ITAB, int *NUMELT, int *NUMELP, int *NUMELR, my_real *FUNC, int *ID_ELEM, int *CPT_DATATYPE, int *ITY_ELEM, int *IS_WRITTEN)
void c_h3d_update_oned_vector__(my_real *TT, int *IH3D, int *ITAB, int *NUMELT, int *NUMELP, int *NUMELR, my_real *FUNC, int *ID_ELEM, int *CPT_DATATYPE, int *ITY_ELEM, int *IS_WRITTEN)
bool Hyper3DAddString(H3DFileInfo *h3d_file, const char *const string, H3D_ID *const str_id)
bool Hyper3DDatasetBegin(H3DFileInfo *h3d_file, unsigned int count, H3D_SIM_IDX idx, H3D_ID subcase_id, H3D_DS_TYPE type, H3D_DS_FORMAT format, unsigned int num_corners, unsigned int num_modes, H3D_ID dt_id, int layer_idx, H3D_ID data_poolname_id, bool complex)
bool Hyper3DExportClearError(H3DFileInfo *h3d_file)
bool Hyper3DDatasetEnd(H3DFileInfo *h3d_file)
bool Hyper3DDatasetWrite(H3DFileInfo *h3d_file, H3D_ID id, const float *data)