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 65 of file LogManager.cpp.

Constructor & Destructor Documentation

◆ SynchronizedStreamBuf()

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

Definition at line 66 of file LogManager.cpp.

Member Function Documentation

◆ sync()

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

Definition at line 67 of file LogManager.cpp.

67 {
68 if (!this->str().empty()) {
69 PetscSynchronizedFPrintf(cOmm, LogManager::dummy_mofem_fd, "%s",
70 this->str().c_str());
71 this->str("");
72 }
73 return 0;
74 }
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 77 of file LogManager.cpp.

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