Package schrodinger :: Package application :: Package matsci :: Package espresso :: Module qeinput :: Class CellControlType
[hide private]
[frames] | no frames]

Class CellControlType

 object --+    
          |    
GenericType --+
              |
             CellControlType

Class to generate QE cell control XML section related to control.

Instance Methods [hide private]
str
_validateCellDynamics(self, cell_dynamics)
Validate and return cell dynamics type.
str
__str__(self)
Return XML.

Inherited from GenericType: __init__, updateWithData

Inherited from GenericType (private): _cleanData

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Class Variables [hide private]
  DEFAULTS = {'cell_dynamics': 'bfgs', 'pressure': 0.0}
  CELL_DYNAMICS_KEY = 'cell_dynamics'
  PRESSURE_KEY = 'pressure'
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

_validateCellDynamics(self, cell_dynamics)

 

Validate and return cell dynamics type.

Parameters:
  • cell_dynamics (str) - Cell dynamics type
Returns: str
Cell dynamics type
Raises:
  • ValueError - if cell_dynamics is invalid

__str__(self)
(Informal representation operator)

 

Return XML.

Returns: str
XML string
Overrides: object.__str__