My Project
programmer's documentation
Typedefs | Functions
cs_block_to_part.h File Reference
#include <mpi.h>
#include "cs_defs.h"
#include "cs_block_dist.h"
Include dependency graph for cs_block_to_part.h:

Go to the source code of this file.

Typedefs

typedef struct _cs_block_to_part_t cs_block_to_part_t
 

Functions

cs_block_to_part_tcs_block_to_part_create_by_rank (MPI_Comm comm, cs_block_dist_info_t block, int ent_rank[])
 
cs_block_to_part_tcs_block_to_part_create_by_adj_s (MPI_Comm comm, cs_block_dist_info_t block, cs_block_dist_info_t adjacent_block, int stride, cs_gnum_t adjacency[], int adjacent_ent_rank[], int default_rank[])
 
cs_block_to_part_tcs_block_to_part_create_adj (MPI_Comm comm, cs_block_dist_info_t adj_bi, size_t adjacency_size, const cs_gnum_t adjacency[])
 
cs_block_to_part_tcs_block_to_part_create_by_gnum (MPI_Comm comm, cs_block_dist_info_t bi, cs_lnum_t n_ents, const cs_gnum_t global_ent_num[])
 
void cs_block_to_part_destroy (cs_block_to_part_t **d)
 
cs_lnum_t cs_block_to_part_get_n_part_ents (cs_block_to_part_t *d)
 
cs_gnum_tcs_block_to_part_transfer_gnum (cs_block_to_part_t *d)
 
void cs_block_to_part_copy_array (cs_block_to_part_t *d, cs_datatype_t datatype, int stride, const void *block_values, void *part_values)
 
void cs_block_to_part_copy_index (cs_block_to_part_t *d, const cs_lnum_t *block_index, cs_lnum_t *part_index)
 
void cs_block_to_part_copy_indexed (cs_block_to_part_t *d, cs_datatype_t datatype, const cs_lnum_t *block_index, const void *block_val, const cs_lnum_t *part_index, void *part_val)
 
void cs_block_to_part_global_to_local (cs_lnum_t n_ents, cs_lnum_t base, cs_lnum_t global_list_size, bool global_list_is_sorted, const cs_gnum_t global_list[], const cs_gnum_t global_number[], cs_lnum_t local_number[])
 

Typedef Documentation

◆ cs_block_to_part_t

typedef struct _cs_block_to_part_t cs_block_to_part_t

Function Documentation

◆ cs_block_to_part_copy_array()

void cs_block_to_part_copy_array ( cs_block_to_part_t d,
cs_datatype_t  datatype,
int  stride,
const void *  block_values,
void *  part_values 
)

◆ cs_block_to_part_copy_index()

void cs_block_to_part_copy_index ( cs_block_to_part_t d,
const cs_lnum_t block_index,
cs_lnum_t part_index 
)

◆ cs_block_to_part_copy_indexed()

void cs_block_to_part_copy_indexed ( cs_block_to_part_t d,
cs_datatype_t  datatype,
const cs_lnum_t block_index,
const void *  block_val,
const cs_lnum_t part_index,
void *  part_val 
)

◆ cs_block_to_part_create_adj()

cs_block_to_part_t* cs_block_to_part_create_adj ( MPI_Comm  comm,
cs_block_dist_info_t  adj_bi,
size_t  adjacency_size,
const cs_gnum_t  adjacency[] 
)

◆ cs_block_to_part_create_by_adj_s()

cs_block_to_part_t* cs_block_to_part_create_by_adj_s ( MPI_Comm  comm,
cs_block_dist_info_t  block,
cs_block_dist_info_t  adjacent_block,
int  stride,
cs_gnum_t  adjacency[],
int  adjacent_ent_rank[],
int  default_rank[] 
)

◆ cs_block_to_part_create_by_gnum()

cs_block_to_part_t* cs_block_to_part_create_by_gnum ( MPI_Comm  comm,
cs_block_dist_info_t  bi,
cs_lnum_t  n_ents,
const cs_gnum_t  global_ent_num[] 
)

◆ cs_block_to_part_create_by_rank()

cs_block_to_part_t* cs_block_to_part_create_by_rank ( MPI_Comm  comm,
cs_block_dist_info_t  block,
int  ent_rank[] 
)

◆ cs_block_to_part_destroy()

void cs_block_to_part_destroy ( cs_block_to_part_t **  d)

◆ cs_block_to_part_get_n_part_ents()

cs_lnum_t cs_block_to_part_get_n_part_ents ( cs_block_to_part_t d)

◆ cs_block_to_part_global_to_local()

void cs_block_to_part_global_to_local ( cs_lnum_t  n_ents,
cs_lnum_t  base,
cs_lnum_t  global_list_size,
bool  global_list_is_sorted,
const cs_gnum_t  global_list[],
const cs_gnum_t  global_number[],
cs_lnum_t  local_number[] 
)

◆ cs_block_to_part_transfer_gnum()

cs_gnum_t* cs_block_to_part_transfer_gnum ( cs_block_to_part_t d)