|
|
|
|
|
|
|
|
|
|
|
__init__(self,
phi,
reinit_max=10,
reinit_each=2,
smooth=2.0)
Initializes the model. |
|
|
|
|
| __reinitialise(self,
phi) |
|
|
|
|
|
|
|
|
|
|
| createParameter(self,
value_negative=-1.0,
value_positive=1) |
|
|
|
|
getBoundingBoxOfNegativeDomain(self)
Returns the height of the region with phi<0. |
|
|
|
|
| getCharacteristicFunction(self) |
|
|
|
|
getVolumeOfNegativeDomain(self)
Returns the current volume of domain with phi<0. |
|
|
|
|
| setFixedRegion(self,
mask,
contour=0) |
|
|
|
|
| setTolerance(self,
tolerance=0.001) |
|
|
|
|
update(self,
dt)
Sets a new velocity and updates the level set function. |
|
|
|
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|