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


Local Function ch_psidoubleprime()

This calculates the second derivative of homogeneous free energy with respect to concentration, for insertion into the Jacobian matrix. See the ch_psiprime function for the definition of $\Psi$.

static inline PetscScalar ch_psidoubleprime ( PetscScalar C, PetscScalar mparam )


\begin{cxrefarglist}
\cxrefargitem{PetscScalar C} The concentration.
\cxrefargitem{PetscScalar mparam} The model parameter
$m$.
\par\end{cxrefarglist}

inline PetscScalar ch_psidoubleprime It returns the second derivative $\Psi''(C)$.



root 2002-06-18