FrontISTR  5.9.0
Large-scale structural analysis program with finit element method
hecmw_api_local_mesh.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2026 FrontISTR Commons
3  * This software is released under the MIT License, see LICENSE.txt
4  *****************************************************************************/
5 
6 #ifndef hecmw_local_mesh_apiH
7 #define hecmw_local_mesh_apiH
8 
10 void hecmw_api_mesh_delete(void* mesh);
11 
12 void hecmw_api_mesh_set_node(void* mesh,int nnode,const double* node);
13 int hecmw_api_mesh_n_node(const void* mesh);
14 const double* hecmw_api_mesh_get_node(const void* mesh);
15 
16 void hecmw_api_mesh_set_n_dof(void* mesh,int ndof);
17 int hecmw_api_mesh_get_n_dof(const void* mesh);
18 
19 void hecmw_api_mesh_set_element(void* mesh,int nelem,const int* elemtype,const int* element,const int* sectionID);
20 const int* hecmw_api_mesh_get_elem_type(const void* mesh);
21 const int* hecmw_api_mesh_get_elem_node_item(const void* mesh);
22 const int* hecmw_api_mesh_get_section_id(const void* mesh);
23 int hecmw_api_mesh_n_elem(const void* mesh);
24 int hecmw_api_mesh_n_elem_node_item(const void* mesh);
25 
26 int hecmw_api_mesh_n_ngrp(const void* mesh);
27 void hecmw_api_mesh_append_ngrp(void* mesh,const char* grp_name,int count,int* list);
28 void hecmw_api_mesh_get_ngrp_name(const void* mesh,int i,char* name,int len);
29 void hecmw_api_mesh_get_ngrp(const void* mesh,int i,int* array,int* count);
30 
31 int hecmw_api_mesh_n_sgrp(const void* mesh);
32 void hecmw_api_mesh_append_sgrp(void* mesh,const char* grp_name,int count,int* list);
33 void hecmw_api_mesh_get_sgrp_name(const void* mesh,int i,char* name,int len);
34 void hecmw_api_mesh_get_sgrp(const void* mesh,int i,int* array,int* count);
35 
36 int hecmw_api_mesh_n_egrp(const void* mesh);
37 void hecmw_api_mesh_append_egrp(void* mesh,const char* grp_name,int count,int* list);
38 void hecmw_api_mesh_get_egrp_name(const void* mesh,int i,char* name,int len);
39 void hecmw_api_mesh_get_egrp(const void* mesh,int i,int* array,int* count);
40 
41 #endif
void hecmw_api_mesh_get_ngrp(const void *mesh, int i, int *array, int *count)
void hecmw_api_mesh_get_sgrp(const void *mesh, int i, int *array, int *count)
void hecmw_api_mesh_get_egrp_name(const void *mesh, int i, char *name, int len)
void hecmw_api_mesh_append_sgrp(void *mesh, const char *grp_name, int count, int *list)
const int * hecmw_api_mesh_get_elem_type(const void *mesh)
const int * hecmw_api_mesh_get_elem_node_item(const void *mesh)
void hecmw_api_mesh_get_egrp(const void *mesh, int i, int *array, int *count)
void hecmw_api_mesh_append_egrp(void *mesh, const char *grp_name, int count, int *list)
int hecmw_api_mesh_n_ngrp(const void *mesh)
int hecmw_api_mesh_n_egrp(const void *mesh)
void hecmw_api_mesh_get_sgrp_name(const void *mesh, int i, char *name, int len)
int hecmw_api_mesh_n_elem_node_item(const void *mesh)
void hecmw_api_mesh_delete(void *mesh)
void hecmw_api_mesh_set_element(void *mesh, int nelem, const int *elemtype, const int *element, const int *sectionID)
const int * hecmw_api_mesh_get_section_id(const void *mesh)
const double * hecmw_api_mesh_get_node(const void *mesh)
int hecmw_api_mesh_get_n_dof(const void *mesh)
void * hecmw_api_mesh_new()
void hecmw_api_mesh_get_ngrp_name(const void *mesh, int i, char *name, int len)
int hecmw_api_mesh_n_node(const void *mesh)
void hecmw_api_mesh_set_n_dof(void *mesh, int ndof)
void hecmw_api_mesh_append_ngrp(void *mesh, const char *grp_name, int count, int *list)
int hecmw_api_mesh_n_elem(const void *mesh)
int hecmw_api_mesh_n_sgrp(const void *mesh)
void hecmw_api_mesh_set_node(void *mesh, int nnode, const double *node)