jf_test_2_mod Module

module~~jf_test_2_mod~~UsesGraph module~jf_test_2_mod jf_test_2_mod module~json_module json_module module~json_module->module~jf_test_2_mod iso_fortran_env iso_fortran_env iso_fortran_env->module~jf_test_2_mod iso_fortran_env->module~json_module
Help

Module for the second unit test.

HISTORY

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

Used By

module~~jf_test_2_mod~~UsedByGraph module~jf_test_2_mod jf_test_2_mod program~jf_test_2 jf_test_2 module~jf_test_2_mod->program~jf_test_2
Help

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), , 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