/home/runner/work/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/discretization/data/fe_output.hh Source File#
|
DiFfRG
Discretization Framework for functional Renormalization Group flows
|
fe_output.hh
Go to the documentation of this file.
50 std::conditional_t<is_distributed_la<VectorType>, dealii::Vector<get_type::NumberType<VectorType>>, VectorType>;
65 "Use FEOutput(top_folder, output_name, output_folder, Config::OutputSettings(config), active) instead")]]
66 FEOutput(std::string top_folder, std::string output_name, std::string output_folder, const ConfigTree &config,
91 void set_hdf5_output(HDF5Output *output, bool session_closes_file = false, std::string group_name = "FE");
106 void attach(const DoFHandler<dim> &dof_handler, const VectorType &solution, const std::string &name);
115 void attach(const DoFHandler<dim> &dof_handler, const VectorType &solution, const std::vector<std::string> &names);
147 // the main thread can clear() the corresponding DataOut once the worker has been joined. Clearing
148 // a DataOut frees its Kokkos-backed vectors, which (with deal.II's Kokkos host backend) must not
153 // InitFinalize::finalize() tears it down -- i.e. these buffers would be freed during MPI/Kokkos
156 // already printed its final line. Owning them means they die in retire_oldest()/drain(), on the
191 const DoFHandler<safe_dim> &prepare_output_vector(const DoFHandler<dim> &dof_handler, const VectorType &solution,
222 "Use FEOutput(top_folder, output_name, output_folder, Config::OutputSettings(config), active) instead")]]
223 FEOutput(std::string top_folder, std::string output_name, std::string output_folder, const ConfigTree &config,
A hierarchical configuration tree, readable from JSON and TOML files.
Definition config_tree.hh:32
FEOutput(std::string top_folder, std::string output_name, std::string output_folder, const Config::OutputSettings &settings, bool active=true)
Construct a new FEOutput object.
FEOutput(std::string top_folder, std::string output_name, std::string output_folder, const ConfigTree &config, bool active=true)
Definition fe_output.hh:223
FrameTimings take_frame_timings()
Definition fe_output.hh:231
A class to output finite element data to disk as .vtu files and .pvd time series.
Definition fe_output.hh:37
FEOutput(std::string top_folder, std::string output_name, std::string output_folder, const ConfigTree &config, bool active=true)
Definition fe_output.hh:66
void attach(const DoFHandler< dim > &dof_handler, const VectorType &solution, const std::vector< std::string > &names)
Attach a solution to the output.
FEOutput(std::string top_folder, std::string output_name, std::string output_folder, const Config::OutputSettings &settings, bool active=true)
Construct a new FEOutput object.
std::conditional_t< is_distributed_la< VectorType >, dealii::Vector< get_type::NumberType< VectorType > >, VectorType > OutputVectorType
What the DataOut actually gets handed.
Definition fe_output.hh:49
std::condition_variable output_condition
Definition fe_output.hh:164
void update_buffers()
void reserve_bytes(std::size_t bytes)
std::vector< std::pair< double, std::string > > time_series
Definition fe_output.hh:141
void set_hdf5_output(HDF5Output *output, bool session_closes_file=false, std::string group_name="FE")
Route the finite-element frame data into an HDF5 file owned by someone else.
void drain()
void attach(const DoFHandler< dim > &dof_handler, const VectorType &solution, const std::string &name)
Attach a solution to the output.
std::list< uint > output_thread_series
Definition fe_output.hh:150
void finish()
const DoFHandler< safe_dim > & prepare_output_vector(const DoFHandler< dim > &dof_handler, const VectorType &solution, OutputVectorType &target)
~FEOutput() noexcept
FEOutput()
std::list< std::list< std::unique_ptr< OutputVectorType > > > attached_solutions
Definition fe_output.hh:158
void retire_oldest()
All compile-time knowledge about which linear algebra types DiFfRG uses.
Definition complex_math.hh:10
Definition output_settings.hh:15
Serial mirror of the solution DoFHandler, plus the map from its dof numbering to ours.
Definition fe_output.hh:182
boost::signals2::scoped_connection connection
Definition fe_output.hh:185
std::vector< types::global_dof_index > to_mirror
Definition fe_output.hh:184
std::unique_ptr< DoFHandler< safe_dim > > dof_handler
Definition fe_output.hh:183
Wall-clock cost of producing one output frame, split by where the time went.
Definition output_timings.hh:33
Generated by