XGC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
f0_redistribute.cpp File Reference
#include "plasma.hpp"
#include "domain_decomposition.hpp"
#include "f0_redistribute.hpp"
Include dependency graph for f0_redistribute.cpp:

Functions

void partition_intersect (int left_min, int left_max, int right_min, int right_max, int nnode, int nranks, int *partition, int *index, int *count, int *counts, int *ierr)
 
int pair (int np, int p, int k)
 
void get_counts (const View< int *, CLayout, HostType > &old_partition, const DomainDecomposition< DeviceType > &pol_decomp, View< int *, CLayout, HostType > &send_index, View< int *, CLayout, HostType > &send_count, int &send_counts, View< int *, CLayout, HostType > &recv_index, View< int *, CLayout, HostType > &recv_count, int &recv_counts)
 
View< double **, CLayout,
HostType
transfer_data (const View< int *, CLayout, HostType > &old_partition, const DomainDecomposition< DeviceType > &pol_decomp, const VGridDistribution< HostType > &f0_f0g, const View< double *, CLayout, HostType > &f0_node_cost)
 
void f0_redistribute (Plasma &plasma, const DomainDecomposition< DeviceType > &pol_decomp, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, const VelocityGrid &vgrid, const View< int *, CLayout, HostType > &old_partition)
 

Function Documentation

void f0_redistribute ( Plasma plasma,
const DomainDecomposition< DeviceType > &  pol_decomp,
const Grid< DeviceType > &  grid,
const MagneticField< DeviceType > &  magnetic_field,
const VelocityGrid vgrid,
const View< int *, CLayout, HostType > &  old_partition 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void get_counts ( const View< int *, CLayout, HostType > &  old_partition,
const DomainDecomposition< DeviceType > &  pol_decomp,
View< int *, CLayout, HostType > &  send_index,
View< int *, CLayout, HostType > &  send_count,
int &  send_counts,
View< int *, CLayout, HostType > &  recv_index,
View< int *, CLayout, HostType > &  recv_count,
int &  recv_counts 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int pair ( int  np,
int  p,
int  k 
)

Here is the caller graph for this function:

void partition_intersect ( int  left_min,
int  left_max,
int  right_min,
int  right_max,
int  nnode,
int  nranks,
int *  partition,
int *  index,
int *  count,
int *  counts,
int *  ierr 
)

Here is the caller graph for this function:

View<double**,CLayout,HostType> transfer_data ( const View< int *, CLayout, HostType > &  old_partition,
const DomainDecomposition< DeviceType > &  pol_decomp,
const VGridDistribution< HostType > &  f0_f0g,
const View< double *, CLayout, HostType > &  f0_node_cost 
)

Here is the call graph for this function:

Here is the caller graph for this function: