/* * Copyright(C) 1999-2020, 2022, 2023, 2024 National Technology & Engineering Solutions * of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with * NTESS, the U.S. Government retains certain rights in this software. * * See packages/seacas/LICENSE for details */ #pragma once #include /*****************************************************************************/ namespace Excn { class ParallelDisks { //: This class declares the unique, global object that represents the //: disk farm on a parallel machine. Its function is to map //: processors onto disk files. public: ParallelDisks() = default; ParallelDisks(const ParallelDisks &) = delete; ParallelDisks &operator=(const ParallelDisks &) = delete; static void Create_IO_Filename(std::string & /*name*/, int processor, int num_processors); void rename_file_for_mp(const std::string &rootdir, const std::string &subdir, std::string &name, int node, int numproc) const; }; } // namespace Excn