Updated IfshInterface to match changes to opmpressure (which used to be libmimetic,

still in 'libmimetic' subdir).
This commit is contained in:
Atgeirr Flø Rasmussen 2010-10-12 10:40:00 +00:00
parent ab2e260f53
commit a1b451c77f

View File

@ -127,7 +127,6 @@ public:
} }
// Boundary conditions. // Boundary conditions.
assert (FBC_UNSET == UNSET && FBC_PRESSURE == PRESSURE && FBC_FLUX == FLUX);
int num_faces = grid_.c_grid()->number_of_faces; int num_faces = grid_.c_grid()->number_of_faces;
assert(num_faces == int(bctypes.size())); assert(num_faces == int(bctypes.size()));
std::vector<flowbc_type> bctypes2(num_faces, UNSET); std::vector<flowbc_type> bctypes2(num_faces, UNSET);
@ -163,8 +162,8 @@ public:
data_->b[i] = 0.0; data_->b[i] = 0.0;
} }
// Assemble the embedded linear system.
ifsh_assemble(&bc, src, Binv, gpress, wctrl, WI, wdp, totmob, omega, data_); ifsh_assemble(&bc, src, Binv, gpress, wctrl, WI, wdp, totmob, omega, data_);
state_ = Assembled; state_ = Assembled;
} }