DiagnosticPort Class Reference#
|
DiFfRG
Discretization Framework for functional Renormalization Group flows
|
Public Types |
Public Member Functions |
Private Member Functions |
Static Private Member Functions |
Private Attributes |
Friends |
List of all members
DiFfRG::DiagnosticPort Class Reference
#include <diagnostic_port.hh>
Public Types | |
| using | Field = std::pair<std::string, double> |
| using | Record = std::vector<Field> |
Public Member Functions | |
| DiagnosticPort ()=default | |
| void | record (const std::string &table, double time, const Record &fields) const |
| void | record (const std::string &table, double time, std::initializer_list< Field > fields) const |
| void | scalar (const std::string &table, const std::string &name, double time, double value) const |
| void | write_text (const std::string &relative_path, const std::string &contents) const |
| operator bool () const noexcept | |
Private Member Functions | |
| DiagnosticPort (std::shared_ptr< State > state) | |
Static Private Member Functions | |
| static DiagnosticPort | create (const OutputPath &path, double Lambda, bool active) |
Private Attributes | |
| std::shared_ptr< State > | state |
Friends | |
| template<unsigned int , typename > | |
| class | OutputSession_impl |
Detailed Description
A small, copyable handle for independent scalar diagnostics.
The handle owns no global state. Copies share the run-owned sink state and may safely be used from different threads. Each record is appended atomically to one logical CSV table.
Member Typedef Documentation
◆ Field
| using DiFfRG::DiagnosticPort::Field = std::pair<std::string, double> |
◆ Record
| using DiFfRG::DiagnosticPort::Record = std::vector<Field> |
Constructor & Destructor Documentation
◆ DiagnosticPort() [1/2]
|
default |
◆ DiagnosticPort() [2/2]
|
inlineexplicitprivate |
Member Function Documentation
◆ create()
|
staticprivate |
◆ operator bool()
|
inlineexplicitnoexcept |
◆ record() [1/2]
| void DiFfRG::DiagnosticPort::record | ( | const std::string & | table, |
| double | time, | ||
| const Record & | fields ) const |
◆ record() [2/2]
| void DiFfRG::DiagnosticPort::record | ( | const std::string & | table, |
| double | time, | ||
| std::initializer_list< Field > | fields ) const |
◆ scalar()
| void DiFfRG::DiagnosticPort::scalar | ( | const std::string & | table, |
| const std::string & | name, | ||
| double | time, | ||
| double | value ) const |
◆ write_text()
| void DiFfRG::DiagnosticPort::write_text | ( | const std::string & | relative_path, |
| const std::string & | contents ) const |
Friends And Related Symbol Documentation
◆ OutputSession_impl
template<unsigned int , typename >
|
friend |
Member Data Documentation
◆ state
|
private |
The documentation for this class was generated from the following file:
- /home/runner/work/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/discretization/data/diagnostic_port.hh
Generated by