Changeset 792 for trunk


Ignore:
Timestamp:
Jul 31, 2007 5:30:57 PM (17 years ago)
Author:
mmc
Message:

This example had "K" for both units conversions, so the Ef conversion
didn't work properly. Fixed now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/app-fermi/fortran/fermi.f

    r665 r792  
    3333        call rp_lib_get(driver,
    3434     +        "input.number(Ef).current", strVal)
    35         ok = rp_units_convert_dbl(strVal,"K",Ef)
     35        ok = rp_units_convert_dbl(strVal,"eV",Ef)
    3636
    3737        kT = 8.61734e-5 * T
Note: See TracChangeset for help on using the changeset viewer.