1 /* Copyright (c) 2009-2010, 2012-2017. The SimGrid Team.
2 * All rights reserved. */
4 /* This program is free software; you can redistribute it and/or modify it
5 * under the terms of the license (GNU LGPL) which comes with this package. */
10 #include "smpi_info.hpp"
15 class Op : public F2C{
17 MPI_User_function *func_;
22 Op(MPI_User_function * function, bool commutative);
23 bool is_commutative();
25 void set_fortran_op();
26 void apply(void *invec, void *inoutvec, int *len, MPI_Datatype datatype);
27 static Op* f2c(int id);