Celeritas 0.7+0ff3ae206
Loading...
Searching...
No Matches
Public Member Functions | List of all members
celeritas::OpenmpOutput Class Referencefinal

Save OpenMP environment/config information to JSON. More...

#include <OpenmpOutput.hh>

Inheritance diagram for celeritas::OpenmpOutput:
Inheritance graph
[legend]

Public Member Functions

Category category () const final
 Category of data to write.
 
std::string_view label () const final
 Key for the entry inside the category.
 
void output (JsonPimpl *) const final
 Write output to the given JSON object.
 

Additional Inherited Members

- Public Types inherited from celeritas::OutputInterface
enum class  Category {
  input , result , system , internal ,
  size_
}
 Output category (TODO: could replace with string/cstring?)
 

Detailed Description

Save OpenMP environment/config information to JSON.

This saves maximum number of threads as well as binding information. Since this should never be run inside a parallel block, the local num_threads value is never saved.

Member Function Documentation

◆ category()

Category celeritas::OpenmpOutput::category ( ) const
inlinefinalvirtual

Category of data to write.

Implements celeritas::OutputInterface.

◆ label()

std::string_view celeritas::OpenmpOutput::label ( ) const
inlinefinalvirtual

Key for the entry inside the category.

Implements celeritas::OutputInterface.

◆ output()

void celeritas::OpenmpOutput::output ( JsonPimpl j) const
finalvirtual

Write output to the given JSON object.

Implements celeritas::OutputInterface.


The documentation for this class was generated from the following files: