OpenPisco.Optim.Criteria.GeoThicknessCriteria module#

OpenPisco.Optim.Criteria.GeoThicknessCriteria.CheckIntegrity(GUI=False)[source]#
OpenPisco.Optim.Criteria.GeoThicknessCriteria.GetInterpolationOperator(mesh: Mesh) NativeTransfer[source]#

Create a interpolator for point data

Parameters

inputsuppmeshort (Mesh) – input mesh

Returns

a NativeTransfer class with the following API

nt.SetTargetPoints(interpolationPoints) nt.Compute() interpolationOperator = nt.GetOperator() interpolationStatus = nt.GetStatus() phiAtIntPoints = interpolationOperator.dot(PointField)

Return type

NativeTransfer

class OpenPisco.Optim.Criteria.GeoThicknessCriteria.TopoCriteriaMaxThickness(other=None)[source]#

Bases: CriteriaBase

ComputeLayerContributionToRayIntegral(data, ids)[source]#
ComputeObjective(levelset)[source]#
ComputeSensitivity(levelset)[source]#
GetNumberOfSolutions()[source]#
classmethod GetNumberOfSolutions(self)[source]#

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

SetMaxThick(maxthick)[source]#
UpdateValues(point)[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.GeoThicknessCriteria.TopoCriteriaMinThickness(other=None)[source]#

Bases: CriteriaBase

ComputeLayerContributionToRayIntegral(data, ids)[source]#
ComputeObjective(levelset)[source]#
ComputeObjectiveEnergyFormulation(levelset)[source]#
ComputeSensitivity(levelset)[source]#
ComputeSensitivityEnergyFormulation(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

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

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

SetMinThick(minthick)[source]#
UpdateValues(point)[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