Neko 0.9.99
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
parmetis_wrapper.c
Go to the documentation of this file.
1/*
2
3 Fortran wrappers for ParMETIS (from CUBE)
4
5 Removing the issue of figuring out the data type of the MPI
6 communicator from within Fortran
7
8*/
9
10#include <mpi.h>
11#include <parmetis.h>
12
13#include <comm/comm.h>
14
15
20 real_t *xyz, idx_t *part)
21{
22 int rcode;
23
25
26#ifdef HAVE_PARMETIS
27
29
30#endif
31
32 return rcode;
33
34}
35
MPI_Comm NEKO_COMM
__global__ void dirichlet_apply_scalar_kernel(const int *__restrict__ msk, T *__restrict__ x, const T g, const int m)
int ParMETIS_V3_PartGeom_wrapper(idx_t *vtxdist, idx_t *ndims, real_t *xyz, idx_t *part)
int ParMETIS_V3_PartMeshKway_wrapper(idx_t *elmdist, idx_t *eptr, idx_t *eind, idx_t *elmwgt, idx_t *wgtflag, idx_t *numflag, idx_t *ncon, idx_t *ncommonnodes, idx_t *nparts, real_t *tpwgts, real_t *ubvec, idx_t *options, idx_t *edgecut, idx_t *part)