File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -623,7 +623,7 @@ \subsubsection{1-d}
623623A higher-order method is to do linear reconstruction of the coarse
624624data and then average under the profile, e.g.,
625625\begin {equation }
626- \phi (x) = \frac {\phi ^c_{i +1} - \phi ^c_{i -1}}{2\dx ^c} (x - x_i ^c) + \phi _i ^c
626+ \phi (x) = \frac {\phi ^c_{j +1} - \phi ^c_{j -1}}{2\dx ^c} (x - x_j ^c) + \phi _j ^c
627627\end {equation }
628628
629629To second-order, we can find the values of $ \phi ^f_i$ and
@@ -635,8 +635,8 @@ \subsubsection{1-d}
635635\end {align }
636636giving
637637\begin {align }
638- \phi ^f_i &= \phi ^c_i - \frac {1}{8} (\phi ^c_{i +1} - \phi ^c_{i -1}) \\
639- \phi ^f_{i+1} &= \phi ^c_i + \frac {1}{8} (\phi ^c_{i +1} - \phi ^c_{i -1})
638+ \phi ^f_i &= \phi ^c_j - \frac {1}{8} (\phi ^c_{j +1} - \phi ^c_{j -1}) \\
639+ \phi ^f_{i+1} &= \phi ^c_j + \frac {1}{8} (\phi ^c_{j +1} - \phi ^c_{j -1})
640640\end {align }
641641Notice that this is conservative, since $ \dx ^f (\phi ^f_i + \phi ^f_{i+1}) = \dx ^c \phi ^c_j$ .
642642
You can’t perform that action at this time.
0 commit comments