use the update() method instead. Also, add an updateBeginTimestep() method to the DOF variables which only need to be updated once per timestep...