Documentation 6b54b78464
Loading...
Searching...
No Matches
mpi_structure.hpp File Reference

Headers of the mpi interface for generalized datatypes. The subroutines and functions are in the mpi_structure.cpp file. More...

#include <stdlib.h>
#include "../basic_types/datatype_structure.hpp"
#include <unistd.h>
#include "omp_structure.hpp"

Go to the source code of this file.

Classes

class  CBaseMPIWrapper< ScalarType >
 
struct  CBaseMPIWrapper< ScalarType >::Status
 
struct  SelectMPIWrapper< T >
 

Macros

#define CURRENT_FUNCTION   "(unknown)"
 
#define MPI_UNSIGNED_LONG   1
 
#define MPI_LONG   2
 
#define MPI_UNSIGNED_SHORT   3
 
#define MPI_FLOAT   4
 
#define MPI_DOUBLE   4
 
#define MPI_ANY_SOURCE   5
 
#define MPI_SUM   6
 
#define MPI_CHAR   7
 
#define MPI_SHORT   8
 
#define MPI_MIN   9
 
#define MPI_MAX   10
 
#define MPI_INT   11
 
#define MPI_PROD   12
 
#define MPI_BOR   13
 
#define MPI_STATUS_IGNORE   nullptr
 

Typedefs

using SU2_Comm = int
 
using SU2_MPI = CBaseMPIWrapper< su2double >
 

Detailed Description

Headers of the mpi interface for generalized datatypes. The subroutines and functions are in the mpi_structure.cpp file.

Author
T. Albring
Version
8.5.0 "Harrier"

SU2 Project Website: https://su2code.github.io

The SU2 Project is maintained by the SU2 Foundation (http://su2foundation.org)

Copyright 2012-2026, SU2 Contributors (cf. AUTHORS.md)

SU2 is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

SU2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with SU2. If not, see http://www.gnu.org/licenses/.

Macro Definition Documentation

◆ CURRENT_FUNCTION

#define CURRENT_FUNCTION   "(unknown)"

◆ MPI_ANY_SOURCE

#define MPI_ANY_SOURCE   5

◆ MPI_BOR

#define MPI_BOR   13

◆ MPI_CHAR

#define MPI_CHAR   7

◆ MPI_DOUBLE

#define MPI_DOUBLE   4

◆ MPI_FLOAT

#define MPI_FLOAT   4

◆ MPI_INT

#define MPI_INT   11

◆ MPI_LONG

#define MPI_LONG   2

◆ MPI_MAX

#define MPI_MAX   10

◆ MPI_MIN

#define MPI_MIN   9

◆ MPI_PROD

#define MPI_PROD   12

◆ MPI_SHORT

#define MPI_SHORT   8

◆ MPI_STATUS_IGNORE

#define MPI_STATUS_IGNORE   nullptr

◆ MPI_SUM

#define MPI_SUM   6

◆ MPI_UNSIGNED_LONG

#define MPI_UNSIGNED_LONG   1

◆ MPI_UNSIGNED_SHORT

#define MPI_UNSIGNED_SHORT   3

Typedef Documentation

◆ SU2_Comm

using SU2_Comm = int

◆ SU2_MPI