Lines Matching refs:dims
48 std::vector<int> dims(topology.size()); in cartesian_communicator() local
52 dims[i] = topology[i].size; in cartesian_communicator()
56 if (std::count(dims.begin(), dims.end(), 0) > 0) { in cartesian_communicator()
57 cartesian_dimensions(comm, dims); in cartesian_communicator()
61 ((MPI_Comm)comm, dims.size(), in cartesian_communicator()
62 detail::c_data(dims), detail::c_data(periodic), in cartesian_communicator()
148 cartesian_topology::split(std::vector<int>& dims, std::vector<bool>& periodics) const { in split() argument
150 dims.resize(ndims); in split()
154 dims[i] = d.size; in split()
160 cartesian_dimensions(int sz, std::vector<int>& dims) { in cartesian_dimensions() argument
162 int const dimsz = dims.size(); in cartesian_dimensions()
164 if (dims[i] > 0) { in cartesian_dimensions()
165 min *= dims[i]; in cartesian_dimensions()
171 (sz-leftover, dims.size(), detail::c_data(dims))); in cartesian_dimensions()
172 return dims; in cartesian_dimensions()