FrontISTR  5.9.0
Large-scale structural analysis program with finit element method
hecmw_varray_idx.h File Reference
#include <stddef.h>
Include dependency graph for hecmw_varray_idx.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  hecmw_varray_idx
 

Typedefs

typedef long long idx_t
 

Functions

int HECMW_varray_idx_init (struct hecmw_varray_idx *varray)
 
void HECMW_varray_idx_finalize (struct hecmw_varray_idx *varray)
 
size_t HECMW_varray_idx_nval (const struct hecmw_varray_idx *varray)
 
int HECMW_varray_idx_append (struct hecmw_varray_idx *varray, idx_t value)
 
idx_t HECMW_varray_idx_get (const struct hecmw_varray_idx *varray, size_t index)
 
int HECMW_varray_idx_cat (struct hecmw_varray_idx *varray, const struct hecmw_varray_idx *varray2)
 
void HECMW_varray_idx_sort (struct hecmw_varray_idx *varray)
 
int HECMW_varray_idx_search (struct hecmw_varray_idx *varray, idx_t value, size_t *index)
 
size_t HECMW_varray_idx_uniq (struct hecmw_varray_idx *varray)
 
int HECMW_varray_idx_resize (struct hecmw_varray_idx *varray, size_t len)
 
idx_tHECMW_varray_idx_get_v (struct hecmw_varray_idx *varray)
 
const idx_tHECMW_varray_idx_get_cv (const struct hecmw_varray_idx *varray)
 
int HECMW_varray_idx_copy (const struct hecmw_varray_idx *varray, struct hecmw_varray_idx *varray2)
 
int HECMW_varray_idx_rmdup (struct hecmw_varray_idx *varray)
 
int HECMW_varray_idx_assign (struct hecmw_varray_idx *varray, size_t begin, size_t end, idx_t val)
 
int HECMW_varray_idx_insert (struct hecmw_varray_idx *varray, size_t index, idx_t val)
 
int HECMW_varray_idx_delete (struct hecmw_varray_idx *varray, size_t index)
 

Typedef Documentation

◆ idx_t

typedef long long idx_t

Definition at line 18 of file hecmw_varray_idx.h.

Function Documentation

◆ HECMW_varray_idx_append()

int HECMW_varray_idx_append ( struct hecmw_varray_idx varray,
idx_t  value 
)

Definition at line 89 of file hecmw_varray_idx.c.

◆ HECMW_varray_idx_assign()

int HECMW_varray_idx_assign ( struct hecmw_varray_idx varray,
size_t  begin,
size_t  end,
idx_t  val 
)

Definition at line 252 of file hecmw_varray_idx.c.

Here is the caller graph for this function:

◆ HECMW_varray_idx_cat()

int HECMW_varray_idx_cat ( struct hecmw_varray_idx varray,
const struct hecmw_varray_idx varray2 
)

Definition at line 109 of file hecmw_varray_idx.c.

◆ HECMW_varray_idx_copy()

int HECMW_varray_idx_copy ( const struct hecmw_varray_idx varray,
struct hecmw_varray_idx varray2 
)

Definition at line 194 of file hecmw_varray_idx.c.

Here is the caller graph for this function:

◆ HECMW_varray_idx_delete()

int HECMW_varray_idx_delete ( struct hecmw_varray_idx varray,
size_t  index 
)

Definition at line 283 of file hecmw_varray_idx.c.

◆ HECMW_varray_idx_finalize()

void HECMW_varray_idx_finalize ( struct hecmw_varray_idx varray)

Definition at line 29 of file hecmw_varray_idx.c.

Here is the caller graph for this function:

◆ HECMW_varray_idx_get()

idx_t HECMW_varray_idx_get ( const struct hecmw_varray_idx varray,
size_t  index 
)

Definition at line 101 of file hecmw_varray_idx.c.

◆ HECMW_varray_idx_get_cv()

const idx_t* HECMW_varray_idx_get_cv ( const struct hecmw_varray_idx varray)

Definition at line 189 of file hecmw_varray_idx.c.

Here is the caller graph for this function:

◆ HECMW_varray_idx_get_v()

idx_t* HECMW_varray_idx_get_v ( struct hecmw_varray_idx varray)

Definition at line 184 of file hecmw_varray_idx.c.

◆ HECMW_varray_idx_init()

int HECMW_varray_idx_init ( struct hecmw_varray_idx varray)

Definition at line 18 of file hecmw_varray_idx.c.

Here is the caller graph for this function:

◆ HECMW_varray_idx_insert()

int HECMW_varray_idx_insert ( struct hecmw_varray_idx varray,
size_t  index,
idx_t  val 
)

Definition at line 266 of file hecmw_varray_idx.c.

◆ HECMW_varray_idx_nval()

size_t HECMW_varray_idx_nval ( const struct hecmw_varray_idx varray)

Definition at line 41 of file hecmw_varray_idx.c.

◆ HECMW_varray_idx_resize()

int HECMW_varray_idx_resize ( struct hecmw_varray_idx varray,
size_t  len 
)

Definition at line 174 of file hecmw_varray_idx.c.

Here is the caller graph for this function:

◆ HECMW_varray_idx_rmdup()

int HECMW_varray_idx_rmdup ( struct hecmw_varray_idx varray)

Definition at line 208 of file hecmw_varray_idx.c.

Here is the call graph for this function:

◆ HECMW_varray_idx_search()

int HECMW_varray_idx_search ( struct hecmw_varray_idx varray,
idx_t  value,
size_t *  index 
)

Definition at line 142 of file hecmw_varray_idx.c.

◆ HECMW_varray_idx_sort()

void HECMW_varray_idx_sort ( struct hecmw_varray_idx varray)

Definition at line 137 of file hecmw_varray_idx.c.

Here is the caller graph for this function:

◆ HECMW_varray_idx_uniq()

size_t HECMW_varray_idx_uniq ( struct hecmw_varray_idx varray)

Definition at line 151 of file hecmw_varray_idx.c.

Here is the caller graph for this function: