Skip to content

Commit

Permalink
Init P3 tables in standalone driver
Browse files Browse the repository at this point in the history
  • Loading branch information
mwarusz committed Nov 27, 2023
1 parent 27176ea commit fdd956c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions standalone/mmf_simplified/driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,10 @@ int main(int argc, char** argv) {
sgs .init( coupler );
dycore.init( coupler, verbose);

#ifdef P3_CXX
pam::p3_init_lookup_tables();
#endif

if ( (micro.micro_name() == "p3" || sgs.sgs_name() == "shoc") && crm_nz != PAM_NLEV ) {
endrun("ERROR: Running with a different number of vertical levels than compiled for");
}
Expand Down

0 comments on commit fdd956c

Please sign in to comment.