10#ifndef ANASAZI_GLOBAL_COMM_HPP 
   11#define ANASAZI_GLOBAL_COMM_HPP 
   15#ifdef HAVE_ANASAZI_MPI 
   22static std::mutex mpi_mutex;
 
   23static MPI_Comm Global_Anasazi_Comm = MPI_COMM_WORLD;
 
   25inline void initialize_global_comm(MPI_Comm comm) {
 
   26  std::lock_guard<std::mutex> guard(mpi_mutex);
 
   27  Global_Anasazi_Comm = comm;
 
   30inline MPI_Comm get_global_comm() {
 
   31  std::lock_guard<std::mutex> guard(mpi_mutex);
 
   32  return Global_Anasazi_Comm;
 
Anasazi header file which uses auto-configuration information to include necessary C++ headers.
 
Namespace Anasazi contains the classes, structs, enums and utilities used by the Anasazi package.