@@ -116,7 +116,7 @@ module json_file_module
116
116
#ifndef REAL32
117
117
MAYBEWRAP(json_file_get_real32), &
118
118
#endif
119
- MAYBEWRAP(json_file_get_double), &
119
+ MAYBEWRAP(json_file_get_real), &
120
120
#ifdef REAL128
121
121
MAYBEWRAP(json_file_get_real64), &
122
122
#endif
@@ -126,7 +126,7 @@ module json_file_module
126
126
#ifndef REAL32
127
127
MAYBEWRAP(json_file_get_real32_vec), &
128
128
#endif
129
- MAYBEWRAP(json_file_get_double_vec), &
129
+ MAYBEWRAP(json_file_get_real_vec), &
130
130
#ifdef REAL128
131
131
MAYBEWRAP(json_file_get_real64_vec), &
132
132
#endif
@@ -157,7 +157,7 @@ module json_file_module
157
157
#ifndef REAL32
158
158
MAYBEWRAP(json_file_add_real32), &
159
159
#endif
160
- MAYBEWRAP(json_file_add_double), &
160
+ MAYBEWRAP(json_file_add_real), &
161
161
#ifdef REAL128
162
162
MAYBEWRAP(json_file_add_real64), &
163
163
#endif
@@ -167,7 +167,7 @@ module json_file_module
167
167
#ifndef REAL32
168
168
MAYBEWRAP(json_file_add_real32_vec), &
169
169
#endif
170
- MAYBEWRAP(json_file_add_double_vec), &
170
+ MAYBEWRAP(json_file_add_real_vec), &
171
171
#ifdef REAL128
172
172
MAYBEWRAP(json_file_add_real64_vec), &
173
173
#endif
@@ -248,7 +248,7 @@ module json_file_module
248
248
#ifndef REAL32
249
249
procedure :: MAYBEWRAP(json_file_get_real32)
250
250
#endif
251
- procedure :: MAYBEWRAP(json_file_get_double )
251
+ procedure :: MAYBEWRAP(json_file_get_real )
252
252
#ifdef REAL128
253
253
procedure :: MAYBEWRAP(json_file_get_real64)
254
254
#endif
@@ -258,7 +258,7 @@ module json_file_module
258
258
#ifndef REAL32
259
259
procedure :: MAYBEWRAP(json_file_get_real32_vec)
260
260
#endif
261
- procedure :: MAYBEWRAP(json_file_get_double_vec )
261
+ procedure :: MAYBEWRAP(json_file_get_real_vec )
262
262
#ifdef REAL128
263
263
procedure :: MAYBEWRAP(json_file_get_real64_vec)
264
264
#endif
@@ -273,7 +273,7 @@ module json_file_module
273
273
#ifndef REAL32
274
274
procedure :: MAYBEWRAP(json_file_add_real32)
275
275
#endif
276
- procedure :: MAYBEWRAP(json_file_add_double )
276
+ procedure :: MAYBEWRAP(json_file_add_real )
277
277
#ifdef REAL128
278
278
procedure :: MAYBEWRAP(json_file_add_real64)
279
279
#endif
@@ -283,7 +283,7 @@ module json_file_module
283
283
#ifndef REAL32
284
284
procedure :: MAYBEWRAP(json_file_add_real32_vec)
285
285
#endif
286
- procedure :: MAYBEWRAP(json_file_add_double_vec )
286
+ procedure :: MAYBEWRAP(json_file_add_real_vec )
287
287
#ifdef REAL128
288
288
procedure :: MAYBEWRAP(json_file_add_real64_vec)
289
289
#endif
@@ -1404,7 +1404,7 @@ end subroutine wrap_json_file_get_integer_vec
1404
1404
!
1405
1405
! Get a real(RK) variable value from a JSON file.
1406
1406
1407
- subroutine json_file_get_double (me , path , val , found )
1407
+ subroutine json_file_get_real (me , path , val , found )
1408
1408
1409
1409
implicit none
1410
1410
@@ -1415,14 +1415,14 @@ subroutine json_file_get_double (me, path, val, found)
1415
1415
1416
1416
call me% core% get(me% p, path= path, value= val, found= found)
1417
1417
1418
- end subroutine json_file_get_double
1418
+ end subroutine json_file_get_real
1419
1419
! *****************************************************************************************
1420
1420
1421
1421
! *****************************************************************************************
1422
1422
! >
1423
- ! Alternate version of [[json_file_get_double ]], where "path" is kind=CDK.
1423
+ ! Alternate version of [[json_file_get_real ]], where "path" is kind=CDK.
1424
1424
1425
- subroutine wrap_json_file_get_double (me , path , val , found )
1425
+ subroutine wrap_json_file_get_real (me , path , val , found )
1426
1426
1427
1427
implicit none
1428
1428
@@ -1433,7 +1433,7 @@ subroutine wrap_json_file_get_double (me, path, val, found)
1433
1433
1434
1434
call me% get(to_unicode(path), val, found)
1435
1435
1436
- end subroutine wrap_json_file_get_double
1436
+ end subroutine wrap_json_file_get_real
1437
1437
! *****************************************************************************************
1438
1438
1439
1439
! *****************************************************************************************
@@ -1442,7 +1442,7 @@ end subroutine wrap_json_file_get_double
1442
1442
!
1443
1443
! Get a real(RK) vector from a JSON file.
1444
1444
1445
- subroutine json_file_get_double_vec (me , path , vec , found )
1445
+ subroutine json_file_get_real_vec (me , path , vec , found )
1446
1446
1447
1447
implicit none
1448
1448
@@ -1453,14 +1453,14 @@ subroutine json_file_get_double_vec(me, path, vec, found)
1453
1453
1454
1454
call me% core% get(me% p, path, vec, found)
1455
1455
1456
- end subroutine json_file_get_double_vec
1456
+ end subroutine json_file_get_real_vec
1457
1457
! *****************************************************************************************
1458
1458
1459
1459
! *****************************************************************************************
1460
1460
! >
1461
- ! Alternate version of [[json_file_get_double_vec ]], where "path" is kind=CDK.
1461
+ ! Alternate version of [[json_file_get_real_vec ]], where "path" is kind=CDK.
1462
1462
1463
- subroutine wrap_json_file_get_double_vec (me , path , vec , found )
1463
+ subroutine wrap_json_file_get_real_vec (me , path , vec , found )
1464
1464
1465
1465
implicit none
1466
1466
@@ -1471,15 +1471,15 @@ subroutine wrap_json_file_get_double_vec(me, path, vec, found)
1471
1471
1472
1472
call me% get(to_unicode(path), vec, found)
1473
1473
1474
- end subroutine wrap_json_file_get_double_vec
1474
+ end subroutine wrap_json_file_get_real_vec
1475
1475
! *****************************************************************************************
1476
1476
1477
1477
#ifndef REAL32
1478
1478
! *****************************************************************************************
1479
1479
! > author: Jacob Williams
1480
1480
! date: 1/21/2019
1481
1481
!
1482
- ! Alternate version of [[json_file_get_double ]] where `val` is `real32`.
1482
+ ! Alternate version of [[json_file_get_real ]] where `val` is `real32`.
1483
1483
1484
1484
subroutine json_file_get_real32 (me , path , val , found )
1485
1485
@@ -1517,7 +1517,7 @@ end subroutine wrap_json_file_get_real32
1517
1517
! > author: Jacob Williams
1518
1518
! date: 1/21/2019
1519
1519
!
1520
- ! Alternate version of [[json_file_get_double_vec ]] where `vec` is `real32`.
1520
+ ! Alternate version of [[json_file_get_real_vec ]] where `vec` is `real32`.
1521
1521
1522
1522
subroutine json_file_get_real32_vec (me , path , vec , found )
1523
1523
@@ -1557,7 +1557,7 @@ end subroutine wrap_json_file_get_real32_vec
1557
1557
! > author: Jacob Williams
1558
1558
! date: 1/21/2019
1559
1559
!
1560
- ! Alternate version of [[json_file_get_double ]] where `val` is `real64`.
1560
+ ! Alternate version of [[json_file_get_real ]] where `val` is `real64`.
1561
1561
1562
1562
subroutine json_file_get_real64 (me , path , val , found )
1563
1563
@@ -1595,7 +1595,7 @@ end subroutine wrap_json_file_get_real64
1595
1595
! > author: Jacob Williams
1596
1596
! date: 1/21/2019
1597
1597
!
1598
- ! Alternate version of [[json_file_get_double_vec ]] where `vec` is `real64`.
1598
+ ! Alternate version of [[json_file_get_real_vec ]] where `vec` is `real64`.
1599
1599
1600
1600
subroutine json_file_get_real64_vec (me , path , vec , found )
1601
1601
@@ -1960,7 +1960,7 @@ end subroutine wrap_json_file_add_integer_vec
1960
1960
!
1961
1961
! Add a real(RK) variable value to a JSON file.
1962
1962
1963
- subroutine json_file_add_double (me ,path ,val ,found ,was_created )
1963
+ subroutine json_file_add_real (me ,path ,val ,found ,was_created )
1964
1964
1965
1965
implicit none
1966
1966
@@ -1974,15 +1974,15 @@ subroutine json_file_add_double(me,path,val,found,was_created)
1974
1974
1975
1975
call me% core% add_by_path(me% p,path,val,found,was_created)
1976
1976
1977
- end subroutine json_file_add_double
1977
+ end subroutine json_file_add_real
1978
1978
! *****************************************************************************************
1979
1979
1980
1980
! *****************************************************************************************
1981
1981
! > author: Jacob Williams
1982
1982
!
1983
- ! Alternate version of [[json_file_add_double ]], where "path" is kind=CDK.
1983
+ ! Alternate version of [[json_file_add_real ]], where "path" is kind=CDK.
1984
1984
1985
- subroutine wrap_json_file_add_double (me ,path ,val ,found ,was_created )
1985
+ subroutine wrap_json_file_add_real (me ,path ,val ,found ,was_created )
1986
1986
1987
1987
implicit none
1988
1988
@@ -1992,17 +1992,17 @@ subroutine wrap_json_file_add_double(me,path,val,found,was_created)
1992
1992
logical (LK),intent (out ),optional :: found ! ! if the variable was found
1993
1993
logical (LK),intent (out ),optional :: was_created ! ! if the variable had to be created
1994
1994
1995
- call me% json_file_add_double (to_unicode(path),val,found,was_created)
1995
+ call me% json_file_add_real (to_unicode(path),val,found,was_created)
1996
1996
1997
- end subroutine wrap_json_file_add_double
1997
+ end subroutine wrap_json_file_add_real
1998
1998
! *****************************************************************************************
1999
1999
2000
2000
! *****************************************************************************************
2001
2001
! > author: Jacob Williams
2002
2002
!
2003
2003
! Add a real(RK) vector to a JSON file.
2004
2004
2005
- subroutine json_file_add_double_vec (me ,path ,vec ,found ,was_created )
2005
+ subroutine json_file_add_real_vec (me ,path ,vec ,found ,was_created )
2006
2006
2007
2007
implicit none
2008
2008
@@ -2016,15 +2016,15 @@ subroutine json_file_add_double_vec(me,path,vec,found,was_created)
2016
2016
2017
2017
call me% core% add_by_path(me% p,path,vec,found,was_created)
2018
2018
2019
- end subroutine json_file_add_double_vec
2019
+ end subroutine json_file_add_real_vec
2020
2020
! *****************************************************************************************
2021
2021
2022
2022
! *****************************************************************************************
2023
2023
! > author: Jacob Williams
2024
2024
!
2025
- ! Alternate version of [[json_file_add_double_vec ]], where "path" is kind=CDK.
2025
+ ! Alternate version of [[json_file_add_real_vec ]], where "path" is kind=CDK.
2026
2026
2027
- subroutine wrap_json_file_add_double_vec (me ,path ,vec ,found ,was_created )
2027
+ subroutine wrap_json_file_add_real_vec (me ,path ,vec ,found ,was_created )
2028
2028
2029
2029
implicit none
2030
2030
@@ -2034,16 +2034,16 @@ subroutine wrap_json_file_add_double_vec(me,path,vec,found,was_created)
2034
2034
logical (LK),intent (out ),optional :: found ! ! if the variable was found
2035
2035
logical (LK),intent (out ),optional :: was_created ! ! if the variable had to be created
2036
2036
2037
- call me% json_file_add_double_vec (to_unicode(path),vec,found,was_created)
2037
+ call me% json_file_add_real_vec (to_unicode(path),vec,found,was_created)
2038
2038
2039
- end subroutine wrap_json_file_add_double_vec
2039
+ end subroutine wrap_json_file_add_real_vec
2040
2040
! *****************************************************************************************
2041
2041
2042
2042
#ifndef REAL32
2043
2043
! *****************************************************************************************
2044
2044
! > author: Jacob Williams
2045
2045
!
2046
- ! Alternate version of [[json_file_add_double ]] where `val` is `real32`.
2046
+ ! Alternate version of [[json_file_add_real ]] where `val` is `real32`.
2047
2047
2048
2048
subroutine json_file_add_real32 (me ,path ,val ,found ,was_created )
2049
2049
@@ -2083,7 +2083,7 @@ end subroutine wrap_json_file_add_real32
2083
2083
! *****************************************************************************************
2084
2084
! > author: Jacob Williams
2085
2085
!
2086
- ! Alternate version of [[json_file_add_double_vec ]] where `vec` is `real32`.
2086
+ ! Alternate version of [[json_file_add_real_vec ]] where `vec` is `real32`.
2087
2087
2088
2088
subroutine json_file_add_real32_vec (me ,path ,vec ,found ,was_created )
2089
2089
@@ -2125,7 +2125,7 @@ end subroutine wrap_json_file_add_real32_vec
2125
2125
! *****************************************************************************************
2126
2126
! > author: Jacob Williams
2127
2127
!
2128
- ! Alternate version of [[json_file_add_double ]] where `val` is `real64`.
2128
+ ! Alternate version of [[json_file_add_real ]] where `val` is `real64`.
2129
2129
2130
2130
subroutine json_file_add_real64 (me ,path ,val ,found ,was_created )
2131
2131
@@ -2165,7 +2165,7 @@ end subroutine wrap_json_file_add_real64
2165
2165
! *****************************************************************************************
2166
2166
! > author: Jacob Williams
2167
2167
!
2168
- ! Alternate version of [[json_file_add_double_vec ]] where `vec` is `real64`.
2168
+ ! Alternate version of [[json_file_add_real_vec ]] where `vec` is `real64`.
2169
2169
2170
2170
subroutine json_file_add_real64_vec (me ,path ,vec ,found ,was_created )
2171
2171
@@ -2600,9 +2600,6 @@ end subroutine wrap_json_file_update_logical
2600
2600
! Given the path string, if the variable is present in the file,
2601
2601
! and is a scalar, then update its value.
2602
2602
! If it is not present, then create it and set its value.
2603
- !
2604
- ! ### See also
2605
- ! * [[json_update_double]]
2606
2603
2607
2604
subroutine json_file_update_real (me ,path ,val ,found )
2608
2605
0 commit comments