ASU-CompMethodsPhysics-PHY494 / PHY494-assignments-skeleton

Homework assignments and layout for the private assignment repos.
1 stars 6 forks source link

Makeup 02: inconsistent initial conditions #5

Closed orbeckst closed 7 years ago

orbeckst commented 8 years ago

The problem description states as initial conditions T(x, 0) = Tmin.

However, the tests are based on a solution that implemented

    # initial conditions
    T[1:-1] = Tin
    # boundary conditions
    T[0] = T_diurnal(0, Tmin, Tmax)
    T[-1] = Tin

This made it difficult to get the TestCrankNicholson_T.test_solution test to pass.

orbeckst commented 8 years ago

@ianmkenney : when grading Makeup 02 then it will be ok if students