34 AqueousTransport::AqueousTransport() :
83 cout <<
"In AqueousTransport::initLiquid we need to replace" << endl
84 <<
"LiquidTransportParams polynomial coefficients with" << endl
85 <<
"those in LiquidTransportData as in SimpleTransport." << endl;
94 for (
size_t j = 0; j <
m_nsp; j++)
95 for (
size_t k = j; k <
m_nsp; k++) {
161 for (
size_t k = 0; k <
m_nsp; k++) {
191 doublereal rp = 1.0/pres;
192 for (
size_t i = 0; i <
m_nsp; i++)
193 for (
size_t j = 0; j <
m_nsp; j++) {
194 d[ld*j + i] = rp *
m_bdiff(i,j);
218 for (
size_t k = 0; k <
m_nsp; k++) {
227 for (
size_t k = 0; k <
m_nsp; k++) {
234 for (
size_t a = 0; a <
m_nDim; a++) {
241 for (
size_t a = 0; a <
m_nDim; a++) {
249 for (
size_t i = 0; i < itop; i++) {
270 doublereal sum1 = 0.0, sum2 = 0.0;
271 for (
size_t k = 0; k <
m_nsp; k++) {
300 for (
size_t k = 0; k <
m_nsp; k++) {
328 size_t ldx,
const doublereal*
const grad_X,
329 size_t ldf, doublereal*
const fluxes)
375 for (
size_t n = 0; n <
m_nDim; n++) {
376 for (
size_t k = 0; k <
m_nsp; k++) {
378 sum[n] += fluxes[n*ldf + k];
382 for (
size_t n = 0; n <
m_nDim; n++) {
383 for (
size_t k = 0; k <
m_nsp; k++) {
384 fluxes[n*ldf + k] -= y[k]*sum[n];
410 doublereal sumxw = 0.0, sum2;
415 for (k = 0; k <
m_nsp; k++) {
418 for (k = 0; k <
m_nsp; k++) {
420 for (j = 0; j <
m_nsp; j++) {
454 "negative temperature "+
fp2str(t));
521 for (
size_t k = 0; k <
m_nsp; k++) {
533 for (
size_t k = 0; k <
m_nsp; k++) {
537 for (
size_t k = 0; k <
m_nsp; k++) {
555 for (
size_t i = 0; i <
m_nsp; i++) {
556 for (
size_t j = i; j <
m_nsp; j++) {
563 for (
size_t i = 0; i <
m_nsp; i++) {
564 for (
size_t j = i; j <
m_nsp; j++) {
583 for (
size_t k = 0; k <
m_nsp; k++) {
588 for (
size_t k = 0; k <
m_nsp; k++) {
605 doublereal vratiokj, wratiojk, factor1;
612 for (
size_t j = 0; j <
m_nsp; j++) {
613 for (
size_t k = j; k <
m_nsp; k++) {
620 m_phi(k,j) = factor1*factor1 /
622 m_phi(j,k) =
m_phi(k,j)/(vratiokj * wratiojk);
669 for (
size_t i = 0; i <
m_nsp; i++) {
670 for (
size_t a = 0; a < VIM; a++) {
683 for (
size_t j = 0; j <
m_nsp; j++) {
686 for (
size_t i = 1; i <
m_nsp; i++) {
688 for (
size_t j = 0; j <
m_nsp; j++) {
708 for (
size_t j = 0; j <
m_nsp; j++) {
711 for (
size_t i = 1; i <
m_nsp; i++) {
714 for (
size_t j = 0; j <
m_nsp; j++) {
736 for (
size_t j = 0; j <
m_nsp; j++) {
739 for (
size_t i = 1; i <
m_nsp; i++) {
743 for (
size_t j = 0; j <
m_nsp; j++) {
761 printf(
"unimplemented\n");