• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..04-Dec-2020-

Makefile.amH A D04-Dec-2020697 3116

READMEH A D04-Dec-20201 KiB2518

m_pseudo.f90H A D04-Dec-20207.3 KiB262116

m_pseudo_types.f90H A D04-Dec-20202.8 KiB10836

pseudo.F90H A D04-Dec-2020455 321

pseudo.xmlH A D04-Dec-20203.4 KiB165162

README

1This directory contains a real-world example of processing an XML file.
2
3Pseudo.xml is a prototype XML pseudopotential file, containing, apart
4from identification information, several datasets representing functions
5of a radial coordinate. These functions are given as tables with an underlying
6grid. The grid can be common to all, or each radial function ("radfunc") can
7have its own.
8
9The program reads the XML file and then constructs a data structure
10with all the information in the file, ready to be processed by other
11utilities, such as an electronic-structure program.
12
13Pseudo.xml is just a prototype, and this program is just an illustration
14of the kinds of idioms one can use to process a non-trivial XML file
15using a SAX-like parser.
16
17The basic data structures are defined in module m_pseudo_types, and the
18handlers are in m_pseudo.f90.
19
20Type 'make' to compile, and 'pseudo' to execute.
21(In the interest of simplicity, this program is hardwired to process
22the 'pseudo.xml' file. For command-line control, one could use the
23routines in the f2kcli module.)
24
25