Skip to content
This repository was archived by the owner on Sep 30, 2022. It is now read-only.

Commit d21acb2

Browse files
committed
Merge pull request #431 from nrgraham23/javadoc_fixes
Javadoc fixes
2 parents ca74111 + 4b4d551 commit d21acb2

24 files changed

+427
-349
lines changed

ompi/mpi/java/java/CartComm.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ protected CartComm(long[] commRequest)
9090
* Duplicates this communicator.
9191
* <p>Java binding of {@code MPI_COMM_DUP}.
9292
* @return copy of this communicator
93-
* @throws MPIException
93+
* @throws MPIException Signals that an MPI exception of some sort has occurred.
9494
*/
9595
@Override public CartComm dup() throws MPIException
9696
{
@@ -104,7 +104,7 @@ protected CartComm(long[] commRequest)
104104
* <p>The new communicator can't be used before the operation completes.
105105
* The request object must be obtained calling {@link #getRequest}.
106106
* @return copy of this communicator
107-
* @throws MPIException
107+
* @throws MPIException Signals that an MPI exception of some sort has occurred.
108108
*/
109109
@Override public CartComm iDup() throws MPIException
110110
{
@@ -119,7 +119,7 @@ protected CartComm(long[] commRequest)
119119
* <p>The number of dimensions can be obtained from the size of (eg)
120120
* {@code dims} field of the returned object.
121121
* @return object containing dimensions, periods and local coordinates
122-
* @throws MPIException
122+
* @throws MPIException Signals that an MPI exception of some sort has occurred.
123123
*/
124124
public CartParms getTopo() throws MPIException
125125
{
@@ -134,7 +134,7 @@ public CartParms getTopo() throws MPIException
134134
* <p>Java binding of the MPI operation {@code MPI_CART_RANK}.
135135
* @param coords Cartesian coordinates of a process
136136
* @return rank of the specified process
137-
* @throws MPIException
137+
* @throws MPIException Signals that an MPI exception of some sort has occurred.
138138
*/
139139
public int getRank(int[] coords) throws MPIException
140140
{
@@ -149,7 +149,7 @@ public int getRank(int[] coords) throws MPIException
149149
* <p>Java binding of the MPI operation {@code MPI_CART_COORDS}.
150150
* @param rank rank of a process
151151
* @return Cartesian coordinates of the specified process
152-
* @throws MPIException
152+
* @throws MPIException Signals that an MPI exception of some sort has occurred.
153153
*/
154154
public int[] getCoords(int rank) throws MPIException
155155
{
@@ -165,7 +165,7 @@ public int[] getCoords(int rank) throws MPIException
165165
* @param direction coordinate dimension of shift
166166
* @param disp displacement
167167
* @return object containing ranks of source and destination processes
168-
* @throws MPIException
168+
* @throws MPIException Signals that an MPI exception of some sort has occurred.
169169
*/
170170
public ShiftParms shift(int direction, int disp) throws MPIException
171171
{
@@ -182,7 +182,7 @@ private native ShiftParms shift(long comm, int direction, int disp)
182182
* @param remainDims by dimension, {@code true} if dimension is to be kept,
183183
* {@code false} otherwise
184184
* @return communicator containing subgrid including this process
185-
* @throws MPIException
185+
* @throws MPIException Signals that an MPI exception of some sort has occurred.
186186
*/
187187
public CartComm sub(boolean[] remainDims) throws MPIException
188188
{
@@ -200,7 +200,7 @@ public CartComm sub(boolean[] remainDims) throws MPIException
200200
* @param periods {@code true} if grid is periodic,
201201
* {@code false} if not, in each dimension
202202
* @return reordered rank of calling process
203-
* @throws MPIException
203+
* @throws MPIException Signals that an MPI exception of some sort has occurred.
204204
*/
205205
public int map(int[] dims, boolean[] periods) throws MPIException
206206
{
@@ -216,7 +216,7 @@ private native int map(long comm, int[] dims, boolean[] periods)
216216
* <p>Java binding of the MPI operation {@code MPI_DIMS_CREATE}.
217217
* @param nnodes number of nodes in a grid
218218
* @param dims array specifying the number of nodes in each dimension
219-
* @throws MPIException
219+
* @throws MPIException Signals that an MPI exception of some sort has occurred.
220220
*/
221221
public static void createDims(int nnodes, int[] dims) throws MPIException
222222
{

0 commit comments

Comments
 (0)