MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
SwashPlate Class Reference

#include <swashpl.h>

Inheritance diagram for SwashPlate:
Collaboration diagram for SwashPlate:

Public Member Functions

 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)
 
virtual ~SwashPlate (void)
 
virtual std::ostream & Restart (std::ostream &out) const
 
virtual Genel::Type GetGenelType (void) const
 
virtual void WorkSpaceDim (integer *piNumRows, integer *piNumCols) const
 
virtual VariableSubMatrixHandlerAssJac (VariableSubMatrixHandler &WorkMat, doublereal dCoef, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr)
 
virtual SubVectorHandlerAssRes (SubVectorHandler &WorkVec, doublereal dCoef, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr)
 
virtual void SetInitialValue (VectorHandler &X)
 
virtual void GetConnectedNodes (std::vector< const Node * > &connectedNodes) const
 
- Public Member Functions inherited from Elem
 Elem (unsigned int uL, flag fOut)
 
virtual ~Elem (void)
 
virtual unsigned int iGetNumDof (void) const
 
virtual std::ostream & DescribeDof (std::ostream &out, const char *prefix="", bool bInitial=false) const
 
virtual void DescribeDof (std::vector< std::string > &desc, bool bInitial=false, int i=-1) const
 
virtual std::ostream & DescribeEq (std::ostream &out, const char *prefix="", bool bInitial=false) const
 
virtual void DescribeEq (std::vector< std::string > &desc, bool bInitial=false, int i=-1) const
 
virtual DofOrder::Order GetDofType (unsigned int) const
 
virtual void AssMats (VariableSubMatrixHandler &WorkMatA, VariableSubMatrixHandler &WorkMatB, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr)
 
virtual bool bInverseDynamics (void) const
 
void SetInverseDynamicsFlags (unsigned uIDF)
 
unsigned GetInverseDynamicsFlags (void) const
 
bool bIsErgonomy (void) const
 
bool bIsRightHandSide (void) const
 
virtual VariableSubMatrixHandlerAssJac (VariableSubMatrixHandler &WorkMat, const VectorHandler &XCurr)
 
virtual SubVectorHandlerAssRes (SubVectorHandler &WorkVec, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr, const VectorHandler &XPrimePrimeCurr, InverseDynamics::Order iOrder=InverseDynamics::INVERSE_DYNAMICS)
 
virtual int GetNumConnectedNodes (void) const
 
- Public Member Functions inherited from WithLabel
 WithLabel (unsigned int uL=0, const std::string &sN="")
 
virtual ~WithLabel (void)
 
void PutLabel (unsigned int uL)
 
void PutName (const std::string &sN)
 
unsigned int GetLabel (void) const
 
const std::string & GetName (void) const
 
- Public Member Functions inherited from SimulationEntity
 SimulationEntity (void)
 
virtual ~SimulationEntity (void)
 
virtual bool bIsValidIndex (unsigned int i) const
 
virtual DofOrder::Order GetEqType (unsigned int i) const
 
virtual void SetValue (DataManager *pDM, VectorHandler &X, VectorHandler &XP, SimulationEntity::Hints *h=0)
 
virtual HintParseHint (DataManager *pDM, const char *s) const
 
virtual void BeforePredict (VectorHandler &, VectorHandler &, VectorHandler &, VectorHandler &) const
 
virtual void AfterPredict (VectorHandler &X, VectorHandler &XP)
 
virtual void Update (const VectorHandler &XCurr, const VectorHandler &XPrimeCurr)
 
virtual void DerivativesUpdate (const VectorHandler &XCurr, const VectorHandler &XPrimeCurr)
 
virtual void Update (const VectorHandler &XCurr, InverseDynamics::Order iOrder)
 
virtual void AfterConvergence (const VectorHandler &X, const VectorHandler &XP)
 
virtual void AfterConvergence (const VectorHandler &X, const VectorHandler &XP, const VectorHandler &XPP)
 
virtual unsigned int iGetNumPrivData (void) const
 
virtual unsigned int iGetPrivDataIdx (const char *s) const
 
virtual doublereal dGetPrivData (unsigned int i) const
 
virtual std::ostream & OutputAppend (std::ostream &out) const
 
virtual void ReadInitialState (MBDynParser &HP)
 
