Skip to content

Commit

Permalink
Remove debuging code.
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldwj authored and mattw-nws committed Aug 23, 2023
1 parent d8e8621 commit fc67105
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions include/core/Layer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ namespace ngen
//If there is more than one, some form of catchment partitioning will be required.
//for now, only contribute to the first one in the list
nexus->add_upstream_flow(response_m_h, id, output_time_index);
std::cerr << "Add water to nexus ID = " << nexus->get_id() << " from catchment ID = " << id << " value = "
<< response << ", ID = " << id << ", time-index = " << output_time_index << std::endl;
/*std::cerr << "Add water to nexus ID = " << nexus->get_id() << " from catchment ID = " << id << " value = "
<< response << ", ID = " << id << ", time-index = " << output_time_index << std::endl; */
break;
}

Expand Down
2 changes: 1 addition & 1 deletion src/core/SurfaceLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ void ngen::SurfaceLayer::update_models()
cat_id = "terminal";
}

std::cerr << "Requesting water from nexus, id = " << id << " at time = " <<current_time_index << ", percent = 100, destination = " << cat_id << std::endl;
//std::cerr << "Requesting water from nexus, id = " << id << " at time = " <<current_time_index << ", percent = 100, destination = " << cat_id << std::endl;
double contribution_at_t = features.nexus_at(id)->get_downstream_flow(cat_id, current_time_index, 100.0);

if(nexus_outfiles[id].is_open()) {
Expand Down

0 comments on commit fc67105

Please sign in to comment.