Package esys :: Package escript :: Module levelset :: Class LevelSet2
[hide private]
[frames] | no frames]

Class LevelSet2

object --+
         |
        LevelSet2

Instance Methods [hide private]
 
RK2(self, L)
 
RK3(self, L)
 
TG(self, L)
 
__init__(self, phi, reinit_max=10, reinit_each=2, smooth=2.0)
Initializes the model.
 
__reinitialise(self, phi)
 
__reinitialise_old(self)
 
__updateInterface(self)
 
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__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, phi, reinit_max=10, reinit_each=2, smooth=2.0)
(Constructor)

 

Initializes the model.

Overrides: object.__init__

update(self, dt)

 

Sets a new velocity and updates the level set function.

Parameters:
  • dt - time step forward