Package esys :: Package modellib :: Module input :: Class MergeConstraints
[hide private]
[frames] | no frames]

Class MergeConstraints

                       object --+        
                                |        
escript.modelframe.LinkableObject --+    
                                    |    
      escript.modelframe.ParameterSet --+
                                        |
                                       MergeConstraints

Returns a linear combination of the f0*v0+f1*v1+f2*v2+f3*v3+f4*v4

Instance Methods [hide private]
 
__init__(self, **kwargs)
Creates a ParameterSet with given parameters.
escript.Scalar
location_of_constraint(self)
return the values used to constrain a solution
escript.Scalar
value_of_constraint(self)
return the values used to constrain a solution

Inherited from escript.modelframe.ParameterSet: __delattr__, __iter__, __repr__, checkLinkTargets, declareParameter, declareParameters, releaseParameters, showParameters, toDom, writeXML

Inherited from escript.modelframe.LinkableObject: __getattr__, __setattr__, getAttributeObject, hasAttribute, trace

Inherited from object: __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __str__

Class Methods [hide private]

Inherited from escript.modelframe.ParameterSet: fromDom

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, **kwargs)
(Constructor)

 

Creates a ParameterSet with given parameters.

Overrides: object.__init__
(inherited documentation)

location_of_constraint(self)

 

return the values used to constrain a solution

Returns: escript.Scalar
the mask marking the locations of the constraints

value_of_constraint(self)

 

return the values used to constrain a solution

Returns: escript.Scalar
values to be used at the locations of the constraints. If value is not given None is rerturned.