- Public Member Functions inherited from ToBeOutput
 ToBeOutput (flag fOut=fDefaultOut)
 
virtual ~ToBeOutput (void)
 
virtual void OutputPrepare (OutputHandler &OH)
 
virtual void Output (OutputHandler &OH) const
 
virtual void Output (OutputHandler &OH, const VectorHandler &X, const VectorHandler &XP) const
 
virtual flag fToBeOutput (void) const
 
virtual bool bToBeOutput (void) const
 
virtual void SetOutputFlag (flag f=flag(1))
 
- Public Member Functions inherited from Genel
 Genel (unsigned int uL, const DofOwner *pDO, flag fOut)
 
virtual ~Genel (void)
 
virtual Elem::Type GetElemType (void) const
 
- Public Member Functions inherited from ElemWithDofs
 ElemWithDofs (unsigned int uL, const DofOwner *pDO, flag fOut)
 
virtual ~ElemWithDofs (void)
 
- Public Member Functions inherited from DofOwnerOwner
 DofOwnerOwner (const DofOwner *pDO)
 
virtual ~DofOwnerOwner ()
 
virtual const DofOwnerpGetDofOwner (void) const
 
virtual integer iGetFirstIndex (void) const
 

Protected Attributes

const ScalarDifferentialNodepCollectiveIn
 
const ScalarDifferentialNodepLongitudinalIn
 
const ScalarDifferentialNodepLateralIn
 
const ScalarDifferentialNodepNode1
 
const ScalarDifferentialNodepNode2
 
const ScalarDifferentialNodepNode3
 
doublereal dDynamicCoef
 
doublereal dCyclicFactor
 
doublereal dCollectiveFactor
 
flag fCollLimits
 
doublereal dCollMax
 
doublereal dCollMin
 
flag fForeAftLimits
 
doublereal dForeAftMax
 
doublereal dForeAftMin
 
flag fLatLimits
 
doublereal dLatMax
 
doublereal dLatMin
 
- Protected Attributes inherited from WithLabel
unsigned int uLabel
 
std::string sName
 
- Protected Attributes inherited from ToBeOutput
flag fOutput
 

Additional Inherited Members

- Public Types inherited from Elem
enum  Type {
  UNKNOWN = -1, AIRPROPERTIES = 0, INDUCEDVELOCITY, AUTOMATICSTRUCTURAL,
  GRAVITY, BODY, JOINT, JOINT_REGULARIZATION,
  BEAM, PLATE, FORCE, INERTIA,
  ELECTRICBULK, ELECTRIC, THERMAL, HYDRAULIC,
  BULK, LOADABLE, DRIVEN, EXTERNAL,
  AEROMODAL, AERODYNAMIC, GENEL, SOCKETSTREAM_OUTPUT,
  RTAI_OUTPUT = SOCKETSTREAM_OUTPUT, LASTELEMTYPE
}
 
- Public Types inherited from SimulationEntity
typedef std::vector< Hint * > Hints
 
- Public Types inherited from ToBeOutput
enum  { OUTPUT = 0x1U, OUTPUT_MASK = 0xFU, OUTPUT_PRIVATE = 0x10U, OUTPUT_PRIVATE_MASK = ~OUTPUT_MASK }
 
- Public Types inherited from Genel
enum  Type {
  UNKNOWN = -1, SWASHPLATE = 0, ROTORTRIM, CLAMP,
  DISTANCE, SPRING, SPRINGSUPPORT, CROSSSPRINGSUPPORT,
  SPRINGDAMPER, SPRINGDAMPERSUPPORT, CROSSSPRINGDAMPERSUPPORT, MASS,
  SCALARFILTER, STATESPACESISO, STATESPACEMIMO, LASTGENELTYPE
}
 

Detailed Description

Definition at line 43 of file swashpl.h.

Constructor & Destructor Documentation

SwashPlate::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 
)

Definition at line 43 of file swashpl.cc.

References Node::ABSTRACT, ASSERT, dCollectiveFactor, dCyclicFactor, dDynamicCoef, ScalarDifferentialNode::GetNodeType(), pCollectiveIn, pLateralIn, pLongitudinalIn, pNode1, pNode2, and pNode3.

