44#include <sys/resource.h>
56#include "h3dpublic_defs.h"
57#include "h3dpublic_export.h"
61#include "h3d_values.h"
91 unsigned int max_sims = 10;
92 unsigned int sub_count = 1;
93 float elem_result[] = { 0.0f, 0.0f, 0.0f };
96 unsigned int num_corners = 0;
97 unsigned int num_modes = 0;
99 unsigned int cpt1 = 0;
107 H3D_DS_EROSION, num_corners, num_modes, *CPT_DATATYPE,
109 if( !
rc ) fflush(stdout);
114 for( i = 0; i < *NUMSPH; i++ )
116 elem_id = ID_ELEM[i];
117 elem_result[0] = 0.0f;
120 elem_result[0] = 1.0f;
123 if( !
rc ) fflush(stdout);
157 int cname_len,cname_len1;
161 unsigned int elem_count = 1;
163 cname_len = *size + 1;
164 cname=(
char*) malloc(
sizeof(
char)*cname_len);
165 for(i=0;i<*size;i++) cname[i] = name[i];
168 cname_len1 = *size1 + 1;
169 cname1=(
char*) malloc(
sizeof(
char)*cname_len1);
170 for(i=0;i<*size1;i++) cname1[i] = name1[i];
173 char * LAYERPOOL =
new char [*size1+11];
174 sprintf(LAYERPOOL,
"%s %d" ,cname1,*info);
175 H3D_ID layer_pool_id = H3D_NULL_ID;
void c_h3d_eroded_sph(my_real *TT, int *IH3D, int *NUMSPH, my_real *FUNC, int *ID_ELEM, int *CPT_DATATYPE)
void _FCALL C_H3D_CREATE_SPH_ERODED(int *cpt_data, char *name, int *size, int *info, char *name1, int *size1)
void c_h3d_eroded_sph__(my_real *TT, int *IH3D, int *NUMSPH, my_real *FUNC, int *ID_ELEM, int *CPT_DATATYPE)
void c_h3d_create_sph_eroded_(int *cpt_data, char *name, int *size, int *info, char *name1, int *size1)
void c_h3d_eroded_sph_(my_real *TT, int *IH3D, int *NUMSPH, my_real *FUNC, int *ID_ELEM, int *CPT_DATATYPE)
void _FCALL C_H3D_ERODED_SPH(my_real *TT, int *IH3D, int *NUMSPH, my_real *FUNC, int *ID_ELEM, int *CPT_DATATYPE)
void c_h3d_create_sph_eroded__(int *cpt_data, char *name, int *size, int *info, char *name1, int *size1)
void c_h3d_create_sph_eroded(int *cpt_data, char *name, int *size, int *info, char *name1, int *size1)
H3D_ID sphcell_poolname_id
H3D_TENSOR_TYPE tensor_type
bool Hyper3DDatatypePools(H3DFileInfo *h3d_file, H3D_ID dt_id, H3D_ID poolname_id, unsigned int num_layers, H3D_ID *layername_ids, bool corners, H3D_TENSOR_TYPE tensor_type, float poisson)
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 Hyper3DDatatypeEnd(H3DFileInfo *h3d_file)
bool Hyper3DExportClearError(H3DFileInfo *h3d_file)
bool Hyper3DDatatypeDescriptionWrite(H3DFileInfo *h3d_file, H3D_ID dt_id, const char *description)
bool Hyper3DDatatypeWrite(H3DFileInfo *h3d_file, const char *label, H3D_ID dt_id, H3D_DS_FORMAT format, H3D_DS_TYPE type, unsigned int num_pools)
bool Hyper3DDatatypeBegin(H3DFileInfo *h3d_file, unsigned int count)
bool Hyper3DDatasetEnd(H3DFileInfo *h3d_file)
bool Hyper3DDatasetWrite(H3DFileInfo *h3d_file, H3D_ID id, const float *data)