Skip to content
Configuration.hpp 458 B
Newer Older
#pragma once

#include <cstddef>
#include <string>

#include "MpiEnvironment.hpp"
#include "Util.hpp"

enum class CommunicationMode {
	Collective, //
	P2P         //
};
	std::string InputFilePath;
	std::string OutputFilePath;
	std::size_t Generations{1000};
	CommunicationMode CommMode{CommunicationMode::Collective};

	static auto parseArgs(int argc, char* argv[], const MpiEnvironment& env)
	    -> Configuration;
};