65 pCollectiveIn(pCollIn),
66 pLongitudinalIn(pLongIn),
68 pNode1(pN1), pNode2(pN2), pNode3(pN3),
69 dDynamicCoef(dDynCoef),
70 dCyclicFactor(dCyclFact),
71 dCollectiveFactor(dCollFact),
72 fCollLimits(fCL), dCollMax(dCMax), dCollMin(dCMin),
73 fForeAftLimits(fFL), dForeAftMax(dFMax), dForeAftMin(dFMin),
74 fLatLimits(fLL), dLatMax(dLMax), dLatMin(dLMin)
138 DEBUGCOUT(
"Entering SwashPlate::AssJac()" << std::endl);
152 WM.
PutItem(1, iCollFirstIndex, iCollFirstIndex, dCoef);
153 WM.
PutItem(2, iLongFirstIndex, iLongFirstIndex, dCoef);
154 WM.
PutItem(3, iLatFirstIndex, iLatFirstIndex, dCoef);
158 WM.
PutItem(4, iNode1FirstIndex, iNode1FirstIndex, d);
159 WM.
PutItem(5, iNode2FirstIndex, iNode2FirstIndex, d);
160 WM.
PutItem(6, iNode3FirstIndex, iNode3FirstIndex, d);
164 WM.
PutItem(7, iNode1FirstIndex, iCollFirstIndex, -d);
165 WM.
PutItem(8, iNode2FirstIndex, iCollFirstIndex, -d);
166 WM.
PutItem(9, iNode3FirstIndex, iCollFirstIndex, -d);
170 WM.
PutItem(10, iNode1FirstIndex, iLongFirstIndex, d);
174 WM.
PutItem(11, iNode2FirstIndex, iLongFirstIndex, -d);
175 WM.
PutItem(12, iNode3FirstIndex, iLongFirstIndex, -d);
179 WM.
PutItem(13, iNode2FirstIndex, iLongFirstIndex, d);
180 WM.
PutItem(14, iNode3FirstIndex, iLongFirstIndex, -d);
193 DEBUGCOUT(
"Entering SwashPlate::AssRes()" << std::endl);
248 - XCurr(iNode1FirstIndex) -
dDynamicCoef*XPrimeCurr(iNode1FirstIndex));
250 - XCurr(iNode2FirstIndex) -
dDynamicCoef*XPrimeCurr(iNode2FirstIndex));
252 - XCurr(iNode3FirstIndex) -
dDynamicCoef*XPrimeCurr(iNode3FirstIndex));
virtual std::ostream & Restart(std::ostream &out) const
virtual ~SwashPlate(void)
virtual void ResizeReset(integer)
const ScalarDifferentialNode * pLateralIn
const ScalarDifferentialNode * pNode3
virtual std::ostream & Restart(std::ostream &out) const
const ScalarDifferentialNode * pCollectiveIn
void ResizeReset(integer iNewRow, integer iNewCol)
virtual void PutRowIndex(integer iSubRow, integer iRow)=0
void PutItem(integer iSubIt, integer iRow, integer iCol, const doublereal &dCoef)
doublereal dCollectiveFactor
const ScalarDifferentialNode * pNode2
virtual VariableSubMatrixHandler & AssJac(VariableSubMatrixHandler &WorkMat, doublereal dCoef, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr)
SwashPlate(unsigned int uL, const DofOwner *pDO, const ScalarDifferentialNode *pCollIn, const ScalarDifferentialNode *pLongIn, const ScalarDifferentialNode *pLatIn, const ScalarDifferentialNode *pN1, const ScalarDifferentialNode *pN2, const ScalarDifferentialNode *pN3, doublereal dDynCoef, doublereal dCyclFact, doublereal dCollFact, flag fCL, doublereal dCMin, doublereal dCMax, flag fFL, doublereal dFMin, doublereal dFMax, flag fLL, doublereal dLMin, doublereal dLMax, flag fOut)
#define ASSERT(expression)
GradientExpression< UnaryExpr< FuncSqrt, Expr > > sqrt(const GradientExpression< Expr > &u)
virtual void PutCoef(integer iRow, const doublereal &dCoef)=0
const ScalarDifferentialNode * pNode1
virtual SubVectorHandler & AssRes(SubVectorHandler &WorkVec, doublereal dCoef, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr)
SparseSubMatrixHandler & SetSparse(void)
virtual integer iGetFirstIndex(void) const
virtual Node::Type GetNodeType(void) const
unsigned int GetLabel(void) const
const ScalarDifferentialNode * pLongitudinalIn
virtual void SetInitialValue(VectorHandler &X)