Skip to content

Commit

Permalink
Rename set_params -> setup_internals
Browse files Browse the repository at this point in the history
  • Loading branch information
tcclevenger committed Oct 17, 2024
1 parent 14c1654 commit 8785b05
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions components/eamxx/src/share/io/scream_output_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ setup (const std::map<std::string,std::shared_ptr<fm_type>>& field_mgrs,
const std::shared_ptr<const gm_type>& grids_mgr)
{
// Read input parameters and setup internal data
set_params(field_mgrs);
setup_internals(field_mgrs);

// Here, store if PG2 fields will be present in output streams.
// Will be useful if multiple grids are defined (see below).
Expand Down Expand Up @@ -651,7 +651,7 @@ compute_filename (const IOFileSpecs& file_specs,
}

void OutputManager::
set_params (const std::map<std::string,std::shared_ptr<fm_type>>& field_mgrs)
setup_internals (const std::map<std::string,std::shared_ptr<fm_type>>& field_mgrs)
{
using vos_t = std::vector<std::string>;

Expand Down
5 changes: 3 additions & 2 deletions components/eamxx/src/share/io/scream_output_manager.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,9 @@ class OutputManager

void set_file_header(const IOFileSpecs& file_specs);

// Craft the restart parameter list from the parameters given at construction
void set_params (const std::map<std::string,std::shared_ptr<fm_type>>& field_mgrs);
// Set internal class variables and processes the field_mgrs for restart fields
// to add to the parameter list for a model restart managers.
void setup_internals (const std::map<std::string,std::shared_ptr<fm_type>>& field_mgrs);

void setup_file ( IOFileSpecs& filespecs,
const IOControl& control);
Expand Down

0 comments on commit 8785b05

Please sign in to comment.