Relations involving temperature

Differentiations

\[\sumzc \sumyc \sumxc T \dif{q}{\gcs{1}} = - \sumzc \sumyc \left( \vat{\left(T q\right)}{\frac{1}{2}} + \sumxf \dif{T}{\gcs{1}} q - \vat{\left(T q\right)}{\ngp{1} + \frac{1}{2}} \right).\]
\[\sumzc \sumyc \sumxc T \dif{q}{\gcs{2}} = - \sumzc \sumyf \sumxc \dif{T}{\gcs{2}} q.\]
\[\sumzc \sumyc \sumxc T \dif{q}{\gcs{3}} = - \sumzf \sumyc \sumxc \dif{T}{\gcs{3}} q.\]

Averages

\[\sumzc \sumyc \sumxc T \ave{q}{\gcs{1}} = \sumzc \sumyc \left( \vat{T}{1} \frac{\vat{q}{\frac{1}{2}}}{2} + \sum_{i = \frac{3}{2}}^{\ngp{1} - \frac{1}{2}} \ave{T}{\gcs{1}} q + \vat{T}{\ngp{1}} \frac{\vat{q}{\ngp{1} + \frac{1}{2}}}{2} \right).\]
\[\sumzc \sumyc \sumxc T \ave{q}{\gcs{2}} = \sumzc \sumyf \sumxc \ave{T}{\gcs{2}} q.\]
\[\sumzc \sumyc \sumxc T \ave{q}{\gcs{3}} = \sumzf \sumyc \sumxc \ave{T}{\gcs{3}} q.\]