New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
README in vendors/XMLF90/current/doc/Examples/sax/pseudo – NEMO

source: vendors/XMLF90/current/doc/Examples/sax/pseudo/README @ 1967

Last change on this file since 1967 was 1967, checked in by flavoni, 14 years ago

importing XMLF90 vendor

File size: 1.0 KB
Line 
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
Note: See TracBrowser for help on using the repository browser.