Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=8), | intent(in) | :: | x1 | the left size of the mesh boundary |
||
real(kind=8), | intent(in) | :: | x2 | the right side of the mesh boundary |
||
real(kind=8), | intent(in) | :: | delta_x | the largest element size |
||
integer(kind=4), | intent(out) | :: | n_x | the number of mesh elements |
||
real(kind=8), | , | dimension(:), allocatable | :: | x | the mesh midpoints |
creates a uniform mesh with size delta_x
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer(kind=4), | public | :: | i | ||||
integer(kind=4), | public | :: | j |