| 1 |
// @HEADER |
| 2 |
// ***************************************************************************** |
| 3 |
// LOCA: Library of Continuation Algorithms Package |
| 4 |
// |
| 5 |
// Copyright 2001-2005 NTESS and the LOCA contributors. |
| 6 |
// SPDX-License-Identifier: BSD-3-Clause |
| 7 |
// ***************************************************************************** |
| 8 |
// @HEADER |
| 9 |
|
| 10 |
#ifndef I_O_CONT_FILE_UTILS_H |
| 11 |
#define I_O_CONT_FILE_UTILS_H |
| 12 |
|
| 13 |
#include "Teuchos_ParameterList.hpp" |
| 14 |
|
| 15 |
// Write the header of the continuation file |
| 16 |
bool WriteHeaderToContFile( const std::string & fileName, |
| 17 |
const Teuchos::ParameterList & fileParams ); |
| 18 |
|
| 19 |
// Add a line to the continuation file |
| 20 |
bool UpdateContFile( const std::string & fileName, |
| 21 |
const int & idStep, |
| 22 |
const Teuchos::ParameterList & fileParams ); |
| 23 |
|
| 24 |
// Restart a continuation file from idStep |
| 25 |
bool RestartContFile( const std::string & fileName, const int & idStep ); |
| 26 |
|
| 27 |
// Removes the rather annoying "[unused]" flag in the parameters |
| 28 |
bool TouchContFileParameters( Teuchos::ParameterList & fileParams ); |
| 29 |
|
| 30 |
#endif |