Skip to content

Commit

Permalink
changes to driver - hydrostatic initialization option, convenience dz…
Browse files Browse the repository at this point in the history
… calculation function, cleanup; removed some unused variables from interface
  • Loading branch information
jbeisman committed Jul 20, 2023
1 parent f6252d3 commit 347a002
Show file tree
Hide file tree
Showing 4 changed files with 154 additions and 139 deletions.
7 changes: 2 additions & 5 deletions src/executables/elm_ats_api/elm_ats_api.cc
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,10 @@ void ats_set_sources(ELM_ATSDriver_ptr ats,
void ats_get_waterstate(ELM_ATSDriver_ptr ats,
double * const surface_ponded_depth,
double * const water_table_depth,
double * const soil_pressure,
double * const soil_psi,
double * const sat_liq,
double * const sat_ice)
double * const sat_liq)
{
reinterpret_cast<ATS::ELM_ATSDriver*>(ats)
->get_waterstate(surface_ponded_depth, water_table_depth, soil_pressure, soil_psi, sat_liq, sat_ice);
->get_waterstate(surface_ponded_depth, water_table_depth, sat_liq);
}


Expand Down
5 changes: 1 addition & 4 deletions src/executables/elm_ats_api/elm_ats_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,7 @@ void ats_set_sources(ELM_ATSDriver_ptr ats,
void ats_get_waterstate(ELM_ATSDriver_ptr ats,
double * const surface_ponded_depth,
double * const water_table_depth,
double * const soil_pressure,
double * const soil_psi,
double * const sat_liq,
double * const sat_ice);
double * const sat_liq);

void ats_get_water_fluxes(ELM_ATSDriver_ptr ats,
double * const soil_infiltration,
Expand Down

0 comments on commit 347a002

Please sign in to comment.