GraviDy
1.0
Gravitational Dynamics N-body integrator
include
mpi
MPIUtils.hpp
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2016
3
*
4
* Cristián Maureira-Fredes <cmaureirafredes@gmail.com>
5
*
6
* All rights reserved.
7
*
8
* Redistribution and use in source and binary forms, with or without
9
* modification, are permitted provided that the following conditions
10
* are met:
11
*
12
* 1. Redistributions of source code must retain the above copyright
13
* notice, this list of conditions and the following disclaimer.
14
*
15
* 2. Redistributions in binary form must reproduce the above copyright
16
* notice, this list of conditions and the following disclaimer in the
17
* documentation and/or other materials provided with the distribution.
18
*
19
* 3. The name of the author may not be used to endorse or promote
20
* products derived from this software without specific prior written
21
* permission.
22
*
23
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
24
* OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
27
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
29
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
30
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
31
* IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
32
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
33
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34
*
35
*/
36
#ifndef MPI_UTILS
37
#define MPI_UTILS
38
#include "
Hermite4MPI.hpp
"
39
40
void
define_forces_struct
(MPI_Datatype *ts);
41
void
forces_operation
(
void
*in,
void
*inout,
int
*len, MPI_Datatype *type);
42
43
#endif // MPI_UTILS
Hermite4MPI.hpp
forces_operation
void forces_operation(void *in, void *inout, int *len, MPI_Datatype *type)
Definition:
MPIUtils.cpp:57
define_forces_struct
void define_forces_struct(MPI_Datatype *ts)
Definition:
MPIUtils.cpp:38
Generated on Mon Jan 23 2017 19:34:49 for GraviDy by
1.8.12