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

Class GlueAnchor

source code


Use Glue class to glue specified BC objects of a solver object.

Instance Methods [hide private]
 
__init__(self, svr, **kw)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_attach_glue(self)
Attach Glue objects to specified BC object pairs.
source code
 
_detach_glue(self)
Detach Glue objects from specified BC object pairs.
source code
 
_disable_glue(self, check=True)
Disable the gluing mechanism by calling Glue.disable() for specified BC object pairs.
source code
 
_enable_glue(self, check=True)
Enable the gluing mechanism by calling Glue.enable() for specified BC object pairs.
source code

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

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

Class Variables [hide private]
  KEYS_ENABLER = ()
names of the arrays that should be modified when enabling/disabling the glue.
Instance Variables [hide private]
  bcpairs
a sequence of 2-tuples for BC object pairs to be glued.

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)

_attach_glue(self)

source code 

Attach Glue objects to specified BC object pairs.

Returns:
nothing

_detach_glue(self)

source code 

Detach Glue objects from specified BC object pairs.

Returns:
nothing

_disable_glue(self, check=True)

source code 

Disable the gluing mechanism by calling Glue.disable() for specified BC object pairs.

Parameters:
  • check (bool) - check Glue object or not. Default True.
Returns:
nothing

_enable_glue(self, check=True)

source code 

Enable the gluing mechanism by calling Glue.enable() for specified BC object pairs.

Parameters:
  • check (bool) - check Glue object or not. Default True.
Returns:
nothing