63 : Elem(uL, fOut),
64 Genel(uL, pDO, fOut),
65 pCollectiveIn(pCollIn), // Collective(pColl),
66 pLongitudinalIn(pLongIn), // Longitudinal(pLong),
67 pLateralIn(pLatIn), // Lateral(pLat),
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)
75 {
76  ASSERT(pCollectiveIn != NULL);
78  ASSERT(pLongitudinalIn != NULL);
80  ASSERT(pLateralIn != NULL);
82 
83  ASSERT(pNode1 != NULL);
85  ASSERT(pNode2 != NULL);
87  ASSERT(pNode3 != NULL);
89 
90  ASSERT(dCyclicFactor != 0.);
92  ASSERT(dDynamicCoef >= 0.);
93 }
doublereal dLatMax
Definition: swashpl.h:69
doublereal dDynamicCoef
Definition: swashpl.h:56
doublereal dCollMin
Definition: swashpl.h:62
flag fCollLimits
Definition: swashpl.h:60
doublereal dCollMax
Definition: swashpl.h:61
const ScalarDifferentialNode * pLateralIn
Definition: swashpl.h:49
doublereal dForeAftMax
Definition: swashpl.h:65
const ScalarDifferentialNode * pNode3
Definition: swashpl.h:54
const ScalarDifferentialNode * pCollectiveIn
Definition: swashpl.h:45
flag fForeAftLimits
Definition: swashpl.h:64
doublereal dCyclicFactor
Definition: swashpl.h:57
doublereal dForeAftMin
Definition: swashpl.h:66
doublereal dCollectiveFactor
Definition: swashpl.h:58
const ScalarDifferentialNode * pNode2
Definition: swashpl.h:53
doublereal dLatMin
Definition: swashpl.h:70
#define ASSERT(expression)
Definition: colamd.c:977
flag fLatLimits
Definition: swashpl.h:68
Genel(unsigned int uL, const DofOwner *pDO, flag fOut)
Definition: genel.cc:44
const ScalarDifferentialNode * pNode1
Definition: swashpl.h:52
virtual Node::Type GetNodeType(void) const
Definition: node.cc:169
Elem(unsigned int uL, flag fOut)
Definition: elem.cc:41
const ScalarDifferentialNode * pLongitudinalIn
Definition: swashpl.h:47

Here is the call graph for this function:

SwashPlate::~SwashPlate ( void  )
virtual

Definition at line 96 of file swashpl.cc.

References NO_OP.

97 {
98  NO_OP;
99 }
#define NO_OP
Definition: myassert.h:74

Member Function Documentation

VariableSubMatrixHandler & SwashPlate::AssJac ( VariableSubMatrixHandler WorkMat,
doublereal  dCoef,
const VectorHandler XCurr,
const VectorHandler XPrimeCurr 
)
virtual

Implements Elem.

Definition at line 133 of file swashpl.cc.

References dCollectiveFactor, dCyclicFactor, dDynamicCoef, DEBUGCOUT, DofOwnerOwner::iGetFirstIndex(), pCollectiveIn, pLateralIn, pLongitudinalIn, pNode1, pNode2, pNode3, SparseSubMatrixHandler::PutItem(), SparseSubMatrixHandler::ResizeReset(), VariableSubMatrixHandler::SetSparse(), and grad::sqrt().

