Giter Site home page Giter Site logo

upf-schema's Introduction

upf-schema

This is an XML schema definition for the Unified Pseudopotential Format v2.0.1 of the Quantum Espresso suite as defined on the QE website and CECAM website

Pseudopotential files can be validated by any standard XML validator. Simply paste the content of the pseudopotential file and the schema upf.xsd on an online XML validator.

The schema contains the documentation provided by the format and a documentation of the format can be generated automatically from it via the standard UNIX tool xsltproc

bash generate.sh

For the layout of the documentation, I am currently using the xs3p stylesheet but in the future, it may be convenient to design our own.

Contents

  • C.pbe-hgh.UPF The PP against which I am checking the schema at the moment
  • upf.xsd The XML schema definition
  • generate.sh The script to generate the documentation using xsltproc
  • upf.html The documentation generated by ./generate.sh

upf-schema's People

Contributors

ltalirz avatar unkcpz avatar

Stargazers

 avatar

Watchers

 avatar  avatar

upf-schema's Issues

Hey from Georgia Tech!

Hey dude, this is Alexandr (Sasha) from Georgia Tech. I'm currently at EPFL at a CECAM dev. workshop.

How are you?

I'm reading PROBLEMS.md and GOD DAMMIT!!! :D

Stay in touch,
Alexandr

Towards UPF v. 2.1.0: Replace/remove .INDEX in the name with index attribute

No need to keep these weird names.

Also schema should simplify, example:

<xs:element name="PP_NONLOCAL">
    <xs:annotation>
      <xs:documentation>
        Content of this section depends on several settings in PP_HEADER.
      </xs:documentation> 
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="PP_BETA" minOccurs="0" type="upf-PP_BETA"/>
        <xs:element ref="PP_DIJ"/>
        <xs:element ref="PP_AUGMENTATION" minOccurs="0"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.