No Matches
Public Member Functions | Private Attributes | List of all members
MoFEM::LogManager::InternalData::SynchronizedStreamBuf Struct Reference
Inheritance diagram for MoFEM::LogManager::InternalData::SynchronizedStreamBuf:
Collaboration diagram for MoFEM::LogManager::InternalData::SynchronizedStreamBuf:

Public Member Functions

 SynchronizedStreamBuf (MPI_Comm comm)
virtual int sync ()

Private Attributes

MPI_Comm cOmm

Detailed Description

Definition at line 63 of file LogManager.cpp.

Constructor & Destructor Documentation

◆ SynchronizedStreamBuf()

MoFEM::LogManager::InternalData::SynchronizedStreamBuf::SynchronizedStreamBuf ( MPI_Comm  comm)

Definition at line 64 of file LogManager.cpp.

Member Function Documentation

◆ sync()

virtual int MoFEM::LogManager::InternalData::SynchronizedStreamBuf::sync ( )

Definition at line 65 of file LogManager.cpp.

65 {
66 if (!this->str().empty()) {
67 PetscSynchronizedFPrintf(cOmm, LogManager::dummy_mofem_fd, "%s",
68 this->str().c_str());
69 this->str("");
70 }
71 return 0;
72 }
static FILE * dummy_mofem_fd
Dummy file pointer (DO NOT USE)
Definition: LogManager.hpp:191

Member Data Documentation

◆ cOmm

MPI_Comm MoFEM::LogManager::InternalData::SynchronizedStreamBuf::cOmm

Definition at line 75 of file LogManager.cpp.

The documentation for this struct was generated from the following file: