Yet Another eXchange Tool 0.11.3
Loading...
Searching...
No Matches
xt_xmap_intersection_common.h File Reference

Utility functions shared by xt_xmap_intersection and xt_xmap_intersection_ext. More...

#include "core/core.h"
#include "xt_stripe_util.h"
Include dependency graph for xt_xmap_intersection_common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  pos_run
 

Functions

static struct pos_run get_pos_run_len (size_t num_pos, const int *restrict pos)
 
static size_t count_pos_ext (size_t num_pos, const int *restrict pos)
 
static void generate_pos_ext (size_t num_pos, const int *restrict pos, size_t num_pos_ext, struct Xt_pos_ext *restrict pos_ext)
 
static size_t count_pos (size_t num_pos_ext, const struct Xt_pos_ext *restrict pos_ext)
 
static void generate_pos (size_t num_pos_ext, const struct Xt_pos_ext *restrict pos_ext, size_t num_pos, int *restrict pos)
 
static void print_miss_msg (Xt_idxlist dst_idxlist, int missing_pos, MPI_Comm comm, const char *source, int line) __attribute__((noreturn))
 

Detailed Description

Utility functions shared by xt_xmap_intersection and xt_xmap_intersection_ext.

Author
Jörg Behrens behre.nosp@m.ns@d.nosp@m.krz.d.nosp@m.e Moritz Hanke hanke.nosp@m.@dkr.nosp@m.z.de Thomas Jahns jahns.nosp@m.@dkr.nosp@m.z.de

Definition in file xt_xmap_intersection_common.h.

Function Documentation

◆ count_pos()

static size_t count_pos ( size_t num_pos_ext,
const struct Xt_pos_ext *restrict pos_ext )
inlinestatic

Definition at line 120 of file xt_xmap_intersection_common.h.

◆ count_pos_ext()

static size_t count_pos_ext ( size_t num_pos,
const int *restrict pos )
static

Definition at line 85 of file xt_xmap_intersection_common.h.

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

◆ generate_pos()

static void generate_pos ( size_t num_pos_ext,
const struct Xt_pos_ext *restrict pos_ext,
size_t num_pos,
int *restrict pos )
inlinestatic

Definition at line 128 of file xt_xmap_intersection_common.h.

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

◆ generate_pos_ext()

static void generate_pos_ext ( size_t num_pos,
const int *restrict pos,
size_t num_pos_ext,
struct Xt_pos_ext *restrict pos_ext )
inlinestatic

Definition at line 98 of file xt_xmap_intersection_common.h.

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

◆ get_pos_run_len()

static struct pos_run get_pos_run_len ( size_t num_pos,
const int *restrict pos )
inlinestatic

Definition at line 66 of file xt_xmap_intersection_common.h.

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

◆ print_miss_msg()

static void print_miss_msg ( Xt_idxlist dst_idxlist,
int missing_pos,
MPI_Comm comm,
const char * source,
int line )
inlinestatic

Definition at line 152 of file xt_xmap_intersection_common.h.

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