dm_nml_from Interface

public interface dm_nml_from

Converts type to static or allocatable namelist string.

Called by

interface~~dm_nml_from~~CalledByGraph interface~dm_nml_from dm_nml_from proc~dm_z_compress_type dm_z_compress_type proc~dm_z_compress_type->interface~dm_nml_from proc~dm_rpc_post_type dm_rpc_post_type proc~dm_rpc_post_type->proc~dm_z_compress_type proc~dm_rpc_post_types dm_rpc_post_types proc~dm_rpc_post_types->proc~dm_z_compress_type proc~dm_z_compress_types dm_z_compress_types proc~dm_z_compress_types->proc~dm_z_compress_type interface~dm_rpc_post dm_rpc_post interface~dm_rpc_post->proc~dm_rpc_post_type interface~dm_rpc_post->proc~dm_rpc_post_types

Module Procedures

private function nml_from_beat(beat, string) result(rc)

Writes beat namelist to string. The passed character string must have a minimum length of NML_BEAT_LEN. Returns E_WRITE on error.

Arguments

Type IntentOptional Attributes Name
type(beat_type), intent(inout) :: beat

Beat type.

character(len=*), intent(inout) :: string

Output string.

Return Value integer

private function nml_from_log(log, string) result(rc)

Writes log namelist to string. The passed character string must have a minimum length of NML_LOG_LEN. Returns E_WRITE on error.

Arguments

Type IntentOptional Attributes Name
type(log_type), intent(inout) :: log

Log type.

character(len=*), intent(inout) :: string

Output string.

Return Value integer

private function nml_from_node(node, string) result(rc)

Writes node namelist to string. The passed character string must have a minimum length of NML_NODE_LEN. Returns E_WRITE on error.

Arguments

Type IntentOptional Attributes Name
type(node_type), intent(inout) :: node

Node type.

character(len=*), intent(inout) :: string

Output string.

Return Value integer

private function nml_from_observ(observ, string) result(rc)

Writes observation namelist to string. The passed character string must have a minimum length of NML_OBSERV_LEN. Returns E_WRITE on error.

Arguments

Type IntentOptional Attributes Name
type(observ_type), intent(inout) :: observ

Observation type.

character(len=*), intent(inout) :: string

Output string.

Return Value integer

private function nml_from_sensor(sensor, string) result(rc)

Writes sensor namelist to string. The passed character string must have a minimum length of NML_SENSOR_LEN. Returns E_WRITE on error.

Arguments

Type IntentOptional Attributes Name
type(sensor_type), intent(inout) :: sensor

Sensor type.

character(len=*), intent(inout) :: string

Output string.

Return Value integer

private function nml_from_target(target, string) result(rc)

Writes target namelist to string. The passed character string must have a minimum length of NML_TARGET_LEN. Returns E_WRITE on error.

Arguments

Type IntentOptional Attributes Name
type(target_type), intent(inout) :: target

Target type.

character(len=*), intent(inout) :: string

Output string.

Return Value integer

private function nml_from_beat_allocatable(beat, string, n) result(rc)

Writes beat namelist to allocatable string of given length. Returns E_ALLOC if allocation of string failed, or E_WRITE if the serialisation failed.

Arguments

Type IntentOptional Attributes Name
type(beat_type), intent(inout) :: beat

Beat type.

character(len=:), intent(out), allocatable :: string

Allocatable output string.

integer, intent(in) :: n

String length.

Return Value integer

private function nml_from_log_allocatable(log, string, n) result(rc)

Writes log namelist to allocatable string of given length. Returns E_ALLOC if allocation of string failed, or E_WRITE if the serialisation failed.

Arguments

Type IntentOptional Attributes Name
type(log_type), intent(inout) :: log

Log type.

character(len=:), intent(out), allocatable :: string

Allocatable output string.

integer, intent(in) :: n

String length.

Return Value integer

private function nml_from_node_allocatable(node, string, n) result(rc)

Writes node namelist to allocatable string of given length. Returns E_ALLOC if allocation of string failed, or E_WRITE if the serialisation failed.

Arguments

Type IntentOptional Attributes Name
type(node_type), intent(inout) :: node

Node type.

character(len=:), intent(out), allocatable :: string

Allocatable output string.

integer, intent(in) :: n

String length.

Return Value integer

private function nml_from_observ_allocatable(observ, string, n) result(rc)

Writes observation namelist to allocatable string of given length. Returns E_ALLOC if allocation of string failed, or E_WRITE if the serialisation failed.

Arguments

Type IntentOptional Attributes Name
type(observ_type), intent(inout) :: observ

Observation type.

character(len=:), intent(out), allocatable :: string

Allocatable output string.

integer, intent(in) :: n

String length.

Return Value integer

private function nml_from_sensor_allocatable(sensor, string, n) result(rc)

Writes sensor namelist to allocatable string of given length. Returns E_ALLOC if allocation of string failed, or E_WRITE if the serialisation failed.

Arguments

Type IntentOptional Attributes Name
type(sensor_type), intent(inout) :: sensor

Sensor type.

character(len=:), intent(out), allocatable :: string

Allocatable output string.

integer, intent(in) :: n

String length.

Return Value integer

private function nml_from_target_allocatable(target, string, n) result(rc)

Writes target namelist to allocatable string of given length. Returns E_ALLOC if allocation of string failed, or E_WRITE if the serialisation failed.

Arguments

Type IntentOptional Attributes Name
type(target_type), intent(inout) :: target

Target type.

character(len=:), intent(out), allocatable :: string

Allocatable output string.

integer, intent(in) :: n

String length.

Return Value integer