|
JavaView© v3.95.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjv.object.PsObject
jvx.numeric.PnFunction
jvx.numeric.PnEnergy
jvx.numeric.PnAlignmentEnergy
Alignment energy for non-conforming meshes. The alignment energy measure the deviation of two adjacent triangles of a non-conforming mesh from being aligned along the heights at the common vertex. Minimizers of this energy are minimizers of the discrete area functional of non-conforming meshes.
| Field Summary |
| Fields inherited from class jv.object.PsObject |
HAS_CONFIG_PANEL, HAS_INFO_PANEL, HAS_LABEL_PANEL, HAS_MATERIAL_PANEL, HAS_TEXTURE_PANEL, HAS_VECTOR_PANEL, INSPECTOR_INFO, INSPECTOR_INFO_EXT, IS_DELETED, IS_FIXED, IS_FOCUSSED, IS_PICKED, IS_SELECTED, IS_USED, NUM_TAGS |
| Constructor Summary | |
PnAlignmentEnergy()
|
|
| Method Summary | |
double |
eval(PdVector coord)
Compute edge energy of a coord vector. |
PdVector |
evalGradient(PdVector coord,
PdVector gradient)
Evaluate gradient of a coord vector using the stiffness matrix. |
void |
init()
If instance has missing name then assign default name 'Object_NUMBER' where number is the total number of already created instances. |
void |
initJc(PdVector coord)
Recalculate an array containing all rotated edge vectors. |
void |
initSurface(PgElementSet domain,
PgElementSet surface)
Method called from energyMinimizer.minimizeStep() to update the stiffness matrix after conjugate gradient method has returned. |
boolean |
setSurface(PgElementSet domain,
PgElementSet surface)
Set domain and surface, and initialize energy structure. |
| Methods inherited from class jvx.numeric.PnEnergy |
evalHessian, getNumOfVariables, getSpectrum, getZeroGradientAtBounds, isEnabledConstrainMatrix, setEnabledConstrainMatrix, setZeroGradientAtBounds, testEigenvalues |
| Methods inherited from class jvx.numeric.PnFunction |
enableEvaluation, isEvaluable |
| Methods inherited from class jv.object.PsObject |
addInspector, addUpdateListener, assureInspector, clearTag, clone, clone, clone, copy, getFather, getInfoPanel, getInspector, getName, getNumObjects, getSymbol, hasInspector, hasTag, hasUpdateListener, instanceOf, instanceOf, newInspector, newInspector, removeInspector, removeInspector, removeUpdateListener, setName, setParent, setSymbol, setTag, toString, update, updatePanels |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public PnAlignmentEnergy()
| Method Detail |
public void init()
PsObject
init in class PnEnergy
public void initSurface(PgElementSet domain,
PgElementSet surface)
initSurface in class PnEnergypublic void initJc(PdVector coord)
public boolean setSurface(PgElementSet domain,
PgElementSet surface)
setSurface in class PnEnergydomain - additional geometry used to specify mapssurface - geometry which is usually optimizedpublic double eval(PdVector coord)
eval in class PnEnergycoord - Coordinate vector with list of doubles
PnEnergy
public PdVector evalGradient(PdVector coord,
PdVector gradient)
null may be passed. In this case the gradient information is
store in an internal variable which is returned as gradient. Handle with care and do not
modify size returned gradient.
If no special boundary constraints are set, then you may use setZeroGradientAtBounds(boolean) to set the gradient zero at the boundary (or free again).
evalGradient in class PnEnergycoord - Coordinate vector with list of doublesgradient - Gradient vector to be modified, maybe null.PnAreaEnergy
|
JavaView© v3.95.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||