137 {
138  DEBUGCOUT("Entering SwashPlate::AssJac()" << std::endl);
139 
140  /* Casting di WorkMat */
141  SparseSubMatrixHandler& WM = WorkMat.SetSparse();
142  WM.ResizeReset(14, 0);
143 
144  integer iCollFirstIndex = pCollectiveIn->iGetFirstIndex() + 1;
145  integer iLongFirstIndex = pLongitudinalIn->iGetFirstIndex() + 1;
146  integer iLatFirstIndex = pLateralIn->iGetFirstIndex() + 1;
147 
148  integer iNode1FirstIndex = pNode1->iGetFirstIndex() + 1;
149  integer iNode2FirstIndex = pNode2->iGetFirstIndex() + 1;
150  integer iNode3FirstIndex = pNode3->iGetFirstIndex() + 1;
151 
152  WM.PutItem(1, iCollFirstIndex, iCollFirstIndex, dCoef);
153  WM.PutItem(2, iLongFirstIndex, iLongFirstIndex, dCoef);
154  WM.PutItem(3, iLatFirstIndex, iLatFirstIndex, dCoef);
155 
156  doublereal d = dDynamicCoef + dCoef;
157 
158  WM.PutItem(4, iNode1FirstIndex, iNode1FirstIndex, d);
159  WM.PutItem(5, iNode2FirstIndex, iNode2FirstIndex, d);
160  WM.PutItem(6, iNode3FirstIndex, iNode3FirstIndex, d);
161 
162  d = dCollectiveFactor;
163 
164  WM.PutItem(7, iNode1FirstIndex, iCollFirstIndex, -d);
165  WM.PutItem(8, iNode2FirstIndex, iCollFirstIndex, -d);
166  WM.PutItem(9, iNode3FirstIndex, iCollFirstIndex, -d);
167 
169 
170  WM.PutItem(10, iNode1FirstIndex, iLongFirstIndex, d);
171 
172  d /= 2.;
173 
174  WM.PutItem(11, iNode2FirstIndex, iLongFirstIndex, -d);
175  WM.PutItem(12, iNode3FirstIndex, iLongFirstIndex, -d);
176 
177  d *= sqrt(3.);
178 
179  WM.PutItem(13, iNode2FirstIndex, iLongFirstIndex, d);
180  WM.PutItem(14, iNode3FirstIndex, iLongFirstIndex, -d);
181 
182  return WorkMat;
183 }
doublereal dDynamicCoef
Definition: swashpl.h:56
const ScalarDifferentialNode * pLateralIn
Definition: swashpl.h:49
const ScalarDifferentialNode * pNode3
Definition: swashpl.h:54
const ScalarDifferentialNode * pCollectiveIn
Definition: swashpl.h:45
void ResizeReset(integer iNewRow, integer iNewCol)
Definition: submat.cc:1084
doublereal dCyclicFactor
Definition: swashpl.h:57
void PutItem(integer iSubIt, integer iRow, integer iCol, const doublereal &dCoef)
Definition: submat.h:997
doublereal dCollectiveFactor
Definition: swashpl.h:58
const ScalarDifferentialNode * pNode2
Definition: swashpl.h:53
#define DEBUGCOUT(msg)
Definition: myassert.h:232
GradientExpression< UnaryExpr< FuncSqrt, Expr > > sqrt(const GradientExpression< Expr > &u)
Definition: gradient.h:2974
const ScalarDifferentialNode * pNode1
Definition: swashpl.h:52
SparseSubMatrixHandler & SetSparse(void)
Definition: submat.h:1178
virtual integer iGetFirstIndex(void) const
Definition: dofown.h:127
double doublereal
Definition: colamd.c:52
long int integer
Definition: colamd.c:51
const ScalarDifferentialNode * pLongitudinalIn
Definition: swashpl.h:47

Here is the call graph for this function:

SubVectorHandler & SwashPlate::AssRes ( SubVectorHandler WorkVec,
doublereal  dCoef,
const VectorHandler XCurr,
const VectorHandler XPrimeCurr 
)
virtual

Implements Elem.

Definition at line 188 of file swashpl.cc.

References dCollectiveFactor, dCollMax, dCollMin, dCyclicFactor, dDynamicCoef, DEBUGCOUT, dForeAftMax, dForeAftMin, dLatMax, dLatMin, fCollLimits, fForeAftLimits, fLatLimits, DofOwnerOwner::iGetFirstIndex(), pCollectiveIn, pLateralIn, pLongitudinalIn, pNode1, pNode2, pNode3, VectorHandler::PutCoef(), SubVectorHandler::PutRowIndex(), VectorHandler::ResizeReset(), and grad::sqrt().

