next up previous contents
Next: Global Function ch_residual_vector_3d() Up: Functions Previous: Global Function ch_jacobian_alpha_3d()   Contents


Global Function ch_residual_vector_2d()

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.

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


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



root 2002-06-18