Revision 94f5e4b08825a205ce6c3826165748460df7ea0c authored by Wenqing Wang on 27 January 2021, 16:29:48 UTC, committed by Wenqing Wang on 02 February 2021, 09:18:06 UTC
1 parent 3a3a77d
CreateTimeLoop.h
/**
* \file
*
* \copyright
* Copyright (c) 2012-2021, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*/
#pragma once
#include <map>
#include <memory>
#include <string>
#include <vector>
namespace BaseLib
{
class ConfigTree;
}
namespace MeshLib
{
class Mesh;
}
namespace NumLib
{
class NonlinearSolverBase;
}
namespace ProcessLib
{
class TimeLoop;
class Process;
}
namespace ProcessLib
{
//! Builds a TimeLoop from the given configuration.
std::unique_ptr<TimeLoop> createTimeLoop(
BaseLib::ConfigTree const& config, std::string const& output_directory,
std::vector<std::unique_ptr<Process>> const& processes,
std::map<std::string, std::unique_ptr<NumLib::NonlinearSolverBase>> const&
nonlinear_solvers,
std::vector<std::unique_ptr<MeshLib::Mesh>> const& meshes);
} // namespace ProcessLib
Computing file changes ...