192 {
193  DEBUGCOUT("Entering SwashPlate::AssRes()" << std::endl);
194 
195  /* Dimensiona e resetta la matrice di lavoro */
196  WorkVec.ResizeReset(6);
197 
198  integer iCollFirstIndex = pCollectiveIn->iGetFirstIndex() + 1;
199  integer iLongFirstIndex = pLongitudinalIn->iGetFirstIndex() + 1;
200  integer iLatFirstIndex = pLateralIn->iGetFirstIndex() + 1;
201 
202  integer iNode1FirstIndex = pNode1->iGetFirstIndex() + 1;
203  integer iNode2FirstIndex = pNode2->iGetFirstIndex() + 1;
204  integer iNode3FirstIndex = pNode3->iGetFirstIndex() + 1;
205 
206  WorkVec.PutRowIndex(1, iCollFirstIndex);
207  WorkVec.PutRowIndex(2, iLongFirstIndex);
208  WorkVec.PutRowIndex(3, iLatFirstIndex);
209 
210  WorkVec.PutRowIndex(4, iNode1FirstIndex);
211  WorkVec.PutRowIndex(5, iNode2FirstIndex);
212  WorkVec.PutRowIndex(6, iNode3FirstIndex);
213 
214  doublereal dXColl = XCurr(iCollFirstIndex);
215  doublereal dXLong = XCurr(iLongFirstIndex);
216  doublereal dXLat = XCurr(iLatFirstIndex);
217 
218  WorkVec.PutCoef(1, -dXColl);
219  WorkVec.PutCoef(2, -dXLong);
220  WorkVec.PutCoef(3, -dXLat);
221 
222  /* Limits on pitch angles */
223  if (fCollLimits) {
224  if (dXColl > dCollMax) {
225  dXColl = dCollMax;
226  } else if (dXColl < dCollMin) {
227  dXColl = dCollMin;
228  }
229  }
230 
231  if (fForeAftLimits) {
232  if (dXLong > dForeAftMax) {
233  dXLong = dForeAftMax;
234  } else if (dXLong < dForeAftMin) {
235  dXLong = dForeAftMin;
236  }
237  }
238 
239  if (fLatLimits) {
240  if (dXLat > dLatMax) {
241  dXLat = dLatMax;
242  } else if (dXLat < dLatMin) {
243  dXLat = dLatMin;
244  }
245  }
246 
247  WorkVec.PutCoef(4, dCollectiveFactor*(dXColl - dCyclicFactor*dXLong)
248  - XCurr(iNode1FirstIndex) - dDynamicCoef*XPrimeCurr(iNode1FirstIndex));
249  WorkVec.PutCoef(5, dCollectiveFactor*(dXColl + dCyclicFactor*(.5*dXLong - sqrt(3.)/2.*dXLat))
250  - XCurr(iNode2FirstIndex) - dDynamicCoef*XPrimeCurr(iNode2FirstIndex));
251  WorkVec.PutCoef(6, dCollectiveFactor*(dXColl + dCyclicFactor*(.5*dXLong + sqrt(3.)/2.*dXLat))
252  - XCurr(iNode3FirstIndex) - dDynamicCoef*XPrimeCurr(iNode3FirstIndex));
253 
254  return WorkVec;
255 }
doublereal dLatMax
Definition: swashpl.h:69
doublereal dDynamicCoef
Definition: swashpl.h:56
virtual void ResizeReset(integer)
Definition: vh.cc:55
doublereal dCollMin
Definition: swashpl.h:62
flag fCollLimits
Definition: swashpl.h:60
doublereal dCollMax
Definition: swashpl.h:61
const ScalarDifferentialNode * pLateralIn
Definition: swashpl.h:49
doublereal dForeAftMax
Definition: swashpl.h:65
const ScalarDifferentialNode * pNode3
Definition: swashpl.h:54
const ScalarDifferentialNode * pCollectiveIn
Definition: swashpl.h:45
flag fForeAftLimits
Definition: swashpl.h:64
doublereal dCyclicFactor
Definition: swashpl.h:57
doublereal dForeAftMin
Definition: swashpl.h:66
virtual void PutRowIndex(integer iSubRow, integer iRow)=0
doublereal dCollectiveFactor
Definition: swashpl.h:58
const ScalarDifferentialNode * pNode2
Definition: swashpl.h:53
doublereal dLatMin
Definition: swashpl.h:70
#define DEBUGCOUT(msg)
Definition: myassert.h:232
GradientExpression< UnaryExpr< FuncSqrt, Expr > > sqrt(const GradientExpression< Expr > &u)
Definition: gradient.h:2974
virtual void PutCoef(integer iRow, const doublereal &dCoef)=0
flag fLatLimits
Definition: swashpl.h:68
const ScalarDifferentialNode * pNode1
Definition: swashpl.h:52
virtual integer iGetFirstIndex(void) const
Definition: dofown.h:127
double doublereal
Definition: colamd.c:52
long int integer
Definition: colamd.c:51
const ScalarDifferentialNode * pLongitudinalIn
Definition: swashpl.h:47

