v0.14.0
Public Member Functions | Private Attributes | List of all members
MoFEM::LogManager::InternalData::WorldStreamBuf Struct Reference
Inheritance diagram for MoFEM::LogManager::InternalData::WorldStreamBuf:
[legend]
Collaboration diagram for MoFEM::LogManager::InternalData::WorldStreamBuf:
[legend]

Public Member Functions

 WorldStreamBuf (MPI_Comm comm)
 
virtual int sync ()
 

Private Attributes

MPI_Comm cOmm
 

Detailed Description

Definition at line 48 of file LogManager.cpp.

Constructor & Destructor Documentation

◆ WorldStreamBuf()

MoFEM::LogManager::InternalData::WorldStreamBuf::WorldStreamBuf ( MPI_Comm  comm)
inline

Definition at line 49 of file LogManager.cpp.

49 : cOmm(comm) {}

Member Function Documentation

◆ sync()

virtual int MoFEM::LogManager::InternalData::WorldStreamBuf::sync ( )
inlinevirtual

Definition at line 50 of file LogManager.cpp.

50  {
51  if (!this->str().empty()) {
52  PetscFPrintf(cOmm, LogManager::dummy_mofem_fd, "%s",
53  this->str().c_str());
54  this->str("");
55  }
56  return 0;
57  }

Member Data Documentation

◆ cOmm

MPI_Comm MoFEM::LogManager::InternalData::WorldStreamBuf::cOmm
private

Definition at line 60 of file LogManager.cpp.


The documentation for this struct was generated from the following file:
MoFEM::LogManager::dummy_mofem_fd
static FILE * dummy_mofem_fd
Dummy file pointer (DO NOT USE)
Definition: LogManager.hpp:191
MoFEM::LogManager::InternalData::WorldStreamBuf::cOmm
MPI_Comm cOmm
Definition: LogManager.cpp:60