Skip to content

Commit

Permalink
fprettify styles in example files
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramy-Badr-Ahmed committed Sep 27, 2024
1 parent 12016aa commit 10f3103
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions examples/maths/numerical_integration/gaussian_legendre.f90
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function func(x) result(fx)
real(dp), intent(in) :: x
real(dp) :: fx

fx = exp(-x**2)*cos(2.0_dp * x) !! Example function to integrate
fx = exp(-x**2)*cos(2.0_dp*x) !! Example function to integrate
end function func

end program example_gaussian_quadrature
end program example_gaussian_quadrature
2 changes: 1 addition & 1 deletion examples/maths/numerical_integration/midpoint.f90
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function func(x) result(fx)
real(dp), intent(in) :: x
real(dp) :: fx

fx = exp(-x**2)*cos(2.0_dp * x) !! Example function to integrate
fx = exp(-x**2)*cos(2.0_dp*x) !! Example function to integrate
end function func

end program example_midpoint
2 changes: 1 addition & 1 deletion examples/maths/numerical_integration/monte_carlo.f90
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function func(x) result(fx)
real(dp), intent(in) :: x
real(dp) :: fx

fx = exp(-x**2) * cos(2.0_dp * x) !! Example function to integrate
fx = exp(-x**2)*cos(2.0_dp*x) !! Example function to integrate
end function func

end program example_monte_carlo
2 changes: 1 addition & 1 deletion examples/maths/numerical_integration/simpson.f90
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function func(x) result(fx)
real(dp), intent(in) :: x
real(dp) :: fx

fx = exp(-x**2)*cos(2.0_dp * x) !! Example function to integrate
fx = exp(-x**2)*cos(2.0_dp*x) !! Example function to integrate
end function func

end program example_simpson
2 changes: 1 addition & 1 deletion examples/maths/numerical_integration/trapezoid.f90
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function func(x) result(fx)
real(dp), intent(in) :: x
real(dp) :: fx

fx = exp(-x**2)*cos(2.0_dp * x) !! Example function to integrate
fx = exp(-x**2)*cos(2.0_dp*x) !! Example function to integrate
end function func

end program example_tapezoid

0 comments on commit 10f3103

Please sign in to comment.