source: XMLIO_SERVER/trunk/src/XMLIO/xmlio.f90 @ 17

Last change on this file since 17 was 8, checked in by ymipsl, 15 years ago

Importation des sources du serveur XMLIO

File size: 1.4 KB
Line 
1MODULE xmlio
2
3  USE mod_field
4  USE mod_field_group
5  USE mod_field_definition
6  USE mod_grid
7  USE mod_grid_group
8  USE mod_grid_definition
9  USE mod_axis
10  USE mod_axis_group
11  USE mod_axis_definition
12  USE mod_file
13  USE mod_file_group
14  USE mod_file_definition
15  USE mod_dependency
16  USE string_function
17  USE error_msg
18 
19CONTAINS
20
21  SUBROUTINE xmlio__Init(xml_file)
22  USE parsing_xml
23  IMPLICIT NONE
24    CHARACTER(LEN=*),INTENT(IN) :: xml_file
25   
26    CALL field__init
27    CALL field_group__Init
28    CALL field_definition__Init
29
30    CALL axis__init
31    CALL axis_group__Init
32    CALL axis_definition__Init
33
34    CALL grid__init
35    CALL grid_group__Init
36    CALL grid_definition__Init
37
38    CALL file__init
39    CALL file_group__Init
40    CALL file_definition__Init
41   
42    CALL parsing_xml_file(xml_file)
43   
44  END SUBROUTINE xmlio__init
45 
46  SUBROUTINE xmlio__close_definition
47  IMPLICIT NONE
48 
49    CALL axis_group__apply_default(axis_definition)
50    CALL grid_group__apply_default(grid_definition)
51    CALL field_group__apply_default(field_definition)
52    CALL file_group__apply_default(file_definition)
53 
54    CALL field_group__solve_ref(field_definition)
55    CALL file_group__solve_field_ref(file_definition)
56
57    CALL file_group__check(file_definition)
58    CALL axis_group__check(axis_definition)
59    CALL grid_group__process_domain(grid_definition)
60     
61    CALL set_dependency
62
63  END SUBROUTINE xmlio__close_definition
64
65END MODULE xmlio
Note: See TracBrowser for help on using the repository browser.