Package MolKit :: Package pdb2pqr :: Package src :: Module psize :: Class Psize
[hide private]
[frames] | no frames]

Class Psize

source code

Instance Methods [hide private]
  __init__(self)
  parseString(self, structure)
Parse the input structure as a string in PDB or PQR format
  parseInput(self, filename)
Parse input structure file in PDB or PQR format
  parseLines(self, lines)
Parse the lines
  setConstant(self, name, value)
Set a constant to a value; returns 0 if constant not found
  getConstant(self, name)
Get a constant value; raises KeyError if constant not found
  setLength(self, maxlen, minlen)
Compute molecule dimensions
  setCoarseGridDims(self, olen)
Compute coarse mesh dimensions
  setFineGridDims(self, olen, clen)
Compute fine mesh dimensions
  setCenter(self, maxlen, minlen)
Compute molecule center
  setFineGridPoints(self, flen)
Compute mesh grid points, assuming 4 levels in MG hierarchy
  setSmallest(self, n)
Compute parallel division in case memory requirement above ceiling Find the smallest dimension and see if the number of grid points in that dimension will fit below the memory ceiling Reduce nsmall until an nsmall^3 domain will fit into memory
  setProcGrid(self, n, nsmall)
Calculate the number of processors required to span each dimension
  setFocus(self, flen, np, clen)
Calculate the number of levels of focusing required for each processor subdomain
  setAll(self)
Set up all of the things calculated individually above
  getMax(self)
  getMin(self)
  getCharge(self)
  getLength(self)
  getCoarseGridDims(self)
  getFineGridDims(self)
  getCenter(self)
  getFineGridPoints(self)
  getSmallest(self)
  getProcGrid(self)
  getFocus(self)
  runPsize(self, filename)
Parse input PQR file and set parameters
  printResults(self)
Return a string with the formatted results

Method Details [hide private]

__init__(self)
(Constructor)

source code 
None

parseString(self, structure)

source code 
Parse the input structure as a string in PDB or PQR format

parseInput(self, filename)

source code 
Parse input structure file in PDB or PQR format

parseLines(self, lines)

source code 
Parse the lines

setConstant(self, name, value)

source code 
Set a constant to a value; returns 0 if constant not found

getConstant(self, name)

source code 
Get a constant value; raises KeyError if constant not found

setLength(self, maxlen, minlen)

source code 
Compute molecule dimensions

setCoarseGridDims(self, olen)

source code 
Compute coarse mesh dimensions

setFineGridDims(self, olen, clen)

source code 
Compute fine mesh dimensions

setCenter(self, maxlen, minlen)

source code 
Compute molecule center

setFineGridPoints(self, flen)

source code 
Compute mesh grid points, assuming 4 levels in MG hierarchy

setSmallest(self, n)

source code 
Compute parallel division in case memory requirement above ceiling Find the smallest dimension and see if the number of grid points in that dimension will fit below the memory ceiling Reduce nsmall until an nsmall^3 domain will fit into memory

setProcGrid(self, n, nsmall)

source code 
Calculate the number of processors required to span each dimension

setFocus(self, flen, np, clen)

source code 
Calculate the number of levels of focusing required for each processor subdomain

setAll(self)

source code 
Set up all of the things calculated individually above

getMax(self)

source code 
None

getMin(self)

source code 
None

getCharge(self)

source code 
None

getLength(self)

source code 
None

getCoarseGridDims(self)

source code 
None

getFineGridDims(self)

source code 
None

getCenter(self)

source code 
None

getFineGridPoints(self)

source code 
None

getSmallest(self)

source code 
None

getProcGrid(self)

source code 
None

getFocus(self)

source code 
None

runPsize(self, filename)

source code 
Parse input PQR file and set parameters

printResults(self)

source code 
Return a string with the formatted results