14.2.5 Add_to_Matrix_Equation_Ortho_Diffusion Procedure

The Add_to_Matrix_Equation_Ortho_Diffusion procedure adds the linearized version of the Ortho_Diffusion Term to the specified matrix equation. It currently assumes that there is a one-to-one correspondence between the Ortho_Diffusion locus (e.g. Cells) and the equation and variable numbering, and furthermore assumes that the locus is Cells.

Calling syntax:

call Add_to_Matrix_Equation (Diff_Term, ELLM, RHS_MV) |

Input variables:

Diff_Term |
The Ortho_Diffusion Term to be added. | ||

ELLM |
The ELL Matrix to be incremented. | ||

RHS_MV |
The right-hand side Mathematic Vector to be incremented. |

Output variables:

ELLM |
The ELL Matrix that has been incremented. | ||

RHS_MV |
The right-hand side Mathematic Vector that has been incremented. |

Internal variables:

Matrix_Columns |
Columns for the added matrix values. | ||

Matrix_Rows |
Rows for the added matrix values. | ||

Matrix_Values |
Calculated values to be added to the matrix or vector. |

The Add_to_Matrix_Equation_Ortho_Diffusion code listing contains additional documentation.

Michael L. Hall