Ignore:
Timestamp:
Jan 24, 2018 3:38:29 PM (4 years ago)
Author:
kanani
Message:

Added parameter check, reduced line length, some formatting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/UTIL/chemistry/gasphase_preproc/kpp4palm/src/create_kpp_module.C

    r2696 r2768  
    1212//Current revisions:
    1313//------------------
    14 //
    15 //
     14/
     15/ 
    1616//Former revisions:
    1717//-----------------
    1818//$Id: create_kpp_module.C 2470 2017-09-14 13:56:42Z forkel $
     19// Removed preprocessor directive __chem again
     20//
     21/ 2017-09-14 13:56:42Z forkel $
    1922//
    2023//
     
    5255// Generate first module lines
    5356
    54    string first_line="MODULE " + module_name;
    55    mz_kpp.add_line(first_line);
    56    mz_kpp.add_line(" ");
    57    mz_kpp.add_line("#if defined( __chem )");
    58    mz_kpp.add_line(" ");
     57     string first_line="MODULE " + module_name;
     58     mz_kpp.add_line(first_line);
     59     mz_kpp.add_line("!");
     60//   mz_kpp.add_line("#if defined( __chem )");
     61//   mz_kpp.add_line(" ");
    5962
    6063//    string e5_line = first_line +"_e5";
     
    221224// Finish module
    222225
    223    mz_kpp.add_line("#endif");
    224    string last_line="END MODULE " + module_name;
    225    mz_kpp.add_line("");
    226    mz_kpp.add_line(last_line);
     226//   mz_kpp.add_line("#endif");
     227     string last_line="END MODULE " + module_name;
     228     mz_kpp.add_line("");
     229     mz_kpp.add_line(last_line);
    227230
    228231// Handle e5 module
Note: See TracChangeset for help on using the changeset viewer.