added membrane properties to input db

This commit is contained in:
James McClure
2022-04-26 18:07:26 -04:00
parent 3e82370d6c
commit e3518e3482
6 changed files with 119 additions and 69 deletions

View File

@@ -200,7 +200,7 @@ int main(int argc, char **argv)
ScaLBL_D3Q19_AAodd_Compact(M.NeighborList, gq, Np);
/* explicit mass transfer step with the membrane*/
M.AssignCoefficients(dvcMap, Psi, "ones");
M.AssignCoefficients(dvcMap, Psi, 0.0, 1.0, 1.0, 1.0, 1.0);
M.IonTransport(gq, Cj);
ScaLBL_CopyToHost(Ci_host, Cj, sizeof(double) * Np);