FMS  2024.03
Flexible Modeling System
get_num_blocks_child Interface Reference

Private c function that determines the number of blocks with block_name that belong to a parent block with parent_block_id in the yaml file (see yaml_parser_binding.c) More...

Private Member Functions

integer(kind=c_int) function get_num_blocks_child (file_id, block_name, parent_block_id)
 

Detailed Description

Private c function that determines the number of blocks with block_name that belong to a parent block with parent_block_id in the yaml file (see yaml_parser_binding.c)

Returns
Number of blocks with block_name

Definition at line 178 of file yaml_parser.F90.

Constructor & Destructor Documentation

◆ get_num_blocks_child()

integer(kind=c_int) function get_num_blocks_child ( integer(kind=c_int), intent(in)  file_id,
character(kind=c_char), dimension(*), intent(in)  block_name,
integer(kind=c_int)  parent_block_id 
)
private
Parameters
[in]file_idFile id of the yaml file to search
[in]block_nameThe name of the block you are looking for
parent_block_idId of the parent block

Definition at line 178 of file yaml_parser.F90.


The documentation for this interface was generated from the following file: