Redoing residual and jac.

This commit is contained in:
Anne de Jong 2017-01-19 18:21:54 +01:00
parent c818655c0c
commit b7bd1df4aa

View File

@ -237,7 +237,7 @@ us Duct::getNEqs(const TaSystem& sys) const {
us number_eqs = 4; us number_eqs = 4;
// When we have to solve a solid heat balance // When we have to solve a solid heat balance
number_eqs+= (_ductpb.stempmodel() == pb::HeatBalance ? : 0); number_eqs+= (_ductpb.stempmodel() == pb::HeatBalance ? 1 : 0);
us neqs = Ns*number_eqs*(ngp()-1); us neqs = Ns*number_eqs*(ngp()-1);