OpenPisco.Optim.Criteria.PhyHarmonicCriteria module#

OpenPisco.Optim.Criteria.PhyHarmonicCriteria.CellToPointDataOnSurface(support, surfaceTag, field)[source]#
OpenPisco.Optim.Criteria.PhyHarmonicCriteria.CheckIntegrity(GUI=False)[source]#
OpenPisco.Optim.Criteria.PhyHarmonicCriteria.CreateTopoCriteriaERP(ops)[source]#
class OpenPisco.Optim.Criteria.PhyHarmonicCriteria.TopoCriteriaERP(other=None)[source]#

Bases: PhysicalCriteriaBase

class TopoCriteriaERP#

Physical criterion for the ERP in harmonic analysis.

ComputeNormalsAtNodes()[source]#
ComputeObjective()[source]#
classmethod ComputeObjective()[source]#

Compute value of criterion :return: value of the criterion :rtype: float

ComputeSensitivity(levelSet)[source]#
classmethod ComputeSensitivity()[source]#

Compute value of the sensitivity :return: value of the sensitivity :rtype: numpy array

ExtendFieldFromCleanMeshToMesh(field, nbdofPerNodes, extendedMesh)[source]#
GetCriteriaSolution(i, onCleanMesh=False)[source]#
GetCriteriaSolution(i)[source]#

:param int i : i-th solution of the problem :return: the i-th solution of the problem :rtype numpy array

GetCriteriaSolutionName(i)[source]#
GetCriteriaSolutionName(i)[source]#

:param int i : i-th solution of the problem :return: name of the i-th solution of the problem :rtype string

GetNumberOfSolutions()[source]#
GetNumberOfSolutions()[source]#
Returns

the number of solutions in the problem

GetScalarsOutputs()[source]#
GetScalarsOutputs()[source]#
Returns

name of the scalars associated to their respective value to be saved through the iterations

:rtype dict scalar by string

IsSurfaceOptimizable(levelSet)[source]#
SensitivityGradJ(extendedMesh, sol, grad)[source]#
SensitivityJ(extendedMesh, sol_re, sol_imag)[source]#
SetAuxiliaryQuantities(levelSet)[source]#
SolutionAndGradientFromDisp(solId)[source]#
UpdateValues(levelSet)[source]#
classmethod UpdateValues(self, point)[source]#

Update values of criterion and sensitivity for the current levelset

:param LevelSet levelSet : current level set :return: paramater idicating if the update was successfull :rtype: bool

property params#
OpenPisco.Optim.Criteria.PhyHarmonicCriteria.triangle_3d_normals(coords)[source]#