| /petsc/src/mat/tests/ |
| H A D | ex152.c | 30 idx_t wgtflag = 0, numflag = 0, ncon = 1, ndims = 3, edgecut = 0; in main() local 82 PetscCall(PetscMalloc3(ni * ndims, &xyz, ni, &part, size, &tpwgts)); in main() 83 PetscCall(PetscMalloc1(ni * ndims, &sxyz)); in main() 85 red = fread(xyz, sizeof(PetscReal), ndims * ni, fp); in main() 86 …PetscCheck(red == (size_t)(ndims * ni), PETSC_COMM_SELF, PETSC_ERR_SYS, "Unable to read from data … in main() 87 for (PetscInt i = 0; i < ni * ndims; i++) sxyz[i] = (real_t)xyz[i]; in main() 104 …S_V3_PartGeomKway(vtxdist, xadj, adjncy, vwgt, NULL, &wgtflag, &numflag, &ndims, sxyz, &ncon, &isi… in main()
|
| /petsc/src/dm/partitioner/impls/chaco/ |
| H A D | partchaco.c | 37 …e *goal, int global_method, int local_method, int rqi_flag, int vmax, int ndims, double eigtol, lo… 64 int ndims = 1; /* number of eigenvectors (2^d sets) */ in PetscPartitionerPartition_Chaco() local 116 …ure, ndims_tot, mesh_dims, goal, global_method, local_method, rqi_flag, vmax, ndims, eigtol, seed); in PetscPartitionerPartition_Chaco()
|
| /petsc/src/mat/graphops/partition/impls/chaco/ |
| H A D | chaco.c | 11 …e *goal, int global_method, int local_method, int rqi_flag, int vmax, int ndims, double eigtol, lo… 62 int mesh_dims[3], global_method, local_method, rqi_flag, vmax, ndims; in MatPartitioningApply_Chaco() local 120 ndims = chaco->eignum; /* number of eigenvectors (2^d sets) */ in MatPartitioningApply_Chaco() 138 …ure, ndims_tot, mesh_dims, NULL, global_method, local_method, rqi_flag, vmax, ndims, eigtol, seed); in MatPartitioningApply_Chaco()
|
| /petsc/include/petsc/mpiuni/ |
| H A D | mpi.h | 545 …#define MPI_Cart_create(comm_old, ndims, dims, periods, reorder, comm_cart) … argument 546 …#define MPI_Dims_create(nnodes, ndims, dims) … argument 550 …#define MPI_Cartdim_get(comm, ndims) … argument 558 …#define MPI_Cart_map(comm, ndims, dims, periods, newrank) … argument 604 …#define MPI_Type_create_subarray(ndims, array_of_sizes, array_of_subsizes, array_of_starts, order,… argument 605 …(MPIUNI_ARG(ndims), MPIUNI_ARG(array_of_sizes), MPIUNI_ARG(array_of_subsizes), MPIUNI_ARG(array_of…
|