Skip to content

Commit

Permalink
Update interface
Browse files Browse the repository at this point in the history
  • Loading branch information
akashdhruv committed Dec 5, 2024
1 parent 7224bb4 commit f3e6646
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions Source/LandSurfaceModel/NOAH/ERF_NOAH.H
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,8 @@ public:

private:

// C++ variable for NoahmpIO struct
NoahmpIO_struct noahmp_io;
NoahmpIO_arrays noahmp_arr;
// C++ variable for NoahmpIO type
NoahmpIO_type noahmpio;

};
#endif
4 changes: 2 additions & 2 deletions Source/LandSurfaceModel/NOAH/ERF_NOAH.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ NOAH::Init (const MultiFab& cons_in,
// Initialize Noahmp IO
amrex::Print() << "Initializing Noahmp IO" << std::endl;

NoahmpIOVarInit(&noahmp_io, &noahmp_arr);
NoahmpInitMain(&noahmp_io);
NoahmpIOVarInitDefault(&noahmpio);
NoahmpInitMain(&noahmpio);

amrex::Print() << "Noahmp IO Initialized" << std::endl;
};

0 comments on commit f3e6646

Please sign in to comment.