OutputSession_impl< dim, VectorType > Class Template Reference#
|
DiFfRG
Discretization Framework for functional Renormalization Group flows
|
#include <output_session.hh>
Public Member Functions | |
| OutputSession_impl () | |
| OutputSession_impl (const ConfigTree &config) | |
| OutputSession_impl (OutputPath path, Config::OutputSettings settings={}) | |
| OutputSession_impl (OutputPath path, const ConfigTree &config) | |
| ~OutputSession_impl () noexcept | |
| OutputSession_impl (const OutputSession_impl &)=delete | |
| OutputSession_impl & | operator= (const OutputSession_impl &)=delete |
| OutputSession_impl (OutputSession_impl &&)=delete | |
| OutputSession_impl & | operator= (OutputSession_impl &&)=delete |
| template<typename Contributor > | |
| void | write_frame (const double time, Contributor &&contributor) |
| DiagnosticPort | diagnostic_port () const |
| ReportPort | report_port () const |
| void | drain () |
| void | finish () |
| void | set_Lambda (double Lambda) |
| const std::string & | run_name () const noexcept |
| const OutputPath & | path () const noexcept |
| bool | is_writer_rank () const noexcept |
Private Member Functions | |
| FEOutput< dim, VectorType > & | fe_output () |
| FEOutput< dim, VectorType > & | field_output (const std::string &name) |
| template<typename FieldVectorType > | |
| void | configure_field_output (FEOutput< dim, FieldVectorType > &sink, const std::string &group_name) |
| void | attach_raw_potential (ReconstructedRawPotential< dim, typename VectorType::value_type > potential) |
| void | attach_eom_potential (EoMResult< dim, typename VectorType::value_type > result) |
| CsvOutput & | csv (const std::string &name) |
| HDF5Output & | hdf5 (const std::string &name) |
| HDF5Output & | hdf5 () |
| void | flush_frame (double time) |
| void | record_frame (double time) |
| void | dump_to_csv (const std::string &name, const std::vector< std::vector< double > > &values, bool append, const std::vector< std::string > &header) |
| void | rethrow_deferred_error () |
| void | finish_impl (bool crashed) |
Static Private Member Functions | |
| static OutputPath | path_from (const ConfigTree &config) |
Private Attributes | |
| OutputPath | output_path |
| Config::OutputSettings | settings |
| const std::string | top_folder |
| const std::string | output_name |
| const std::string | output_folder |
| double | Lambda = -1. |
| bool | active = true |
| bool | finished = false |
| std::exception_ptr | deferred_error |
| std::exception_ptr | terminal_error |
| std::mutex | submission_mutex |
| RunReporter | run_reporter |
| HDF5FrameWriter | hdf5_writer |
| FEOutput< dim, VectorType > | fe_out |
| std::optional< ReconstructedRawPotential< dim, typename VectorType::value_type > > | pending_raw_potential |
| FEOutput< dim, dealii::Vector< typename VectorType::value_type > > | potential_fe_out |
| std::vector< ReconstructedEoMPotential< dim, typename VectorType::value_type > > | pending_eom_potentials |
| FEOutput< dim, dealii::Vector< typename VectorType::value_type > > | eom_potential_fe_out |
| std::map< std::string, FEOutput< dim, VectorType > > | named_fe_outs |
| std::set< std::string > | pending_named_fe_outs |
| std::map< std::string, CsvOutput > | csv_files |
| bool | use_hdf5 |
| const std::string | filename_h5 |
| std::map< std::string, HDF5Output > | h5_files |
| DiagnosticPort | diagnostics_port |
| FrameTimings | current_frame |
| OutputTimings | timings |
Friends | |
| class | OutputFrame< dim, VectorType > |
Detailed Description
class DiFfRG::OutputSession_impl< dim, VectorType >
Run-owned output coordinator.
Applications construct one session and inject it into the timestepper. All frame submissions are serialized; VTK writing remains bounded and asynchronous inside FEOutput. No process-global output state is used.
Constructor & Destructor Documentation
◆ OutputSession_impl() [1/6]
|
inline |
◆ OutputSession_impl() [2/6]
|
inlineexplicit |
◆ OutputSession_impl() [3/6]
|
explicit |
◆ OutputSession_impl() [4/6]
|
inline |
◆ ~OutputSession_impl()
|
noexcept |
◆ OutputSession_impl() [5/6]
|
delete |
◆ OutputSession_impl() [6/6]
|
delete |
Member Function Documentation
◆ attach_eom_potential()
|
private |
◆ attach_raw_potential()
|
private |
◆ configure_field_output()
|
private |
◆ csv()
|
private |
◆ diagnostic_port()
|
inline |
◆ drain()
| void DiFfRG::OutputSession_impl< dim, VectorType >::drain | ( | ) |
Join pending writers and surface their first error without closing the session.
◆ dump_to_csv()
|
private |
◆ fe_output()
|
inlineprivate |
◆ field_output()
|
private |
◆ finish()
|
inline |
Drain pending writers and permanently close the session, marking its HDF5 files finished.
◆ finish_impl()
|
private |
Shared by finish() and the destructor. crashed only selects the value recorded in the HDF5 files' crashed attribute; everything else happens either way.
◆ flush_frame()
|
private |
◆ hdf5() [1/2]
|
private |
◆ hdf5() [2/2]
|
private |
◆ is_writer_rank()
|
inlinenoexcept |
◆ operator=() [1/2]
|
delete |
◆ operator=() [2/2]
|
delete |
◆ path()
|
inlinenoexcept |
◆ path_from()
|
inlinestaticprivate |
◆ record_frame()
|
private |
Fold current_frame into the run totals and, at verbosity >= 3, report it.
◆ report_port()
|
inline |
◆ rethrow_deferred_error()
|
private |
◆ run_name()
|
inlinenoexcept |
◆ set_Lambda()
| void DiFfRG::OutputSession_impl< dim, VectorType >::set_Lambda | ( | double | Lambda | ) |
◆ write_frame()
|
inline |
Friends And Related Symbol Documentation
◆ OutputFrame< dim, VectorType >
|
friend |
Member Data Documentation
◆ active
|
private |
◆ csv_files
|
private |
◆ current_frame
|
private |
Cost split of the frame currently being written; folded into timings by flush_frame.
◆ deferred_error
|
private |
◆ diagnostics_port
|
private |
◆ eom_potential_fe_out
|
private |
◆ fe_out
|
private |
◆ filename_h5
|
private |
◆ finished
|
private |
◆ h5_files
|
private |
◆ hdf5_writer
|
private |
Declared before every sink that submits to it, so it is destroyed last. finish() joins it explicitly before h5_files goes away, because ~HDF5Output closes the file and that must not race the worker.
◆ Lambda
|
private |
◆ named_fe_outs
|
private |
◆ output_folder
|
private |
◆ output_name
|
private |
◆ output_path
|
private |
◆ pending_eom_potentials
|
private |
◆ pending_named_fe_outs
|
private |
◆ pending_raw_potential
|
private |
◆ potential_fe_out
|
private |
◆ run_reporter
|
private |
◆ settings
|
private |
◆ submission_mutex
|
mutableprivate |
◆ terminal_error
|
private |
◆ timings
|
private |
◆ top_folder
|
private |
◆ use_hdf5
|
private |
The documentation for this class was generated from the following file:
- /home/runner/work/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/discretization/data/output_session.hh
Generated by