|
Yet Another eXchange Tool
DO_NOT_EDIT_HERE
|
#include <assert.h>#include <limits.h>#include <stdbool.h>#include <stdlib.h>#include <stdio.h>#include <string.h>#include "xt/xt_core.h"#include "xt/xt_idxlist.h"#include "xt_idxlist_internal.h"#include "xt/xt_idxempty.h"#include "xt/xt_idxvec.h"#include "xt_idxvec_internal.h"#include "xt/xt_idxstripes.h"#include "xt/xt_mpi.h"#include "xt_idxlist_unpack.h"#include "core/ppm_xfuncs.h"#include "core/core.h"#include "xt_stripe_util.h"#include "xt/quicksort.h"#include "instr.h"Go to the source code of this file.
Data Structures | |
| struct | Xt_idxvec_ |
Macros | |
| #define | MIN(a, b) (((a)<(b))?(a):(b)) |
| #define | MAX(a, b) ((a) >= (b) ? (a) : (b)) |
Typedefs | |
| typedef struct Xt_idxvec_ * | Xt_idxvec |
Functions | |
| static void | idxvec_delete (Xt_idxlist data) |
| static size_t | idxvec_get_pack_size (Xt_idxlist data, MPI_Comm comm) |
| static void | idxvec_pack (Xt_idxlist data, void *buffer, int buffer_size, int *position, MPI_Comm comm) |
| static Xt_idxlist | idxvec_copy (Xt_idxlist idxlist) |
| static void | idxvec_get_indices (Xt_idxlist idxlist, Xt_int *indices) |
| static Xt_int const * | idxvec_get_indices_const (Xt_idxlist idxlist) |
| static void | idxvec_get_index_stripes (Xt_idxlist idxlist, struct Xt_stripe **stripes, int *num_stripes) |
| static int | idxvec_get_index_at_position (Xt_idxlist idxlist, int position, Xt_int *index) |
| static int | idxvec_get_indices_at_positions (Xt_idxlist idxlist, const int *positions, int num, Xt_int *index, Xt_int undef_idx) |
| static int | idxvec_get_position_of_index (Xt_idxlist idxlist, Xt_int index, int *position) |
| static int | idxvec_get_position_of_index_off (Xt_idxlist idxlist, Xt_int index, int *position, int offset) |
| static int | idxvec_get_positions_of_indices (Xt_idxlist idxlist, const Xt_int *indices, int num_indices, int *positions, int single_match_only) |
| static Xt_int | idxvec_get_min_index (Xt_idxlist idxlist) |
| static Xt_int | idxvec_get_max_index (Xt_idxlist idxlist) |
| Xt_idxlist | xt_idxvec_new (const Xt_int *idxvec, int num_indices) |
| Xt_idxlist | xt_idxvec_prealloc_new (const Xt_int *idxvec, int num_indices) |
| static int | decode_stripe (struct Xt_stripe stripe, Xt_int *sorted_vector, int *sorted_vec_pos, int pos_offset) |
| static void | generate_sorted_vector_from_stripes (const struct Xt_stripe stripes[], int num_stripes_, Xt_idxvec idxvec) |
| Xt_idxlist | xt_idxvec_from_stripes_new (const struct Xt_stripe stripes[], int num_stripes) |
| Xt_idxlist | xt_idxvec_unpack (void *buffer, int buffer_size, int *position, MPI_Comm comm) |
| static const Xt_int * | get_sorted_vector (Xt_idxvec idxvec) |
| Xt_idxlist | xt_idxvec_get_intersection (Xt_idxlist idxlist_src, Xt_idxlist idxlist_dst) |
| static int | idxvec_get_indices_at_positions (Xt_idxlist idxlist, const int *restrict positions, int num_pos_, Xt_int *index, Xt_int undef_idx) |
| static bool | idx_vec_is_sorted (Xt_int const *idx, size_t n) |
Variables | |
| static const struct xt_idxlist_vtable | idxvec_vtable |
Definition in file xt_idxvec.c.
| #define MAX | ( | a, | |
| b | |||
| ) | ((a) >= (b) ? (a) : (b)) |
Definition at line 225 of file xt_idxvec.c.
| #define MIN | ( | a, | |
| b | |||
| ) | (((a)<(b))?(a):(b)) |
Definition at line 72 of file xt_idxvec.c.
| typedef struct Xt_idxvec_* Xt_idxvec |
Definition at line 142 of file xt_idxvec.c.
|
static |
Definition at line 228 of file xt_idxvec.c.
Definition at line 450 of file xt_idxvec.c.
|
static |
|
static |
|
static |
Definition at line 380 of file xt_idxvec.c.
|
static |
Definition at line 581 of file xt_idxvec.c.
|
static |
|
static |
Definition at line 553 of file xt_idxvec.c.
|
static |
|
static |
Definition at line 594 of file xt_idxvec.c.
|
static |
Definition at line 562 of file xt_idxvec.c.
|
static |
|
static |
|
static |
Definition at line 389 of file xt_idxvec.c.
|
static |
|
static |
Definition at line 622 of file xt_idxvec.c.
|
static |
Definition at line 688 of file xt_idxvec.c.
|
static |
Definition at line 401 of file xt_idxvec.c.
| Xt_idxlist xt_idxvec_from_stripes_new | ( | const struct Xt_stripe | stripes[], |
| int | num_stripes | ||
| ) |
| Xt_idxlist xt_idxvec_get_intersection | ( | Xt_idxlist | idxlist_src, |
| Xt_idxlist | idxlist_dst | ||
| ) |
Definition at line 487 of file xt_idxvec.c.
| Xt_idxlist xt_idxvec_new | ( | const Xt_int * | idxlist, |
| int | num_indices | ||
| ) |
generates a new index list based on an index vector
| [in] | idxlist | array containing the global indices |
| [in] | num_indices | number of indices in idxlist |
Definition at line 163 of file xt_idxvec.c.
| Xt_idxlist xt_idxvec_prealloc_new | ( | const Xt_int * | idxvec, |
| int | num_indices | ||
| ) |
Definition at line 189 of file xt_idxvec.c.
| Xt_idxlist xt_idxvec_unpack | ( | void * | buffer, |
| int | buffer_size, | ||
| int * | position, | ||
| MPI_Comm | comm | ||
| ) |
|
static |
Definition at line 122 of file xt_idxvec.c.
1.8.13