Here is the call graph for this function:

virtual void SwashPlate::GetConnectedNodes ( std::vector< const Node * > &  connectedNodes) const
inlinevirtual

Reimplemented from Elem.

Definition at line 129 of file swashpl.h.

References pCollectiveIn, pLateralIn, pLongitudinalIn, pNode1, pNode2, and pNode3.

129  {
130  connectedNodes.resize(6);
131  connectedNodes[0] = pCollectiveIn;
132  connectedNodes[1] = pLongitudinalIn;
133  connectedNodes[2] = pLateralIn;
134  connectedNodes[3] = pNode1;
135  connectedNodes[4] = pNode2;
136  connectedNodes[5] = pNode3;
137  };
const ScalarDifferentialNode * pLateralIn
Definition: swashpl.h:49
const ScalarDifferentialNode * pNode3
Definition: swashpl.h:54
const ScalarDifferentialNode * pCollectiveIn
Definition: swashpl.h:45
const ScalarDifferentialNode * pNode2
Definition: swashpl.h:53
const ScalarDifferentialNode * pNode1
Definition: swashpl.h:52
const ScalarDifferentialNode * pLongitudinalIn
Definition: swashpl.h:47
virtual Genel::Type SwashPlate::GetGenelType ( void  ) const
inlinevirtual

Implements Genel.

Definition at line 100 of file swashpl.h.

References Genel::SWASHPLATE.

100  {
101  return Genel::SWASHPLATE;
102  };
std::ostream & SwashPlate::Restart ( std::ostream &  out) const
virtual

Implements Elem.

Definition at line 104 of file swashpl.cc.

References dCollectiveFactor, dCollMax, dCollMin, dCyclicFactor, dDynamicCoef, dForeAftMax, dForeAftMin, dLatMax, dLatMin, fCollLimits, fForeAftLimits, fLatLimits, WithLabel::GetLabel(), pCollectiveIn, pLateralIn, pLongitudinalIn, pNode1, pNode2, pNode3, and Genel::Restart().

105 {
106  Genel::Restart(out) << ", swash plate, "
107  << pCollectiveIn->GetLabel() << ", ";
108  // Collective.pGetDriveCaller()->Restart(out) << ", ";
109  if (fCollLimits) {
110  out << "limits, " << dCollMin << ", " << dCollMax << ", ";
111  }
112  out << pLongitudinalIn->GetLabel() << ", ";
113  // Longitudinal.pGetDriveCaller()->Restart(out) << ", ";
114  if (fForeAftLimits) {
115  out << "limits, " << dForeAftMin << ", " << dForeAftMax << ", ";
116  }
117  out << pLateralIn->GetLabel() << ", ";
118  // Lateral.pGetDriveCaller()->Restart(out) << ", ";
119  if (fLatLimits) {
120  out << "limits, " << dLatMin << ", " << dLatMax << ", ";
121  }
122  out << pNode1->GetLabel() << ", "
123  << pNode2->GetLabel() << ", "
124  << pNode3->GetLabel() << ", "
125  << dDynamicCoef << ", "
126  << dCyclicFactor << ", " << dCollectiveFactor << ';' << std::endl;
127 
128  return out;
129 }
doublereal dLatMax
Definition: swashpl.h:69
doublereal dDynamicCoef
Definition: swashpl.h:56
virtual std::ostream & Restart(std::ostream &out) const
Definition: genel.cc:60
doublereal dCollMin
Definition: swashpl.h:62
flag fCollLimits
Definition: swashpl.h:60
doublereal dCollMax
Definition: swashpl.h:61
const ScalarDifferentialNode * pLateralIn
Definition: swashpl.h:49
doublereal dForeAftMax
Definition: swashpl.h:65
const ScalarDifferentialNode * pNode3
Definition: swashpl.h:54
const ScalarDifferentialNode * pCollectiveIn
Definition: swashpl.h:45
flag fForeAftLimits
Definition: swashpl.h:64
doublereal dCyclicFactor
Definition: swashpl.h:57
doublereal dForeAftMin
Definition: swashpl.h:66
doublereal dCollectiveFactor
Definition: swashpl.h:58
const ScalarDifferentialNode * pNode2
Definition: swashpl.h:53
doublereal dLatMin
Definition: swashpl.h:70
flag fLatLimits
Definition: swashpl.h:68
const ScalarDifferentialNode * pNode1
Definition: swashpl.h:52
unsigned int GetLabel(void) const
Definition: withlab.cc:62
const ScalarDifferentialNode * pLongitudinalIn
Definition: swashpl.h:47

