Skip to content
Snippets Groups Projects
Commit 8f657024 authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

fixed up the comments formatting.

parent 20508524
No related branches found
No related tags found
2 merge requests!136Master,!731GB messages
......@@ -36,12 +36,12 @@
*/
void part_create_mpi_type(MPI_Datatype* part_type) {
/* This is not the recommended way of doing this. */
/* One should define the structure field by field */
/* But as long as we don't do serialization via MPI-IO */
/* we don't really care. */
/* Also we would have to modify this function everytime something */
/* is added to the part structure. */
/* This is not the recommended way of doing this.
One should define the structure field by field
But as long as we don't do serialization via MPI-IO
we don't really care.
Also we would have to modify this function everytime something
is added to the part structure. */
MPI_Type_contiguous(sizeof(struct part) / sizeof(unsigned char), MPI_BYTE,
part_type);
MPI_Type_commit(part_type);
......@@ -54,12 +54,12 @@ void part_create_mpi_type(MPI_Datatype* part_type) {
*/
void xpart_create_mpi_type(MPI_Datatype* xpart_type) {
/* This is not the recommended way of doing this. */
/* One should define the structure field by field */
/* But as long as we don't do serialization via MPI-IO */
/* we don't really care. */
/* Also we would have to modify this function everytime something */
/* is added to the part structure. */
/* This is not the recommended way of doing this.
One should define the structure field by field
But as long as we don't do serialization via MPI-IO
we don't really care.
Also we would have to modify this function everytime something
is added to the part structure. */
MPI_Type_contiguous(sizeof(struct xpart) / sizeof(unsigned char), MPI_BYTE,
xpart_type);
MPI_Type_commit(xpart_type);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment