------------------------------------------------------------------------------
| 12116 | |
| 12117 | //------------------------------------------------------------------------------ |
| 12118 | void vtkOpenFOAMReader::UpdateProgress(vtkOpenFOAMReaderPrivate* reader, double amount) |
| 12119 | { |
| 12120 | // Update progress for the reader |
| 12121 | reader->SetProgress(amount); |
| 12122 | // lock the progress mutex |
| 12123 | std::lock_guard<std::mutex> lock(this->ProgressMutex); |
| 12124 | // update the progress |
| 12125 | this->vtkAlgorithm::UpdateProgress(this->GetProgress()); |
| 12126 | } |
| 12127 | |
| 12128 | #if VTK_OPENFOAM_TIME_PROFILING |
| 12129 | //------------------------------------------------------------------------------ |
no test coverage detected