module with utilities like printing a matrix, or some constants
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real, | public | :: | pi | = | acos(-1.) |
mathematical constant pi |
|
| real, | public | :: | e | = | exp(1.) |
mathematical constante e |
Prints a real matrix in a tabular form (can be improved)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real, | intent(in) | :: | A(:,:) |
matriz to be displayed |
saves two-dimensional array D to csv file filename
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real, | intent(in) | :: | D(:,:) |
array to be saved |
||
| character(len=*), | intent(in) | :: | filename |
path to the csv file |
Reads a two-column csv from file filename and stores it in D
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | filename |
path to the file |
||
| real, | intent(inout), | allocatable | :: | D(:,:) |
array containing the two columns read |