12.07.2015 Views

The Computational Materials Repository

The Computational Materials Repository

The Computational Materials Repository

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

72 <strong>Computational</strong> <strong>Materials</strong> <strong>Repository</strong>class GPAWSchema( Schema ) :def i n i t ( s e l f ) :. . .c a l c u l a t o r = {. . .’ P o i s s o n S t e n c i l ’ : {” o p t i o n a l ” : False ,” type ” : ” s t r i n g ” ,” python type ” : ” i n t o r s t r ” } ,’ XCFunctional ’ : {” o p t i o n a l ” : False ,” type ” : ” s t r i n g ” ,” python type ” : ” s t r ” } ,’ Epot ’ : {” o p t i o n a l ” : False ,” u n i t ” : Units .HARTREE,” type ” : ” double ” ,” python type ” : ” f l o a t ” } ,’ AtomicNumbers ’ : {” o p t i o n a l ” : False ,” desc ” : ”A l i s t o f atomic numbers . ” ,” type ” : ” l o n g a r r a y ” ,” python type ” : ”numpy . array ” ,” m o s t i n n e r p y t h o n t y p e ” : ” i n t ” } ,’ RubidiumFingerprint ’ : {” o p t i o n a l ” : True ,” type ” : ” s t r i n g ” ,” python type ” : ” s t r ” } ,. . .Figure 3.8: Extract of the GPAW’s cmr-schema. PoissonStencil, XCFunctional,AtomicNumbers and RubidiumFingerprint are variables. type defines the internaltype of the variable, python type the original type, atomic numbers. <strong>The</strong> field unitdefines that Epot has the unit Hartree and the desc is a descriptive string of what ofthe value that the variable holds.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!