FrontISTR  5.7.0
Large-scale structural analysis program with finit element method
hecmw_mesh_hash_sort.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <errno.h>
#include <math.h>
#include "hecmw_msgno.h"
#include "hecmw_malloc.h"
#include "hecmw_error.h"
#include "hecmw_part_define.h"
#include "hecmw_mesh_hash_sort.h"
Include dependency graph for hecmw_mesh_hash_sort.c:

Go to the source code of this file.

Data Structures

struct  hecmw_mesh_hash_link
 
struct  hecmw_edge_node
 
struct  hecmw_tsuf_node
 
struct  hecmw_qsuf_node
 

Macros

#define EDGE_INC_FACTOR   (1.2)
 
#define TSUF_INC_FACTOR   (1.1)
 
#define QSUF_INC_FACTOR   (1.1)
 

Functions

int HECMW_mesh_hsort_edge_init (int n_node, int n_elem)
 
int HECMW_mesh_hsort_tsuf_init (int n_node, int n_elem)
 
int HECMW_mesh_hsort_qsuf_init (int n_node, int n_elem)
 
int HECMW_mesh_hsort_edge_realloc (void)
 
int HECMW_mesh_hsort_tsuf_realloc (void)
 
int HECMW_mesh_hsort_qsuf_realloc (void)
 
long long int HECMW_mesh_hsort_edge_get_n (void)
 
int HECMW_mesh_hsort_tsuf_get_n (void)
 
int HECMW_mesh_hsort_qsuf_get_n (void)
 
int * HECMW_mesh_hsort_edge_get_v (void)
 
int * HECMW_mesh_hsort_tsuf_get_v (void)
 
int * HECMW_mesh_hsort_qsuf_get_v (void)
 
void HECMW_mesh_hsort_edge_final (void)
 
void HECMW_mesh_hsort_tsuf_final (void)
 
void HECMW_mesh_hsort_qsuf_final (void)
 
long long int HECMW_mesh_hsort_edge (int node1, int node2)
 
int HECMW_mesh_hsort_tsuf (int node1, int node2, int node3)
 
int HECMW_mesh_hsort_qsuf (int node1, int node2, int node3, int node4)
 

Macro Definition Documentation

◆ EDGE_INC_FACTOR

#define EDGE_INC_FACTOR   (1.2)

Definition at line 20 of file hecmw_mesh_hash_sort.c.

◆ QSUF_INC_FACTOR

#define QSUF_INC_FACTOR   (1.1)

Definition at line 24 of file hecmw_mesh_hash_sort.c.

◆ TSUF_INC_FACTOR

#define TSUF_INC_FACTOR   (1.1)

Definition at line 22 of file hecmw_mesh_hash_sort.c.

Function Documentation

◆ HECMW_mesh_hsort_edge()

long long int HECMW_mesh_hsort_edge ( int  node1,
int  node2 
)

Definition at line 655 of file hecmw_mesh_hash_sort.c.

◆ HECMW_mesh_hsort_edge_final()

void HECMW_mesh_hsort_edge_final ( void  )

Definition at line 488 of file hecmw_mesh_hash_sort.c.

◆ HECMW_mesh_hsort_edge_get_n()

long long int HECMW_mesh_hsort_edge_get_n ( void  )

Definition at line 404 of file hecmw_mesh_hash_sort.c.

◆ HECMW_mesh_hsort_edge_get_v()

int* HECMW_mesh_hsort_edge_get_v ( void  )

Definition at line 412 of file hecmw_mesh_hash_sort.c.

◆ HECMW_mesh_hsort_edge_init()

int HECMW_mesh_hsort_edge_init ( int  n_node,
int  n_elem 
)

Definition at line 94 of file hecmw_mesh_hash_sort.c.

◆ HECMW_mesh_hsort_edge_realloc()

int HECMW_mesh_hsort_edge_realloc ( void  )

Definition at line 300 of file hecmw_mesh_hash_sort.c.

◆ HECMW_mesh_hsort_qsuf()

int HECMW_mesh_hsort_qsuf ( int  node1,
int  node2,
int  node3,
int  node4 
)

Definition at line 757 of file hecmw_mesh_hash_sort.c.

◆ HECMW_mesh_hsort_qsuf_final()

void HECMW_mesh_hsort_qsuf_final ( void  )

Definition at line 539 of file hecmw_mesh_hash_sort.c.

◆ HECMW_mesh_hsort_qsuf_get_n()

int HECMW_mesh_hsort_qsuf_get_n ( void  )

Definition at line 408 of file hecmw_mesh_hash_sort.c.

◆ HECMW_mesh_hsort_qsuf_get_v()

int* HECMW_mesh_hsort_qsuf_get_v ( void  )

Definition at line 461 of file hecmw_mesh_hash_sort.c.

◆ HECMW_mesh_hsort_qsuf_init()

int HECMW_mesh_hsort_qsuf_init ( int  n_node,
int  n_elem 
)

Definition at line 224 of file hecmw_mesh_hash_sort.c.

◆ HECMW_mesh_hsort_qsuf_realloc()

int HECMW_mesh_hsort_qsuf_realloc ( void  )

Definition at line 362 of file hecmw_mesh_hash_sort.c.

◆ HECMW_mesh_hsort_tsuf()

int HECMW_mesh_hsort_tsuf ( int  node1,
int  node2,
int  node3 
)

Definition at line 704 of file hecmw_mesh_hash_sort.c.

◆ HECMW_mesh_hsort_tsuf_final()

void HECMW_mesh_hsort_tsuf_final ( void  )

Definition at line 513 of file hecmw_mesh_hash_sort.c.

◆ HECMW_mesh_hsort_tsuf_get_n()

int HECMW_mesh_hsort_tsuf_get_n ( void  )

Definition at line 406 of file hecmw_mesh_hash_sort.c.

◆ HECMW_mesh_hsort_tsuf_get_v()

int* HECMW_mesh_hsort_tsuf_get_v ( void  )

Definition at line 436 of file hecmw_mesh_hash_sort.c.

◆ HECMW_mesh_hsort_tsuf_init()

int HECMW_mesh_hsort_tsuf_init ( int  n_node,
int  n_elem 
)

Definition at line 156 of file hecmw_mesh_hash_sort.c.

◆ HECMW_mesh_hsort_tsuf_realloc()

int HECMW_mesh_hsort_tsuf_realloc ( void  )

Definition at line 328 of file hecmw_mesh_hash_sort.c.