Package solvcon :: Package kerpak :: Module cuse :: Class ConvergeHook
[hide private]
[frames] | no frames]

Class ConvergeHook

source code


Initiates and controls the remote ConvergeAnchor. Implements (i) drop_anchor() and (ii) postmarch() methods.

Instance Methods [hide private]
 
__init__(self, cse, **kw)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
drop_anchor(self, svr)
Drop the anchor(s) to the solver object.
source code
 
_collect(self) source code
 
postmarch(self)
Things to do after the time march for a specific time step.
source code

Inherited from hook.Hook: postloop, preloop, premarch

Inherited from hook.Hook (private): _depend, _makedir

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

Static Methods [hide private]

Inherited from hook.Hook (private): _deliver_anchor

Instance Variables [hide private]
  ankkw
hold the remaining keywords for Anchor.
  csteps
steps to collect; default to psteps.
  eqs
indices of unknowns (associated with the equations).
  keys
kinds of norms to output; Linf, L1, and L2.
  name
name of the converge tool.
  rsteps
steps to run (Anchor); default to csteps.

Inherited from hook.Hook: cse, info, kws, psteps

Properties [hide private]

Inherited from hook.BlockHook: blk

Inherited from object: __class__

Method Details [hide private]

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

source code 

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

Parameters:
  • cse - Case object.
Overrides: object.__init__
(inherited documentation)

drop_anchor(self, svr)

source code 

Drop the anchor(s) to the solver object.

Parameters:
  • svr - the solver object on which the anchor(s) is dropped.
Returns:
nothing
Overrides: hook.Hook.drop_anchor
(inherited documentation)

postmarch(self)

source code 

Things to do after the time march for a specific time step.

Overrides: hook.Hook.postmarch
(inherited documentation)