#include <GCS.h>
Public Attributes | |
double | convergence |
double | convergenceRedundant |
DebugMode | debugMode |
double | DL_tolf |
double | DL_tolfRedundant |
double | DL_tolg |
double | DL_tolgRedundant |
double | DL_tolx |
double | DL_tolxRedundant |
DogLegGaussStep | dogLegGaussStep |
double | LM_eps |
double | LM_eps1 |
double | LM_eps1Redundant |
double | LM_epsRedundant |
double | LM_tau |
double | LM_tauRedundant |
int | maxIter |
int | maxIterRedundant |
QRAlgorithm | qrAlgorithm |
double | qrpivotThreshold |
bool | sketchSizeMultiplier |
bool | sketchSizeMultiplierRedundant |
GCS::System::System | ( | ) |
GCS::System::~System | ( | ) |
References clear().
int GCS::System::addConstraint | ( | Constraint * | constr | ) |
References GCS::Constraint::getTag(), draftguitools.gui_annotationstyleeditor::param, and GCS::Constraint::params().
Referenced by addConstraintAngleViaPoint(), addConstraintCurveValue(), addConstraintDifference(), addConstraintEqual(), addConstraintEqualFocus(), addConstraintEqualLength(), addConstraintEqualRadii(), addConstraintInternalAlignmentPoint2Ellipse(), addConstraintInternalAlignmentPoint2Hyperbola(), addConstraintL2LAngle(), addConstraintMidpointOnLine(), addConstraintP2LDistance(), addConstraintP2PAngle(), addConstraintP2PDistance(), addConstraintParallel(), addConstraintPerpendicular(), addConstraintPointOnEllipse(), addConstraintPointOnHyperbolicArc(), addConstraintPointOnLine(), addConstraintPointOnParabolicArc(), addConstraintPointOnPerpBisector(), addConstraintProportional(), addConstraintSnellsLaw(), addConstraintTangent(), and addConstraintTangentCircumf().
int GCS::System::addConstraintAngleViaPoint | ( | Curve & | crv1, |
Curve & | crv2, | ||
Point & | p, | ||
double * | angle, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraint(), GCS::Constraint::setDriving(), and GCS::Constraint::setTag().
Referenced by Sketcher::Sketch::addAngleAtPointConstraint().
int GCS::System::addConstraintArcDiameter | ( | Arc & | a, |
double * | diameter, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraintProportional().
Referenced by Sketcher::Sketch::addDiameterConstraint().
int GCS::System::addConstraintArcOfEllipseRules | ( | ArcOfEllipse & | a, |
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraintCurveValue().
Referenced by Sketcher::Sketch::addArcOfEllipse().
int GCS::System::addConstraintArcOfHyperbolaRules | ( | ArcOfHyperbola & | a, |
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraintCurveValue().
Referenced by Sketcher::Sketch::addArcOfHyperbola().
int GCS::System::addConstraintArcOfParabolaRules | ( | ArcOfParabola & | a, |
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraintCurveValue().
Referenced by Sketcher::Sketch::addArcOfParabola().
int GCS::System::addConstraintArcRadius | ( | Arc & | a, |
double * | radius, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraintEqual().
Referenced by Sketcher::Sketch::addRadiusConstraint().
References addConstraintCurveValue().
Referenced by Sketcher::Sketch::addArc().
int GCS::System::addConstraintCircleDiameter | ( | Circle & | c, |
double * | diameter, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraintProportional().
Referenced by Sketcher::Sketch::addDiameterConstraint().
int GCS::System::addConstraintCircleRadius | ( | Circle & | c, |
double * | radius, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraintEqual().
Referenced by Sketcher::Sketch::addRadiusConstraint().
int GCS::System::addConstraintCoordinateX | ( | Point & | p, |
double * | x, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraintEqual().
Referenced by Sketcher::Sketch::addCoordinateXConstraint().
int GCS::System::addConstraintCoordinateY | ( | Point & | p, |
double * | y, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraintEqual().
Referenced by Sketcher::Sketch::addCoordinateYConstraint().
int GCS::System::addConstraintDifference | ( | double * | param1, |
double * | param2, | ||
double * | difference, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraint(), GCS::Constraint::setDriving(), and GCS::Constraint::setTag().
Referenced by Sketcher::Sketch::addDistanceXConstraint(), and Sketcher::Sketch::addDistanceYConstraint().
int GCS::System::addConstraintEqual | ( | double * | param1, |
double * | param2, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraint(), GCS::Constraint::setDriving(), and GCS::Constraint::setTag().
Referenced by addConstraintArcRadius(), addConstraintCircleRadius(), addConstraintCoordinateX(), addConstraintCoordinateY(), addConstraintEqualRadii(), addConstraintEqualRadius(), addConstraintHorizontal(), addConstraintInternalAlignmentBSplineControlPoint(), addConstraintInternalAlignmentEllipseFocus1(), addConstraintInternalAlignmentHyperbolaFocus(), addConstraintInternalAlignmentParabolaFocus(), addConstraintP2PCoincident(), and addConstraintVertical().
int GCS::System::addConstraintEqualFocus | ( | ArcOfParabola & | a1, |
ArcOfParabola & | a2, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraint(), GCS::Constraint::setDriving(), and GCS::Constraint::setTag().
Referenced by Sketcher::Sketch::addEqualConstraint().
int GCS::System::addConstraintEqualLength | ( | Line & | l1, |
Line & | l2, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraint(), GCS::Constraint::setDriving(), and GCS::Constraint::setTag().
Referenced by Sketcher::Sketch::addEqualConstraint().
int GCS::System::addConstraintEqualRadii | ( | ArcOfHyperbola & | a1, |
ArcOfHyperbola & | a2, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
int GCS::System::addConstraintEqualRadii | ( | Ellipse & | e1, |
Ellipse & | e2, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraint(), addConstraintEqual(), GCS::Ellipse::radmin, GCS::Constraint::setDriving(), and GCS::Constraint::setTag().
Referenced by Sketcher::Sketch::addEqualConstraint().
int GCS::System::addConstraintEqualRadius | ( | Arc & | a1, |
Arc & | a2, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraintEqual().
int GCS::System::addConstraintEqualRadius | ( | Circle & | c1, |
Arc & | a2, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraintEqual().
int GCS::System::addConstraintEqualRadius | ( | Circle & | c1, |
Circle & | c2, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraintEqual(), and GCS::Circle::rad.
Referenced by Sketcher::Sketch::addEqualConstraint().
References addConstraintEqual().
Referenced by Sketcher::Sketch::addHorizontalConstraint().
int GCS::System::addConstraintHorizontal | ( | Point & | p1, |
Point & | p2, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraintEqual(), and GCS::Point::y.
int GCS::System::addConstraintInternalAlignmentBSplineControlPoint | ( | BSpline & | b, |
Circle & | c, | ||
int | poleindex, | ||
int | tag = 0 , |
||
bool | driving = true |
||
) |
References addConstraintEqual().
Referenced by Sketcher::Sketch::addInternalAlignmentBSplineControlPoint().
int GCS::System::addConstraintInternalAlignmentEllipseFocus1 | ( | Ellipse & | e, |
Point & | p1, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraintEqual(), GCS::Point::x, and GCS::Point::y.
Referenced by Sketcher::Sketch::addInternalAlignmentEllipseFocus1().
int GCS::System::addConstraintInternalAlignmentEllipseFocus2 | ( | Ellipse & | e, |
Point & | p1, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraintInternalAlignmentPoint2Ellipse(), GCS::EllipseFocus2X, and GCS::EllipseFocus2Y.
Referenced by Sketcher::Sketch::addInternalAlignmentEllipseFocus2().
int GCS::System::addConstraintInternalAlignmentHyperbolaFocus | ( | Hyperbola & | e, |
Point & | p1, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraintEqual(), GCS::Point::x, and GCS::Point::y.
Referenced by Sketcher::Sketch::addInternalAlignmentHyperbolaFocus().
int GCS::System::addConstraintInternalAlignmentParabolaFocus | ( | Parabola & | e, |
Point & | p1, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraintEqual(), GCS::Point::x, and GCS::Point::y.
Referenced by Sketcher::Sketch::addInternalAlignmentParabolaFocus().
int GCS::System::addConstraintL2LAngle | ( | Line & | l1, |
Line & | l2, | ||
double * | angle, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraint(), GCS::Constraint::setDriving(), and GCS::Constraint::setTag().
Referenced by Sketcher::Sketch::addAngleConstraint().
int GCS::System::addConstraintL2LAngle | ( | Point & | l1p1, |
Point & | l1p2, | ||
Point & | l2p1, | ||
Point & | l2p2, | ||
double * | angle, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraint(), GCS::Constraint::setDriving(), and GCS::Constraint::setTag().
int GCS::System::addConstraintMidpointOnLine | ( | Line & | l1, |
Line & | l2, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraint(), GCS::Constraint::setDriving(), and GCS::Constraint::setTag().
Referenced by addConstraintP2PSymmetric().
int GCS::System::addConstraintMidpointOnLine | ( | Point & | l1p1, |
Point & | l1p2, | ||
Point & | l2p1, | ||
Point & | l2p2, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraint(), GCS::Constraint::setDriving(), and GCS::Constraint::setTag().
int GCS::System::addConstraintP2LDistance | ( | Point & | p, |
Line & | l, | ||
double * | distance, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraint(), GCS::Constraint::setDriving(), and GCS::Constraint::setTag().
Referenced by addConstraintTangent(), and Sketcher::Sketch::addDistanceConstraint().
int GCS::System::addConstraintP2PAngle | ( | Point & | p1, |
Point & | p2, | ||
double * | angle, | ||
double | incrAngle, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraint(), GCS::Constraint::setDriving(), and GCS::Constraint::setTag().
Referenced by Sketcher::Sketch::addAngleConstraint(), addConstraintP2PAngle(), addConstraintPerpendicularArc2Circle(), addConstraintPerpendicularArc2Line(), addConstraintPerpendicularCircle2Arc(), and addConstraintPerpendicularLine2Arc().
int GCS::System::addConstraintP2PAngle | ( | Point & | p1, |
Point & | p2, | ||
double * | angle, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraintP2PAngle().
int GCS::System::addConstraintP2PCoincident | ( | Point & | p1, |
Point & | p2, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraintEqual(), GCS::Point::x, and GCS::Point::y.
Referenced by Sketcher::Sketch::addAngleAtPointConstraint(), Sketcher::Sketch::addBSpline(), addConstraintPerpendicularArc2Arc(), addConstraintPerpendicularArc2Line(), addConstraintPerpendicularLine2Arc(), Sketcher::Sketch::addPointCoincidentConstraint(), Sketcher::Sketch::initBSplinePieceMove(), and Sketcher::Sketch::initMove().
int GCS::System::addConstraintP2PSymmetric | ( | Point & | p1, |
Point & | p2, | ||
Line & | l, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraintMidpointOnLine(), and addConstraintPerpendicular().
Referenced by Sketcher::Sketch::addSymmetricConstraint().
int GCS::System::addConstraintP2PSymmetric | ( | Point & | p1, |
Point & | p2, | ||
Point & | p, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraintPointOnLine(), and addConstraintPointOnPerpBisector().
References addConstraint(), GCS::Constraint::setDriving(), and GCS::Constraint::setTag().
Referenced by Sketcher::Sketch::addParallelConstraint().
int GCS::System::addConstraintPerpendicular | ( | Point & | l1p1, |
Point & | l1p2, | ||
Point & | l2p1, | ||
Point & | l2p2, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraint(), GCS::Constraint::setDriving(), and GCS::Constraint::setTag().
int GCS::System::addConstraintPerpendicularArc2Arc | ( | Arc & | a1, |
bool | reverse1, | ||
Arc & | a2, | ||
bool | reverse2, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraintP2PCoincident(), and addConstraintPerpendicular().
int GCS::System::addConstraintPerpendicularArc2Circle | ( | Arc & | a, |
Point & | center, | ||
double * | radius, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraintP2PAngle(), and addConstraintP2PDistance().
int GCS::System::addConstraintPerpendicularArc2Line | ( | Arc & | a, |
Point & | p1, | ||
Point & | p2, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraintP2PAngle(), addConstraintP2PCoincident(), GCS::Point::x, and GCS::Point::y.
int GCS::System::addConstraintPerpendicularCircle2Arc | ( | Point & | center, |
double * | radius, | ||
Arc & | a, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraintP2PAngle(), and addConstraintP2PDistance().
int GCS::System::addConstraintPerpendicularLine2Arc | ( | Point & | p1, |
Point & | p2, | ||
Arc & | a, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraintP2PAngle(), addConstraintP2PCoincident(), GCS::Point::x, and GCS::Point::y.
References addConstraintP2PDistance().
Referenced by Sketcher::Sketch::addPointOnObjectConstraint(), and Sketcher::Sketch::initMove().
int GCS::System::addConstraintPointOnCircle | ( | Point & | p, |
Circle & | c, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraintP2PDistance().
Referenced by Sketcher::Sketch::addPointOnObjectConstraint(), and Sketcher::Sketch::initMove().
int GCS::System::addConstraintPointOnEllipse | ( | Point & | p, |
Ellipse & | e, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraint(), GCS::Constraint::setDriving(), and GCS::Constraint::setTag().
Referenced by Sketcher::Sketch::addPointOnObjectConstraint().
int GCS::System::addConstraintPointOnHyperbolicArc | ( | Point & | p, |
ArcOfHyperbola & | e, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraint(), GCS::Constraint::setDriving(), and GCS::Constraint::setTag().
Referenced by Sketcher::Sketch::addPointOnObjectConstraint().
int GCS::System::addConstraintPointOnLine | ( | Point & | p, |
Point & | lp1, | ||
Point & | lp2, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraint(), GCS::Constraint::setDriving(), and GCS::Constraint::setTag().
int GCS::System::addConstraintPointOnParabolicArc | ( | Point & | p, |
ArcOfParabola & | e, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraint(), GCS::Constraint::setDriving(), and GCS::Constraint::setTag().
Referenced by Sketcher::Sketch::addPointOnObjectConstraint().
int GCS::System::addConstraintPointOnPerpBisector | ( | Point & | p, |
Line & | l, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraint(), GCS::Constraint::setDriving(), and GCS::Constraint::setTag().
Referenced by addConstraintP2PSymmetric().
int GCS::System::addConstraintPointOnPerpBisector | ( | Point & | p, |
Point & | lp1, | ||
Point & | lp2, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraint(), GCS::Constraint::setDriving(), and GCS::Constraint::setTag().
int GCS::System::addConstraintProportional | ( | double * | param1, |
double * | param2, | ||
double | ratio, | ||
int | tagId, | ||
bool | driving = true |
||
) |
References addConstraint(), GCS::Constraint::setDriving(), and GCS::Constraint::setTag().
Referenced by addConstraintArcDiameter(), and addConstraintCircleDiameter().
int GCS::System::addConstraintSnellsLaw | ( | Curve & | ray1, |
Curve & | ray2, | ||
Curve & | boundary, | ||
Point | p, | ||
double * | n1, | ||
double * | n2, | ||
bool | flipn1, | ||
bool | flipn2, | ||
int | tagId, | ||
bool | driving = true |
||
) |
References addConstraint(), GCS::Constraint::setDriving(), and GCS::Constraint::setTag().
Referenced by Sketcher::Sketch::addSnellsLawConstraint().
References addConstraintTangentCircumf().
References addConstraintTangentCircumf().
int GCS::System::addConstraintTangent | ( | Circle & | c1, |
Circle & | c2, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraintTangentCircumf(), GCS::Circle::center, GCS::Circle::rad, GCS::Point::x, and GCS::Point::y.
References addConstraintP2LDistance().
References addConstraintP2LDistance().
Referenced by Sketcher::Sketch::addTangentConstraint().
References addConstraint(), GCS::Constraint::setDriving(), and GCS::Constraint::setTag().
int GCS::System::addConstraintTangentCircumf | ( | Point & | p1, |
Point & | p2, | ||
double * | rd1, | ||
double * | rd2, | ||
bool | internal = false , |
||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraint(), GCS::Constraint::setDriving(), and GCS::Constraint::setTag().
Referenced by addConstraintTangent().
References addConstraintEqual().
Referenced by Sketcher::Sketch::addVerticalConstraint().
int GCS::System::addConstraintVertical | ( | Point & | p1, |
Point & | p2, | ||
int | tagId = 0 , |
||
bool | driving = true |
||
) |
References addConstraintEqual(), and GCS::Point::x.
void GCS::System::applySolution | ( | ) |
double GCS::System::calculateAngleViaPoint | ( | const Curve & | crv1, |
const Curve & | crv2, | ||
Point & | p | ||
) | const |
References calculateAngleViaPoint().
Referenced by Sketcher::Sketch::addAngleAtPointConstraint(), calculateAngleViaPoint(), and Sketcher::Sketch::calculateAngleViaPoint().
double GCS::System::calculateAngleViaPoint | ( | const Curve & | crv1, |
const Curve & | crv2, | ||
Point & | p1, | ||
Point & | p2 | ||
) | const |
References GCS::Curve::CalculateNormal(), GCS::DeriVector2::x, and GCS::DeriVector2::y.
double GCS::System::calculateConstraintErrorByTag | ( | int | tagId | ) |
void GCS::System::calculateNormalAtPoint | ( | const Curve & | crv, |
const Point & | p, | ||
double & | rtnX, | ||
double & | rtnY | ||
) | const |
References GCS::Curve::CalculateNormal(), GCS::DeriVector2::x, and GCS::DeriVector2::y.
Referenced by Sketcher::Sketch::calculateNormalAtPoint().
void GCS::System::clear | ( | void | ) |
References GCS::free().
Referenced by Sketcher::Sketch::clear(), and ~System().
void GCS::System::clearByTag | ( | int | tagId | ) |
References removeConstraint().
void GCS::System::declareDrivenParams | ( | VEC_pD & | params | ) |
Referenced by Sketcher::Sketch::resetSolver(), and Sketcher::Sketch::setUpSketch().
void GCS::System::declareUnknowns | ( | VEC_pD & | params | ) |
Referenced by Sketcher::Sketch::resetSolver(), Sketcher::Sketch::setUpSketch(), and solve().
int GCS::System::dofsNumber | ( | ) | const |
Referenced by Sketcher::Sketch::resetSolver(), and Sketcher::Sketch::setUpSketch().
void GCS::System::getConflicting | ( | VEC_I & | conflictingOut | ) | const |
Referenced by Sketcher::Sketch::resetSolver(), and Sketcher::Sketch::setUpSketch().
void GCS::System::getDependentParams | ( | VEC_pD & | pdependentparameterlist | ) | const |
Referenced by Sketcher::Sketch::resetSolver(), and Sketcher::Sketch::setUpSketch().
void GCS::System::getDependentParamsGroups | ( | std::vector< std::vector< double * > > & | pdependentparametergroups | ) | const |
Referenced by Sketcher::Sketch::setUpSketch().
double GCS::System::getFinePrecision | ( | ) |
References convergence.
void GCS::System::getPartiallyRedundant | ( | VEC_I & | partiallyredundantOut | ) | const |
Referenced by Sketcher::Sketch::resetSolver(), and Sketcher::Sketch::setUpSketch().
void GCS::System::getRedundant | ( | VEC_I & | redundantOut | ) | const |
Referenced by Sketcher::Sketch::resetSolver(), and Sketcher::Sketch::setUpSketch().
bool GCS::System::hasConflicting | ( | ) | const |
bool GCS::System::hasPartiallyRedundant | ( | ) | const |
bool GCS::System::hasRedundant | ( | ) | const |
References diagnose(), and GCS::Equal.
Referenced by Sketcher::Sketch::initBSplinePieceMove(), Sketcher::Sketch::initMove(), Sketcher::Sketch::resetSolver(), Sketcher::Sketch::setUpSketch(), and solve().
void GCS::System::invalidatedDiagnosis | ( | ) |
bool GCS::System::isEmptyDiagnoseMatrix | ( | ) | const |
void GCS::System::removeConstraint | ( | Constraint * | constr | ) |
References DraftVecUtils::find(), GCS::free(), GCS::Constraint::getTag(), and draftguitools.gui_annotationstyleeditor::param.
Referenced by clearByTag().
void GCS::System::rescaleConstraint | ( | int | id, |
double | coeff | ||
) |
Referenced by Sketcher::Sketch::initMove().
int GCS::System::solve | ( | bool | isFine = true , |
Algorithm | alg = DogLeg , |
||
bool | isRedundantsolving = false |
||
) |
References GCS::Converged, convergence, convergenceRedundant, GCS::Failed, solve(), and GCS::Success.
Referenced by femsolver.run.Machine::reset(), and solve().
int GCS::System::solve | ( | SubSystem * | subsys, |
bool | isFine = true , |
||
Algorithm | alg = DogLeg , |
||
bool | isRedundantsolving = false |
||
) |
References GCS::BFGS, GCS::DogLeg, GCS::Failed, and GCS::LevenbergMarquardt.
Referenced by femsolver.run.Machine::reset().
int GCS::System::solve | ( | SubSystem * | subsysA, |
SubSystem * | subsysB, | ||
bool | isFine = true , |
||
bool | isRedundantsolving = false |
||
) |
References GCS::SubSystem::calcGrad(), GCS::SubSystem::calcJacobi(), GCS::SubSystem::calcResidual(), GCS::Converged, convergence, convergenceRedundant, GCS::SubSystem::cSize(), GCS::SubSystem::error(), GCS::Failed, GCS::SubSystem::getParamList(), GCS::SubSystem::getParams(), maxIter, maxIterRedundant, GCS::SubSystem::maxStep(), GCS::SubSystem::pSize(), GCS::SubSystem::redirectParams(), GCS::SubSystem::revertParams(), GCS::SubSystem::setParams(), sketchSizeMultiplier, sketchSizeMultiplierRedundant, and GCS::Success.
Referenced by femsolver.run.Machine::reset().
int GCS::System::solve | ( | VEC_pD & | params, |
bool | isFine = true , |
||
Algorithm | alg = DogLeg , |
||
bool | isRedundantsolving = false |
||
) |
References declareUnknowns(), initSolution(), and solve().
Referenced by femsolver.run.Machine::reset().
void GCS::System::undoSolution | ( | ) |
double GCS::System::convergence |
Referenced by getFinePrecision(), Sketcher::Sketch::setConvergence(), and solve().
double GCS::System::convergenceRedundant |
Referenced by Sketcher::Sketch::setConvergenceRedundant(), and solve().
DebugMode GCS::System::debugMode |
Referenced by Sketcher::Sketch::setDebugMode().
double GCS::System::DL_tolf |
Referenced by Sketcher::Sketch::setDL_tolf().
double GCS::System::DL_tolfRedundant |
Referenced by Sketcher::Sketch::setDL_tolfRedundant().
double GCS::System::DL_tolg |
Referenced by Sketcher::Sketch::setDL_tolg().
double GCS::System::DL_tolgRedundant |
Referenced by Sketcher::Sketch::setDL_tolgRedundant().
double GCS::System::DL_tolx |
Referenced by Sketcher::Sketch::setDL_tolx().
double GCS::System::DL_tolxRedundant |
Referenced by Sketcher::Sketch::setDL_tolxRedundant().
DogLegGaussStep GCS::System::dogLegGaussStep |
Referenced by Sketcher::Sketch::setDogLegGaussStep().
double GCS::System::LM_eps |
Referenced by Sketcher::Sketch::setLM_eps().
double GCS::System::LM_eps1 |
Referenced by Sketcher::Sketch::setLM_eps1().
double GCS::System::LM_eps1Redundant |
Referenced by Sketcher::Sketch::setLM_eps1Redundant().
double GCS::System::LM_epsRedundant |
Referenced by Sketcher::Sketch::setLM_epsRedundant().
double GCS::System::LM_tau |
Referenced by Sketcher::Sketch::setLM_tau().
double GCS::System::LM_tauRedundant |
Referenced by Sketcher::Sketch::setLM_tauRedundant().
int GCS::System::maxIter |
Referenced by Sketcher::Sketch::setMaxIter(), and solve().
int GCS::System::maxIterRedundant |
Referenced by Sketcher::Sketch::setMaxIterRedundant(), and solve().
QRAlgorithm GCS::System::qrAlgorithm |
double GCS::System::qrpivotThreshold |
bool GCS::System::sketchSizeMultiplier |
Referenced by Sketcher::Sketch::setSketchSizeMultiplier(), and solve().
bool GCS::System::sketchSizeMultiplierRedundant |
Referenced by Sketcher::Sketch::setSketchSizeMultiplierRedundant(), and solve().