/home/runner/work/amr-wind/amr-wind/amr-wind/utilities/IOManager.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
IOManager.H
Go to the documentation of this file.
Definition CFDSim.H:47
Definition IOManager.H:32
bool m_output_default_vars
Flag indicating whether default fields should be output.
Definition IOManager.H:152
const amrex::Vector< Field * > & checkpoint_fields() const
Definition IOManager.H:89
IOManager(const IOManager &)=delete
void write_plot_file()
Write all user-requested fields to disk.
Definition IOManager.cpp:132
void write_checkpoint_file(const int start_level=0, const int end_level=-1)
Write all necessary fields for restart.
Definition IOManager.cpp:189
std::set< std::string > m_pltvars_default
Default output variables registered automatically in the code.
Definition IOManager.H:116
std::string m_chk_prefix
Prefix used for the restart file directories.
Definition IOManager.H:140
bool m_allow_missing_restart_fields
Flag indicating whether we should allow missing restart fields.
Definition IOManager.H:155
void write_info_file(const std::string &)
Definition IOManager.cpp:355
amrex::Vector< IntField * > m_int_plt_fields
Final list of integer fields to be output.
Definition IOManager.H:128
std::string m_restart_file
Restart file name.
Definition IOManager.H:146
std::string m_post_dir
Name for the post_processing directory.
Definition IOManager.H:143
void initialize_io()
Process user inputs and perform one-time initialization tasks.
Definition IOManager.cpp:31
std::unique_ptr< DerivedQtyMgr > m_derived_mgr
Definition IOManager.H:113
void register_output_var(const std::string &fname)
Register a variable for output.
Definition IOManager.H:59
std::string m_plt_prefix
Prefix used for the plot file directories.
Definition IOManager.H:137
void write_header(const std::string &, const int start_level, const int end_level)
Definition IOManager.cpp:305
void register_output_int_var(const std::string &fname)
Definition IOManager.H:64
const std::string & post_processing_directory()
Name of the post processing directory.
Definition IOManager.H:95
void read_checkpoint_fields(const std::string &restart_file, const amrex::Vector< amrex::BoxArray > &ba_chk, const amrex::Vector< amrex::DistributionMapping > &dm_chk, const amrex::IntVect &rep)
Read all necessary fields for a restart.
Definition IOManager.cpp:219
std::set< std::string > m_int_pltvars_default
Default output integer variables registered automatically in the code.
Definition IOManager.H:119
amrex::Vector< Field * > m_plt_fields
Final list of fields to be output.
Definition IOManager.H:125
const std::string & restart_file()
Name of the checkpoint file to be read during a restart.
Definition IOManager.H:83
~IOManager()
int m_nfiles
Number of plot and checkpoint data files per write.
Definition IOManager.H:167
void register_io_var(const std::string &fname)
Convenience function to register a variable for both output and restart.
Definition IOManager.H:76
amrex::Vector< Field * > m_chk_fields
Final list of fields for restart.
Definition IOManager.H:131
const amrex::Vector< Field * > & plot_fields() const
Definition IOManager.H:87
std::set< std::string > m_chkvars
Variables for output in checkpoint/restart files.
Definition IOManager.H:122
int m_plt_num_comp
Total number of variables (including components) output to plot file.
Definition IOManager.H:149
IOManager & operator=(const IOManager &)=delete
amrex::Vector< std::string > m_plt_var_names
Variable names (including components) for output.
Definition IOManager.H:134
void register_restart_var(const std::string &fname)
Register a variable for restart file.
Definition IOManager.H:70
Definition BCInterface.cpp:7
Generated by 1.12.0