mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
remove unused method
This commit is contained in:
parent
a6eb7b65a1
commit
2d70acb8eb
@ -29,7 +29,6 @@
|
|||||||
#include <boost/date_time.hpp>
|
#include <boost/date_time.hpp>
|
||||||
|
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <string>
|
|
||||||
|
|
||||||
namespace Opm {
|
namespace Opm {
|
||||||
|
|
||||||
@ -46,20 +45,4 @@ void outputReportStep(const SimulatorTimer& timer)
|
|||||||
OpmLog::info(stepMsg.str());
|
OpmLog::info(stepMsg.str());
|
||||||
}
|
}
|
||||||
|
|
||||||
void outputTimestampFIP(const SimulatorTimer& timer,
|
|
||||||
const std::string& title,
|
|
||||||
const std::string& version)
|
|
||||||
{
|
|
||||||
std::ostringstream ss;
|
|
||||||
boost::posix_time::time_facet* facet = new boost::posix_time::time_facet("%d %b %Y");
|
|
||||||
ss.imbue(std::locale(std::locale::classic(), facet));
|
|
||||||
ss << "\n **************************************************************************\n"
|
|
||||||
<< " Balance at" << std::setw(10) << (double)unit::convert::to(timer.simulationTimeElapsed(), unit::day) << " Days"
|
|
||||||
<< " *" << std::setw(30) << title << " *\n"
|
|
||||||
<< " Report " << std::setw(4) << timer.reportStepNum() << " " << timer.currentDateTime()
|
|
||||||
<< " * Flow version " << std::setw(11) << version << " *\n"
|
|
||||||
<< " **************************************************************************\n";
|
|
||||||
OpmLog::note(ss.str());
|
|
||||||
}
|
|
||||||
|
|
||||||
} // namespace Opm
|
} // namespace Opm
|
||||||
|
@ -146,9 +146,6 @@ struct LoadStep<TypeTag, TTag::EclFlowProblem>
|
|||||||
namespace Opm {
|
namespace Opm {
|
||||||
|
|
||||||
void outputReportStep(const SimulatorTimer& timer);
|
void outputReportStep(const SimulatorTimer& timer);
|
||||||
void outputTimestampFIP(const SimulatorTimer& timer,
|
|
||||||
const std::string& title,
|
|
||||||
const std::string& version);
|
|
||||||
|
|
||||||
/// a simulator for the blackoil model
|
/// a simulator for the blackoil model
|
||||||
template<class TypeTag>
|
template<class TypeTag>
|
||||||
|
Loading…
Reference in New Issue
Block a user