jf_test_2_mod Module

Module for the second unit test.

HISTORY

  • Izaak Beekman : 2/18/2015 : Created (refactoried original json_example.f90 file)

Variables

TypeVisibility AttributesNameInitial
character(len=*), public, parameter:: dir ='../files/'

working directory

character(len=*), public, parameter:: filename2 ='test2.json'

Subroutines

public subroutine test_2(error_cnt)

Arguments

Type IntentOptional AttributesName
integer, intent(out) :: error_cnt

Description

Populate a JSON structure and write it to a file.

public subroutine add_variables_to_input(me, variable, units, frame, center, rdata, error_cnt)

Arguments

Type IntentOptional AttributesName
type(json_value), intent(inout), pointer:: me
character(len=*), intent(in) :: variable
character(len=*), intent(in) :: units
character(len=*), intent(in) :: frame
character(len=*), intent(in) :: center
real(kind=wp), intent(in), dimension(:):: rdata
integer, intent(inout) :: error_cnt

© 2015 JSON-Fortran was written by Jacob Williams.
Documentation generated by FORD.