Celeritas 0.6.0-dev.115+3b60a5fd
Loading...
Searching...
No Matches
Public Member Functions | List of all members
celeritas::PhysicsParamsOutput Class Referencefinal

Save detailed debugging information about the physics in use. More...

#include <PhysicsParamsOutput.hh>

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

Public Types

Type aliases
using SPConstPhysicsParams = std::shared_ptr< PhysicsParams const >
 
- Public Types inherited from celeritas::OutputInterface
enum class  Category {
  input , result , system , internal ,
  size_
}
 Output category (TODO: could replace with string/cstring?)
 

Public Member Functions

 PhysicsParamsOutput (SPConstPhysicsParams physics)
 Construct from shared physics data.
 
Category category () const final
 Category of data to write.
 
std::string_view label () const final
 Name of the entry inside the category.
 
void output (JsonPimpl *) const final
 Write output to the given JSON object.
 

Detailed Description

Save detailed debugging information about the physics in use.

Member Function Documentation

◆ category()

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

Category of data to write.

Implements celeritas::OutputInterface.

◆ label()

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

Name of the entry inside the category.

Implements celeritas::OutputInterface.

◆ output()

void celeritas::PhysicsParamsOutput::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: