OpenPisco.Optim.Criteria.GeoCriteria module#

OpenPisco.Optim.Criteria.GeoCriteria.CheckIntegrity(GUI=False)[source]#
class OpenPisco.Optim.Criteria.GeoCriteria.TopoCriteriaContactSurfacePenalization(other=None)[source]#

Bases: CriteriaBase

ComputeDistanceSurface(levelSet)[source]#
GetNumberOfSolutions()[source]#
classmethod GetNumberOfSolutions(self)[source]#

Retrieve the number of solutions of the current criterion :return: number of solutions :rtype: int

GetSensitivity()[source]#
classmethod GetSensitivity()[source]#

Get the current value of the sensitivity :return: current value of the sensitivity :rtype: ndarray

GetSolution(i)[source]#
GetSolutionName(i)[source]#
GetValue()[source]#
classmethod GetValue()[source]#

Get the current value of the criterion :return: current value of the criterion :rtype: float

UpdateValues(levelSet)[source]#
classmethod UpdateValues(self, point)[source]#

Update value and sensitivity of the criterion for the current levelset

Parameters

point (LevelSet) – current level set

Returns

paramater indicating if the update was successfull

Return type

bool

class OpenPisco.Optim.Criteria.GeoCriteria.TopoCriteriaMass(other=None)[source]#

Bases: TopoCriteriaVolume

GetSensitivity()[source]#
classmethod GetSensitivity()[source]#

Get the current value of the sensitivity :return: current value of the sensitivity :rtype: ndarray

GetValue()[source]#
classmethod GetValue()[source]#

Get the current value of the criterion :return: current value of the criterion :rtype: float

class OpenPisco.Optim.Criteria.GeoCriteria.TopoCriteriaVolume(other=None)[source]#

Bases: CriteriaBase

GetNumberOfSolutions()[source]#
classmethod GetNumberOfSolutions(self)[source]#

Retrieve the number of solutions of the current criterion :return: number of solutions :rtype: int

GetSensitivity()[source]#
classmethod GetSensitivity()[source]#

Get the current value of the sensitivity :return: current value of the sensitivity :rtype: ndarray

GetValue()[source]#
classmethod GetValue()[source]#

Get the current value of the criterion :return: current value of the criterion :rtype: float

UpdateValues(levelSet)[source]#
classmethod UpdateValues(self, point)[source]#

Update value and sensitivity of the criterion for the current levelset

Parameters

point (LevelSet) – current level set

Returns

paramater indicating if the update was successfull

Return type

bool

UpdateValuesUsingPhi(levelSet, phi)[source]#