Back to home page

MITgcm

 
 

    


File indexing completed on 2023-05-28 05:10:53 UTC

view on githubraw file Latest commit b4daa243 on 2023-05-28 03:53:22 UTC
b4daa24319 Shre*0001 /*
                0002 ##########################################################
                0003 # This file is part of the AdjoinableMPI library         #
                0004 # released under the MIT License.                        #
                0005 # The full COPYRIGHT notice can be found in the top      #
                0006 # level directory of the AdjoinableMPI distribution.     #
                0007 ########################################################## 
                0008 */
                0009 #ifndef _AMPI_LIBCOMMON_ST_H_
                0010 #define _AMPI_LIBCOMMON_ST_H_
                0011 
                0012 /**
                0013  * \file 
                0014  * common AD implementation portion of AMPI routines from ampi/userIF/st.h
                0015  */ 
                0016 
                0017 #include <mpi.h>
                0018 
                0019 #if defined(__cplusplus)
                0020 extern "C" {
                0021 #endif
                0022 
                0023 #include "ampi/userIF/request.h"
                0024 
                0025 /** 
                0026  * forward sweep variant of \ref AMPI_Wait_ST 
                0027  */
                0028 int FW_AMPI_Wait_ST(AMPI_Request *request, 
                0029                     void *buf,
                0030                     MPI_Status *status);
                0031 
                0032 /** 
                0033  * backward sweep variant of \ref AMPI_Wait_ST 
                0034  */
                0035 int BW_AMPI_Wait_ST(AMPI_Request *request, 
                0036                     void *buf,
                0037                     MPI_Status *status);
                0038 
                0039 #if defined(__cplusplus)
                0040 }
                0041 #endif
                0042 
                0043 #endif