Skip to content

Commit

Permalink
fixed minor issue. #7
Browse files Browse the repository at this point in the history
  • Loading branch information
ShufflerBardOnTheEdge committed May 31, 2022
1 parent 80d437e commit b391cfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spectral_method.f90
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ subroutine spectral_method_iter(c_in, c_prev_in,a,dt,M,k, c_out,init,stab)
if(init == 0) then
! $OMP PARALLEL WORKSHARE
ans(:,:) = (2.0*dt/(3.0+2.0*dt*M*k*k4(:,:)+2*dt*c_A*M*k2(:,:)))*(2.0*M*k2(:,:)*out_bulk(:,:)-M*k2(:,:)*&
out_bulk_prev(:,:) + M*k2(:,:)*2*dt*c_a*out(:,:) - M*k2(:,:)*c_a*dt*out_prev(:,:) + (4.0*out(:,:)-out_prev(:,:))/(2.0*dt))
out_bulk_prev(:,:) + M*k2(:,:)*2*c_a*out(:,:) - M*k2(:,:)*c_a*out_prev(:,:) + (4.0*out(:,:)-out_prev(:,:))/(2.0*dt))
! $OMP END PARALLEL WORKSHARE
else
! $OMP PARALLEL WORKSHARE
Expand Down

0 comments on commit b391cfb

Please sign in to comment.