Skip to content
Snippets Groups Projects
Commit 7ebb1256 authored by Dave Whipp's avatar Dave Whipp
Browse files

Fixed typo

parent 2b837795
No related branches found
No related tags found
No related merge requests found
...@@ -189,14 +189,14 @@ do ileaves=1,osolve%nleaves ...@@ -189,14 +189,14 @@ do ileaves=1,osolve%nleaves
endif endif
enddo enddo
enddo enddo
if (kfix(ileaves) < 1) then if (idof1 == 3) then
if (idof1 == 3) then if (kfix((osolve%icon(k1,ileaves)-1)*ndof+idof1) < 1) then
iloc=ifind_loc_wsmp(i1loc,i1,ja,ia,n_iproc,nz_loc) iloc=ifind_loc_wsmp(i1loc,i1,ja,ia,n_iproc,nz_loc)
elem_dz=(osolve%icon(5,ileaves)-osolve%icon(1,ileaves))*params%vex elem_dz=(osolve%icon(5,ileaves)-osolve%icon(1,ileaves))*params%vex
if (k1 < 5) then if (k1 < 5) then
avals(iloc)=avals(iloc)-(params%dt*weightel(ileaves))/(2*elem_dz) avals(iloc)=avals(iloc)-(params%dt*weightel(ileaves))/(2.d0*elem_dz)
else else
avals(iloc)=avals(iloc)+(params%dt*weightel(ileaves))/(2*elem_dz) avals(iloc)=avals(iloc)+(params%dt*weightel(ileaves))/(2.d0*elem_dz)
endif endif
endif endif
endif endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment