OpenPisco.Optim.Criteria.PhyCriteria module#

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

Bases: PhysicalCriteriaBase

GetCriteriaSolution(i)[source]#
classmethod GetCriteriaSolution(self, i)[source]#

Retrieve the solution of index i. The index i should be smaller than the total number of solutions :param int i : index of the current solution :return: solution :rtype: ndarray

GetCriteriaSolutionName(i)[source]#
classmethod GetCriteriaSolutionName(self, i)[source]#

Retrieve the name of the solution of index i. The index i should be smaller than the total number of solutions :param int i : index of the current solution :return: solution name :rtype: str

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

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

Update values of criterion and sensitivity for the current levelset

:param LevelSet point : current level set :return: paramater indicating if the update was successfull :rtype: bool

class OpenPisco.Optim.Criteria.PhyCriteria.TopoCriteriaDisplacementDeviation(other=None)[source]#

Bases: PhysicalCriteriaBase

GetCriteriaSolution(i)[source]#
classmethod GetCriteriaSolution(self, i)[source]#

Retrieve the solution of index i. The index i should be smaller than the total number of solutions :param int i : index of the current solution :return: solution :rtype: ndarray

GetCriteriaSolutionName(i)[source]#
classmethod GetCriteriaSolutionName(self, i)[source]#

Retrieve the name of the solution of index i. The index i should be smaller than the total number of solutions :param int i : index of the current solution :return: solution name :rtype: str

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

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

SetDeviationDirection(data)[source]#
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.PhyCriteria.TopoCriteriaTargetDisp(other=None)[source]#

Bases: PhysicalCriteriaBase

GetCriteriaSolution(i)[source]#
classmethod GetCriteriaSolution(self, i)[source]#

Retrieve the solution of index i. The index i should be smaller than the total number of solutions :param int i : index of the current solution :return: solution :rtype: ndarray

GetCriteriaSolutionName(i)[source]#
classmethod GetCriteriaSolutionName(self, i)[source]#

Retrieve the name of the solution of index i. The index i should be smaller than the total number of solutions :param int i : index of the current solution :return: solution name :rtype: str

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

SetTargetDisplacement(data)[source]#
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