Package solvcon :: Module anchor :: Class MarchSaveAnchor
[hide private]
[frames] | no frames]

Class MarchSaveAnchor

source code

object --+    
         |    
    Anchor --+
             |
            MarchSaveAnchor

Save solution data into VTK XML format for a solver.

Instance Methods [hide private]
 
__init__(self, svr, **kw)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_write(self, istep) source code
 
preloop(self) source code
 
postmarch(self) source code
 
postloop(self) source code

Inherited from Anchor: exhaust, postfull, postsub, prefull, premarch, presub, provide

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

Instance Variables [hide private]
  anames
the arrays in der of solvers to be saved.
  compressor
compressor for binary data.
  fpdtype
string for floating point data type (in numpy convention).
  psteps
the interval (in step) to save data.
  vtkfn_tmpl
the template string for the VTK file.

Inherited from Anchor: kws, svr

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, svr, **kw)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

preloop(self)

source code 
Overrides: Anchor.preloop

postmarch(self)

source code 
Overrides: Anchor.postmarch

postloop(self)

source code 
Overrides: Anchor.postloop

Instance Variable Details [hide private]

anames

the arrays in der of solvers to be saved. True means in der.

compressor

compressor for binary data. Can only be 'gz' or ''.