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

Class VtkAnchor

source code


Abstract class for VTK filtering anchor. Must override process() method for use. Note: svr.ust is shared by all VtkAnchor instances.

Instance Methods [hide private]
 
__init__(self, svr, **kw)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_aggregate(self)
Aggregate data from solver object to VTK unstructured mesh.
source code
 
postloop(self) source code
 
postmarch(self) source code
 
preloop(self) source code
 
process(self, istep)
This method implements the VTK filtering operations.
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.
  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]
  vtkfn
The correct file name for VTK based on the template.

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)

_aggregate(self)

source code 

Aggregate data from solver object to VTK unstructured mesh.

Returns:
nothing

postloop(self)

source code 
Overrides: Anchor.postloop

postmarch(self)

source code 
Overrides: Anchor.postmarch

preloop(self)

source code 
Overrides: Anchor.preloop

process(self, istep)

source code 

This method implements the VTK filtering operations. Must be overidden.


Instance Variable Details [hide private]

anames

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

Property Details [hide private]

vtkfn

The correct file name for VTK based on the template.

Get Method:
unreachable.vtkfn(self) - The correct file name for VTK based on the template.