Ignore:
Timestamp:
Mar 8, 2019 6:04:30 PM (5 years ago)
Author:
forkel
Message:

Removed unused variables from chem_gasphase_mod.f90

File:
1 edited

Legend:

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

    r3458 r3789  
    1919//$Id:
    2020//
     21// removal of unnecessary variables (Ntotal, TSTART)                        (08.03.2019 forkel)
     22//
    2123// Added vector switch and creation of dimension statement (rev. 3260, 18.09.2018, ketelsen)
    2224//
     
    167169    }
    168170
     171//  Remove Ntotal since it is unused
     172
     173    if(ip->get_token(3) == "Ntotal") {
     174      lo_line.insert(0,"!DELETE ");
     175    cout << lo_line << endl;
     176    }
     177
     178
    169179
    170180    ip->set_line(lo_line);
     
    390400
    391401    if(ip->get_token_number_from_string("RTOLS") > 0) {
     402    cout << lo_line << endl;
     403      lo_line.insert(0,"!DELETE ");
     404    cout << lo_line << endl;
     405    }
     406
     407//  Remove    TSTART
     408
     409    if(ip->get_token_number_from_string("TSTART") > 0) {
    392410    cout << lo_line << endl;
    393411      lo_line.insert(0,"!DELETE ");
Note: See TracChangeset for help on using the changeset viewer.