Treatment of pulsating white dwarfs including general relativistic effects