Skip to content

Commit

Permalink
CHG: fixed problem with Glads
Browse files Browse the repository at this point in the history
  • Loading branch information
hseroussi committed Jun 25, 2024
1 parent 1644d52 commit 2063a05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/c/analyses/HydrologyGlaDSAnalysis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -455,8 +455,8 @@ ElementVector* HydrologyGlaDSAnalysis::CreatePVector(Element* element){/*{{{*/

/*Transient term if dt>0*/
if(dt>0.){
factor = gauss->weight*Jdet*e_v/(rho_water*g*dt)*phi_old;
phiold_input->GetInputValue(&phi_old,gauss);
factor = gauss->weight*Jdet*e_v/(rho_water*g*dt)*phi_old;
for(int i=0;i<numnodes;i++) pe->values[i] += factor*basis[i];
}
}
Expand Down

0 comments on commit 2063a05

Please sign in to comment.