Here is the call graph for this function:

void SwashPlate::SetInitialValue ( VectorHandler X)
virtual

Initialize state vector used in initial assembly. May set internal states of the element. Do not rely on being always called, because initial assembly could be implicitly or explicitly skipped

Reimplemented from DofOwnerOwner.

Definition at line 258 of file swashpl.cc.

References NO_OP.

259 {
260  NO_OP;
261 }
#define NO_OP
Definition: myassert.h:74
virtual void SwashPlate::WorkSpaceDim ( integer piNumRows,
integer piNumCols 
) const
inlinevirtual

Implements Elem.

Definition at line 105 of file swashpl.h.

105  {
106  *piNumRows = 6;
107  *piNumCols = 6;
108  };

Member Data Documentation

doublereal SwashPlate::dCollectiveFactor
protected

Definition at line 58 of file swashpl.h.

Referenced by AssJac(), AssRes(), Restart(), and SwashPlate().

doublereal SwashPlate::dCollMax
protected

Definition at line 61 of file swashpl.h.

Referenced by AssRes(), and Restart().

doublereal SwashPlate::dCollMin
protected

Definition at line 62 of file swashpl.h.

Referenced by AssRes(), and Restart().

doublereal SwashPlate::dCyclicFactor
protected

Definition at line 57 of file swashpl.h.

Referenced by AssJac(), AssRes(), Restart(), and SwashPlate().

doublereal SwashPlate::dDynamicCoef
protected

Definition at line 56 of file swashpl.h.

Referenced by AssJac(), AssRes(), Restart(), and SwashPlate().

doublereal SwashPlate::dForeAftMax
protected

Definition at line 65 of file swashpl.h.

Referenced by AssRes(), and Restart().

doublereal SwashPlate::dForeAftMin
protected

Definition at line 66 of file swashpl.h.

Referenced by AssRes(), and Restart().

doublereal SwashPlate::dLatMax
protected

Definition at line 69 of file swashpl.h.

Referenced by AssRes(), and Restart().

doublereal SwashPlate::dLatMin
protected

Definition at line 70 of file swashpl.h.

Referenced by AssRes(), and Restart().

flag SwashPlate::fCollLimits
protected

Definition at line 60 of file swashpl.h.

Referenced by AssRes(), and Restart().

flag SwashPlate::fForeAftLimits
protected

Definition at line 64 of file swashpl.h.

Referenced by AssRes(), and Restart().

flag SwashPlate::fLatLimits
protected

Definition at line 68 of file swashpl.h.

Referenced by AssRes(), and Restart().

const ScalarDifferentialNode* SwashPlate::pCollectiveIn
protected

Definition at line 45 of file swashpl.h.

Referenced by AssJac(), AssRes(), GetConnectedNodes(), Restart(), and SwashPlate().

const ScalarDifferentialNode* SwashPlate::pLateralIn
protected

Definition at line 49 of file swashpl.h.

Referenced by AssJac(), AssRes(), GetConnectedNodes(), Restart(), and SwashPlate().

const ScalarDifferentialNode* SwashPlate::pLongitudinalIn
protected

Definition at line 47 of file swashpl.h.

Referenced by AssJac(), AssRes(), GetConnectedNodes(), Restart(), and SwashPlate().

const ScalarDifferentialNode* SwashPlate::pNode1
protected

Definition at line 52 of file swashpl.h.

Referenced by AssJac(), AssRes(), GetConnectedNodes(), Restart(), and SwashPlate().

const ScalarDifferentialNode* SwashPlate::pNode2
protected

Definition at line 53 of file swashpl.h.

Referenced by AssJac(), AssRes(), GetConnectedNodes(), Restart(), and SwashPlate().

const ScalarDifferentialNode* SwashPlate::pNode3
protected

Definition at line 54 of file swashpl.h.

Referenced by AssJac(), AssRes(), GetConnectedNodes(), Restart(), and SwashPlate().


The documentation for this class was generated from the following files: