FrontISTR  5.7.0
Large-scale structural analysis program with finit element method
hecmw_reorder.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include "hecmw_struct.h"
#include "hecmw_util.h"
#include "hecmw_common_define.h"
#include "hecmw_etype.h"
#include "hecmw_reorder.h"
Include dependency graph for hecmw_reorder.c:

Go to the source code of this file.

Data Structures

struct  equation_block
 

Macros

#define MASK_BIT(map, bit)   ((map) |= (bit))
 
#define EVAL_BIT(map, bit)   ((map) & (bit))
 
#define INV_BIT(map, bit)   ((map) ^= (bit))
 
#define CLEAR_BIT(map, bit)
 
#define BIT_DOF_TWO   1
 
#define BIT_DOF_THREE   2
 
#define BIT_DOF_SIX   4
 
#define BIT_DOF_FOUR   8
 
#define BIT_DOF_ALL   (BIT_DOF_TWO | BIT_DOF_THREE | BIT_DOF_SIX | BIT_DOF_FOUR)
 
#define HECMW_COMMON_EQUATION_BLOCK_NAME   "EQUATION_BLOCK"
 
#define MY_RANK   1
 
#define NEIGHBOR_RANK   2
 
#define BOTH_RANK   3
 
#define MPC_BLOCK   4
 
#define CANDIDATE   8
 
#define ALL_BIT   255
 
#define dw_node_flag(ptr, nmemb)   ((void)0)
 

Functions

int HECMW_reorder_elem_type (struct hecmwST_local_mesh *local_mesh)
 
int HECMW_reorder_node_dof (struct hecmwST_local_mesh *local_mesh)
 
int HECMW_reorder_node_mpc (struct hecmwST_local_mesh *local_mesh)
 
int HECMW_reorder (struct hecmwST_local_mesh *local_mesh)
 

Macro Definition Documentation

◆ ALL_BIT

#define ALL_BIT   255

Definition at line 33 of file hecmw_reorder.c.

◆ BIT_DOF_ALL

#define BIT_DOF_ALL   (BIT_DOF_TWO | BIT_DOF_THREE | BIT_DOF_SIX | BIT_DOF_FOUR)

Definition at line 25 of file hecmw_reorder.c.

◆ BIT_DOF_FOUR

#define BIT_DOF_FOUR   8

Definition at line 24 of file hecmw_reorder.c.

◆ BIT_DOF_SIX

#define BIT_DOF_SIX   4

Definition at line 23 of file hecmw_reorder.c.

◆ BIT_DOF_THREE

#define BIT_DOF_THREE   2

Definition at line 22 of file hecmw_reorder.c.

◆ BIT_DOF_TWO

#define BIT_DOF_TWO   1

Definition at line 21 of file hecmw_reorder.c.

◆ BOTH_RANK

#define BOTH_RANK   3

Definition at line 30 of file hecmw_reorder.c.

◆ CANDIDATE

#define CANDIDATE   8

Definition at line 32 of file hecmw_reorder.c.

◆ CLEAR_BIT

#define CLEAR_BIT (   map,
  bit 
)
Value:
((map) |= (bit)); \
((map) ^= (bit))

Definition at line 17 of file hecmw_reorder.c.

◆ dw_node_flag

#define dw_node_flag (   ptr,
  nmemb 
)    ((void)0)

Definition at line 38 of file hecmw_reorder.c.

◆ EVAL_BIT

#define EVAL_BIT (   map,
  bit 
)    ((map) & (bit))

Definition at line 15 of file hecmw_reorder.c.

◆ HECMW_COMMON_EQUATION_BLOCK_NAME

#define HECMW_COMMON_EQUATION_BLOCK_NAME   "EQUATION_BLOCK"

Definition at line 27 of file hecmw_reorder.c.

◆ INV_BIT

#define INV_BIT (   map,
  bit 
)    ((map) ^= (bit))

Definition at line 16 of file hecmw_reorder.c.

◆ MASK_BIT

#define MASK_BIT (   map,
  bit 
)    ((map) |= (bit))

Definition at line 14 of file hecmw_reorder.c.

◆ MPC_BLOCK

#define MPC_BLOCK   4

Definition at line 31 of file hecmw_reorder.c.

◆ MY_RANK

#define MY_RANK   1

Definition at line 28 of file hecmw_reorder.c.

◆ NEIGHBOR_RANK

#define NEIGHBOR_RANK   2

Definition at line 29 of file hecmw_reorder.c.

Function Documentation

◆ HECMW_reorder()

int HECMW_reorder ( struct hecmwST_local_mesh local_mesh)

Definition at line 1771 of file hecmw_reorder.c.

Here is the call graph for this function:

◆ HECMW_reorder_elem_type()

int HECMW_reorder_elem_type ( struct hecmwST_local_mesh local_mesh)

Definition at line 748 of file hecmw_reorder.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ HECMW_reorder_node_dof()

int HECMW_reorder_node_dof ( struct hecmwST_local_mesh local_mesh)

Definition at line 1311 of file hecmw_reorder.c.

Here is the caller graph for this function:

◆ HECMW_reorder_node_mpc()

int HECMW_reorder_node_mpc ( struct hecmwST_local_mesh local_mesh)

Definition at line 1659 of file hecmw_reorder.c.