A non-inertial reference frame is a frame of reference that undergoes acceleration with respect to an inertial frame. An accelerometer at rest in a non-inertial frame will, in general, detect a non-zero acceleration. While the laws of motion are the same in all inertial frames, in non-inertial frames, they vary from frame to frame depending on the acceleration. In classical mechanics the motion of bodies in non-inertial reference frames is modeled by introducing additional forces (d'Alembert forces) to inertial reference frames in order to account for the inertia effects that are appearing in this situation. Because in principle they don't belong to the modeling of an inertial frame in terms of Newton's second law such inertial effects are called fictitious forces. They might be called inertial forces or pseudo forces, too. Common examples of this include the Coriolis force and the centrifugal force. In general, the expression for any fictitious force can be derived from the acceleration of the non-inertial frame. As stated by Goodman and Warner, "One might say that F ma holds in any coordinate system provided the term 'force' is redefined to include the so-called 'reversed effective forces' or 'inertia forces'." In the theory of general relativity, the curvature of spacetime causes frames to be locally inertial, but globally non-inertial. Due to the non-Euclidean geometry of curved space-time, there are no global inertial reference frames in general relativity. More specifically, the fictitious force which appears in general relativity is the force of gravity. Avoiding fictitious forces in calculations In flat spacetime, the use of non-inertial frames can be avoided if desired. Measurements with respect to non-inertial reference frames can always be transformed to an inertial frame, incorporating directly the acceleration of the non-inertial frame as that acceleration as seen from the inertial frame. This approach avoids use of fictitious forces (it is based on an inertial frame, where fictitious forces are absent, by definition) but it may be less convenient from an intuitive, observational, and even a calculational viewpoint. As pointed out by Ryder for the case of rotating frames as used in meteorology: Detection of a non-inertial frame: need for fictitious forces That a given frame is non-inertial can be detected by its need for fictitious forces to explain observed motions. For example, the rotation of the Earth can be observed using a Foucault pendulum. The rotation of the Earth seemingly causes the pendulum to change