44#include <sys/resource.h>
55#include "h3dpublic_defs.h"
56#include "h3dpublic_export.h"
60#include "h3d_values.h"
80 my_real *
FUNC ,
int *ID_ELEM,
int *CPT_DATATYPE,
int *ITY_ELEM,
int *IS_WRITTEN)
91 unsigned int max_sims = 10;
92 unsigned int sub_count = 1;
93 float elem_result[1] = { 0.0f};
96 unsigned int num_corners = 0;
97 unsigned int num_modes = 0;
103 char TRUSSPOOL[] =
"TRUSS";
107 char BEAMPOOL[] =
"BEAM";
111 char SPRINGPOOL[] =
"SPRING";
122 H3D_DS_SCALAR, num_corners, num_modes, *CPT_DATATYPE,
126 for( i = 0; i < *NUMELT + *NUMELP + *NUMELR; i++ )
128 if( ITY_ELEM[i] == 4 && IS_WRITTEN[i] == 1)
130 elem_id = ID_ELEM[i];
131 elem_result[0] =
FUNC[9*i];
148 H3D_DS_SCALAR, num_corners, num_modes, *CPT_DATATYPE,
152 for( i = 0; i < *NUMELT + *NUMELP + *NUMELR; i++ )
154 if( ITY_ELEM[i] == 5 && IS_WRITTEN[i] == 1)
156 elem_id = ID_ELEM[i];
157 elem_result[0] =
FUNC[9*i];
174 H3D_DS_SCALAR, num_corners, num_modes, *CPT_DATATYPE,
178 for( i = 0; i < *NUMELT + *NUMELP + *NUMELR; i++ )
180 if( ITY_ELEM[i] == 6 && IS_WRITTEN[i] == 1)
182 elem_id = ID_ELEM[i];
183 elem_result[0] =
FUNC[9*i];
201 my_real *
FUNC ,
int *ID_ELEM,
int *CPT_DATATYPE,
int *ITY_ELEM,
int *IS_WRITTEN)
202{
c_h3d_update_oned_torsor_ (TT,IH3D,ITAB,NUMELT,NUMELP,NUMELR,
FUNC,ID_ELEM,CPT_DATATYPE,ITY_ELEM,IS_WRITTEN);}
205 my_real *
FUNC ,
int *ID_ELEM,
int *CPT_DATATYPE,
int *ITY_ELEM,
int *IS_WRITTEN)
206{
c_h3d_update_oned_torsor_ (TT,IH3D,ITAB,NUMELT,NUMELP,NUMELR,
FUNC,ID_ELEM,CPT_DATATYPE,ITY_ELEM,IS_WRITTEN);}
209 my_real *
FUNC ,
int *ID_ELEM,
int *CPT_DATATYPE,
int *ITY_ELEM,
int *IS_WRITTEN)
210{
c_h3d_update_oned_torsor_ (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_torsor__(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_torsor_(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_torsor(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_TORSOR(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)