json_value_create_double Subroutine

private subroutine json_value_create_double(me, val, name)

Arguments

Type IntentOptional AttributesName
type(json_value), , pointer:: me
real(kind=RK), intent(in) :: val
character(kind=CK,len=*), intent(in) :: name

Description

Allocate a json_value pointer and make it a real(RK) variable. The pointer should not already be allocated.

Example

     type(json_value),pointer :: p
     call json_create(p,'value',1.0d0)

Calls

proc~~json_value_create_double~~CallsGraph proc~json_value_create_double json_value_create_double proc~json_value_create json_value_create proc~json_value_create_double->proc~json_value_create proc~to_double to_double proc~json_value_create_double->proc~to_double proc~destroy_json_data destroy_json_data proc~to_double->proc~destroy_json_data
Help

Called By

proc~~json_value_create_double~~CalledByGraph proc~json_value_create_double json_value_create_double proc~wrap_json_value_create_double wrap_json_value_create_double proc~wrap_json_value_create_double->proc~json_value_create_double interface~json_create_double json_create_double interface~json_create_double->proc~json_value_create_double proc~test_10 test_10 proc~test_10->interface~json_create_double program~jf_test_10 jf_test_10 program~jf_test_10->proc~test_10
Help

Source Code

    subroutine json_value_create_double(me,val,name)

    implicit none

    type(json_value),pointer            :: me
    character(kind=CK,len=*),intent(in) :: name
    real(RK),intent(in)                 :: val

    call json_value_create(me)
    call to_double(me,val,name)

    end subroutine json_value_create_double