| 1 |
/* |
| 2 |
* Copyright(C) 1999-2020, 2022, 2023, 2024 National Technology & Engineering Solutions |
| 3 |
* of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with |
| 4 |
* NTESS, the U.S. Government retains certain rights in this software. |
| 5 |
* |
| 6 |
* See packages/seacas/LICENSE for details |
| 7 |
*/ |
| 8 |
#pragma once |
| 9 |
|
| 10 |
#include <string> |
| 11 |
|
| 12 |
/*****************************************************************************/ |
| 13 |
namespace Excn { |
| 14 |
class ParallelDisks |
| 15 |
{ |
| 16 |
//: This class declares the unique, global object that represents the |
| 17 |
//: disk farm on a parallel machine. Its function is to map |
| 18 |
//: processors onto disk files. |
| 19 |
|
| 20 |
public: |
| 21 |
ParallelDisks() = default; |
| 22 |
ParallelDisks(const ParallelDisks &) = delete; |
| 23 |
ParallelDisks &operator=(const ParallelDisks &) = delete; |
| 24 |
|
| 25 |
static void Create_IO_Filename(std::string & /*name*/, int processor, int num_processors); |
| 26 |
|
| 27 |
void rename_file_for_mp(const std::string &rootdir, const std::string &subdir, |
| 28 |
std::string &name, int node, int numproc) const; |
| 29 |
}; |
| 30 |
} // namespace Excn |