Skip to content

Commit

Permalink
deprecated function
Browse files Browse the repository at this point in the history
  • Loading branch information
nikola-airshaper committed May 11, 2023
1 parent 4abbe65 commit 88ba9a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions convergenceDetection.C
Original file line number Diff line number Diff line change
Expand Up @@ -238,19 +238,19 @@ void Foam::functionObjects::convergenceDetection::createDataFile()
{
if (!totalForceFilePtr_.valid())
{
totalForceFilePtr_ = createFile("totalForce");
totalForceFilePtr_ = newFileAtStartTime("totalForce");
writeDataFileHeader("totalForce", "total (x,y,z)", totalForceFilePtr_());
}

if (!gradientFilePtr_.valid())
{
gradientFilePtr_ = createFile("gradient");
gradientFilePtr_ = newFileAtStartTime("gradient");
writeDataFileHeader("Gradient", "Gradient", gradientFilePtr_());
}

if (!gradientAveragedFilePtr_.valid())
{
gradientAveragedFilePtr_ = createFile("gradientAveraged");
gradientAveragedFilePtr_ = newFileAtStartTime("gradientAveraged");
writeDataFileHeader("GradientAveraged", "GradientAveraged", gradientAveragedFilePtr_());
}
}
Expand Down

0 comments on commit 88ba9a3

Please sign in to comment.