C++ Bindings

namespace CPL

Functions

void init(int calling_realm, int &returned_realm_comm)
void setup_cfd(int nsteps, double dt, int icomm_grid, double xyzL[], double xyz_orig[], int ncxyz[], double density)
void setup_md(int &nsteps, int &initialstep, double dt, int icomm_grid, double xyzL[], double xyz_orig[], double density)
bool send(double *asend, int *asend_shape, int *limits)
bool recv(double *arecv, int *arecv_shape, int *limits)
void scatter(double *scatterarray, int *scatter_shape, int *limits, double *recvarray, int *recv_shape)
void gather(double *gatherarray, int *gather_shape, int *limits, double *recvarray, int *recv_shape)
void proc_extents(int coord[], int realm, int extents[])
void my_proc_extents(int extents[])
void proc_portion(int coord[], int realm, int limits[], int portion[])
void my_proc_portion(int limits[], int portion[])
void map_cell2coord(int i, int j, int k, double coord_xyz[])
bool map_coord2cell(double x, double y, double z, int cell_ijk[])
void get_no_cells(int limits[], int no_cells[])
bool map_glob2loc_cell(int limits[], int glob_cell[], int loc_cell[])
void get_olap_limits(int limits[])
void get_cnst_limits(int limits[])
bool map_cfd2md_coord(double cfd_coord[], double md_coord[])
bool map_md2cfd_coord(double md_coord[], double cfd_coord[])
bool overlap()
void set_output_mode(int mode)
template <class T>
T get(std::string name)
double density_cfd()

Variables

const int cfd_realm
const int md_realm