next up previous contents
Next: Local Function ch_psidoubleprime() Up: Functions Previous: Global Function ch_residual_vector_2d()   Contents


Global Function ch_residual_vector_3d()

This evaluates the nonlinear finite difference approximation to the residuals $R_i$. Note that it loops on the interior points and the boundary separately, to avoid conditional statements within the double loop over the local grid indices.

Thus far, only periodic boundary conditions work.

int ch_residual_vector_3d ( Vec X, Vec F, void* ptr )


\begin{cxrefarglist}
\cxrefargitem{int ch\_residual\_vector\_3d} It returns zero...
...refargitem{void* ptr} Data passed in the application context.
\end{cxrefarglist}



root 2002-06-18