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

#include <pzbeam2.h>

Inheritance diagram for PiezoActuatorBeam2:
Collaboration diagram for PiezoActuatorBeam2:

Public Member Functions

 PiezoActuatorBeam2 (unsigned int uL, const StructNode *pN1, const StructNode *pN2, const Vec3 &F1, const Vec3 &F2, const Mat3x3 &R1, const Mat3x3 &R2, const Mat3x3 &r, const ConstitutiveLaw6D *pd, int iEl, const ScalarDifferentialNode **pEDof, const Mat3xN &T_Ie, const Mat3xN &T_Ik, OrientationDescription ood, flag fOut)
 
virtual ~PiezoActuatorBeam2 (void)
 
virtual Beam::Type GetBeamType (void) const
 
virtual std::ostream & Restart (std::ostream &out) const
 
virtual void WorkSpaceDim (integer *piNumRows, integer *piNumCols) const
 
void SetValue (DataManager *pDM, VectorHandler &, VectorHandler &, SimulationEntity::Hints *ph=0)
 
virtual void AfterPredict (VectorHandler &, VectorHandler &)
 
virtual VariableSubMatrixHandlerAssJac (VariableSubMatrixHandler &WorkMat, doublereal dCoef, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr)
 
virtual VariableSubMatrixHandlerInitialAssJac (VariableSubMatrixHandler &WorkMat, const VectorHandler &XCurr)
 
virtual SubVectorHandlerInitialAssRes (SubVectorHandler &WorkVec, const VectorHandler &XCurr)
 
virtual void GetConnectedNodes (std::vector< const Node * > &connectedNodes) const
 
- Public Member Functions inherited from Beam2
 Beam2 (unsigned int uL, const StructNode *pN1, const StructNode *pN2, const Vec3 &F1, const Vec3 &F2, const Mat3x3 &R1, const Mat3x3 &R2, const Mat3x3 &r, const ConstitutiveLaw6D *pd, OrientationDescription ood, flag fOut)
 
virtual ~Beam2 (void)
 
virtual Elem::Type GetElemType (void) const
 
virtual void AfterConvergence (const VectorHandler &X, const VectorHandler &XP)
 
virtual SubVectorHandlerAssRes (SubVectorHandler &WorkVec, doublereal dCoef, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr)
 
virtual void OutputPrepare (OutputHandler &OH)
 
virtual void Output (OutputHandler &OH) const
 
virtual bool bInverseDynamics (void) const
 
VariableSubMatrixHandlerAssJac (VariableSubMatrixHandler &WorkMat, const VectorHandler &XCurr)
 
SubVectorHandlerAssRes (SubVectorHandler &WorkVec, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr, const VectorHandler &XPrimePrimeCurr, InverseDynamics::Order iOrder=InverseDynamics::INVERSE_DYNAMICS)
 
void Update (const VectorHandler &XCurr, InverseDynamics::Order iOrder=InverseDynamics::INVERSE_DYNAMICS)
 
virtual void AfterConvergence (const VectorHandler &X, const VectorHandler &XP, const VectorHandler &XPP)
 
virtual unsigned int iGetInitialNumDof (void) const
 
virtual void InitialWorkSpaceDim (integer *piNumRows, integer *piNumCols) const
 
virtual void SetInitialValue (VectorHandler &)
 
virtual unsigned int iGetNumPrivData (void) const
 
virtual unsigned int iGetPrivDataIdx (const char *s) const
 
virtual doublereal dGetPrivData (unsigned int i) const
 
virtual const StructNodepGetNode (unsigned int i) 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)
 
void SetInverseDynamicsFlags (unsigned uIDF)
 
unsigned GetInverseDynamicsFlags (void) const
 
bool bIsErgonomy (void) const
 
bool bIsRightHandSide (void) const
 
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 HintParseHint (DataManager *pDM, const char *s) const
 
virtual void BeforePredict (VectorHandler &, VectorHandler &, VectorHandler &, VectorHandler &) const
 
virtual void Update (const VectorHandler &XCurr, const VectorHandler &XPrimeCurr)
 
virtual void DerivativesUpdate (const VectorHandler &XCurr, const VectorHandler &XPrimeCurr)
 
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 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 ElemGravityOwner
 ElemGravityOwner (unsigned int uL, flag fOut)
 
virtual ~ElemGravityOwner (void)
 
virtual doublereal dGetM (void) const
 
Vec3 GetS (void) const
 
Mat3x3 GetJ (void) const
 
Vec3 GetB (void) const
 
Vec3 GetG (void) const
 
- Public Member Functions inherited from GravityOwner
 GravityOwner (void)
 
virtual ~GravityOwner (void)
 
void PutGravity (const Gravity *pG)
 
virtual bool bGetGravity (const Vec3 &X, Vec3 &Acc) const
 
- Public Member Functions inherited from InitialAssemblyElem
 InitialAssemblyElem (unsigned int uL, flag fOut)
 
virtual ~InitialAssemblyElem (void)
 
- Public Member Functions inherited from SubjectToInitialAssembly
 SubjectToInitialAssembly (void)
 
virtual ~SubjectToInitialAssembly (void)
 

Protected Member Functions

virtual void AssStiffnessMat (FullSubMatrixHandler &WMA, FullSubMatrixHandler &WMB, doublereal dCoef, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr)
 
virtual void AssStiffnessVec (SubVectorHandler &WorkVec, doublereal dCoef, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr)
 
virtual void AddInternalForces (Vec6 &AzLoc)
 
- Protected Member Functions inherited from Beam2
virtual Vec3 InterpState (const Vec3 &v1, const Vec3 &v2)
 
virtual Vec3 InterpDeriv (const Vec3 &v1, const Vec3 &v2)
 
virtual void AssInertiaMat (FullSubMatrixHandler &, FullSubMatrixHandler &, doublereal, const VectorHandler &, const VectorHandler &)
 
virtual void AssInertiaVec (SubVectorHandler &, doublereal, const VectorHandler &, const VectorHandler &)
 
virtual void DsDxi (void)
 
virtual void Omega0 (void)
 
void SetBeamType (Beam::Type T)
 
virtual std::ostream & Restart_ (std::ostream &out) const
 
- Protected Member Functions inherited from ElemGravityOwner
virtual Vec3 GetS_int (void) const
 
virtual Mat3x3 GetJ_int (void) const
 
virtual Vec3 GetB_int (void) const
 
virtual Vec3 GetG_int (void) const
 

Protected Attributes

int iNumElec
 
const ScalarDifferentialNode ** pvElecDofs
 
VecN V
 
Mat3xN PiezoMat [NUMDEFORM]
 
- Protected Attributes inherited from Beam2
unsigned uOutputFlags
 
OrientationDescription od
 
const StructNodepNode [NUMNODES]
 
Vec3 f [NUMNODES]
 
Vec3 fRef [NUMNODES]
 
Mat3x3 RNode [NUMNODES]
 
Mat3x3 R
 
Mat3x3 RRef
 
Mat3x3 RPrev
 
ConstitutiveLaw6DOwnerpD
 
Mat6x6 DRef
 
Vec3 Omega
 
Vec3 OmegaRef
 
Vec6 Az
 
Vec6 AzRef
 
Vec6 AzLoc
 
Vec6 DefLoc
 
Vec6 DefLocRef
 
Vec6 DefLocPrev
 
Vec6 DefPrimeLoc
 
Vec3 p
 
Vec3 g
 
Vec3 L0
 
Vec3 L
 
Vec3 LRef
 
doublereal dsdxi
 
bool bFirstRes
 
bool bFirstIDRes
 
- Protected Attributes inherited from WithLabel
unsigned int uLabel
 
std::string sName
 
- Protected Attributes inherited from ToBeOutput
flag fOutput
 
- Protected Attributes inherited from GravityOwner
GravitypGravity
 

Private Member Functions

 PiezoActuatorBeam2 (const PiezoActuatorBeam2 &)
 
const PiezoActuatorBeam2operator= (const PiezoActuatorBeam2 &)
 

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 }
 
- Protected Types inherited from Beam2
enum  NodeName { NODE1 = 0, NODE2 = 1, NUMNODES = 2 }
 
enum  Deformations { STRAIN = 0, CURVAT = 1, NUMDEFORM = 2 }
 

Detailed Description

Definition at line 41 of file pzbeam2.h.

Constructor & Destructor Documentation

PiezoActuatorBeam2::PiezoActuatorBeam2 ( const PiezoActuatorBeam2 )
private
PiezoActuatorBeam2::PiezoActuatorBeam2 ( unsigned int  uL,
const StructNode pN1,
const StructNode pN2,
const Vec3 F1,
const Vec3 F2,
const Mat3x3 R1,
const Mat3x3 R2,
const Mat3x3 r,
const ConstitutiveLaw6D pd,
int  iEl,
const ScalarDifferentialNode **  pEDof,
const Mat3xN T_Ie,
const Mat3xN T_Ik,
OrientationDescription  ood,
flag  fOut 
)

Definition at line 110 of file pzbeam2.cc.

References ASSERT, Mat3xN::Copy(), Beam2::CURVAT, iNumElec, PiezoMat, pvElecDofs, and Beam2::STRAIN.

121 : Elem(uL, fOut),
122 Beam2(uL, pN1, pN2, F1, F2, R1, R2, r, pd, ood, fOut),
123 iNumElec(iEl), pvElecDofs(pEDof), V(iEl)
124 {
125  ASSERT(iNumElec > 0);
126  ASSERT(pvElecDofs != NULL);
127 
128 #ifdef DEBUG
129  for (int i = iNumElec; i-- > 0; ) {
130  ASSERT(pvElecDofs[i] != NULL);
131  }
132 #endif /* DEBUG */
133 
134  PiezoMat[STRAIN].Copy(Te);
135  PiezoMat[CURVAT].Copy(Tk);
136 }
Mat3xN PiezoMat[NUMDEFORM]
Definition: pzbeam2.h:51
const ScalarDifferentialNode ** pvElecDofs
Definition: pzbeam2.h:49
#define ASSERT(expression)
Definition: colamd.c:977
const Mat3xN & Copy(const Mat3xN &m)
Definition: matvec3n.cc:407
Elem(unsigned int uL, flag fOut)
Definition: elem.cc:41
Beam2(unsigned int uL, const StructNode *pN1, const StructNode *pN2, const Vec3 &F1, const Vec3 &F2, const Mat3x3 &R1, const Mat3x3 &R2, const Mat3x3 &r, const ConstitutiveLaw6D *pd, OrientationDescription ood, flag fOut)
Definition: beam2.cc:65

Here is the call graph for this function:

PiezoActuatorBeam2::~PiezoActuatorBeam2 ( void  )
virtual

Definition at line 140 of file pzbeam2.cc.

References ASSERT, pvElecDofs, and SAFEDELETEARR.

141 {
142  ASSERT(pvElecDofs != NULL);
144 }
#define SAFEDELETEARR(pnt)
Definition: mynewmem.h:713
const ScalarDifferentialNode ** pvElecDofs
Definition: pzbeam2.h:49
#define ASSERT(expression)
Definition: colamd.c:977

Member Function Documentation

void PiezoActuatorBeam2::AddInternalForces ( Vec6 AzLoc)
protectedvirtual

Reimplemented from Beam2.

Definition at line 103 of file pzbeam2.cc.

References Beam2::CURVAT, PiezoMat, Beam2::STRAIN, and V.

104 {
105  AzLoc += Vec6(PiezoMat[STRAIN]*V, PiezoMat[CURVAT]*V);
106 }
Mat3xN PiezoMat[NUMDEFORM]
Definition: pzbeam2.h:51
Definition: matvec6.h:37
void PiezoActuatorBeam2::AfterPredict ( VectorHandler X,
VectorHandler XP 
)
virtual

Reimplemented from Beam2.

Definition at line 183 of file pzbeam2.cc.

References Beam2::AfterPredict(), iNumElec, VecN::Put(), pvElecDofs, and V.

184 {
185  /*
186  * Calcola le deformazioni, aggiorna il legame costitutivo
187  * e crea la FDE
188  */
189  for (integer iCnt = 1; iCnt <= iNumElec; iCnt++) {
190  V.Put(iCnt, pvElecDofs[iCnt-1]->dGetX());
191  }
192 
193  Beam2::AfterPredict(X, XP);
194 }
void Put(integer i, const doublereal &d)
Definition: matvec3n.h:159
const ScalarDifferentialNode ** pvElecDofs
Definition: pzbeam2.h:49
virtual void AfterPredict(VectorHandler &, VectorHandler &)
Definition: beam2.cc:565
long int integer
Definition: colamd.c:51

Here is the call graph for this function:

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

Reimplemented from Beam2.

Definition at line 199 of file pzbeam2.cc.

References AssStiffnessMat(), DEBUGCOUT, StructDispNode::iGetFirstMomentumIndex(), StructDispNode::iGetFirstPositionIndex(), iNumElec, Beam2::NODE1, Beam2::NODE2, Beam2::pNode, FullSubMatrixHandler::PutColIndex(), FullSubMatrixHandler::PutRowIndex(), pvElecDofs, FullSubMatrixHandler::ResizeReset(), and VariableSubMatrixHandler::SetFull().

203 {
204  DEBUGCOUT("Entering PiezoActuatorBeam2::AssJac();"
205  " will result in call to AssStiffnessMat()" << std::endl);
206 
207  integer iNode1FirstMomIndex = pNode[NODE1]->iGetFirstMomentumIndex();
208  integer iNode1FirstPosIndex = pNode[NODE1]->iGetFirstPositionIndex();
209  integer iNode2FirstMomIndex = pNode[NODE2]->iGetFirstMomentumIndex();
210  integer iNode2FirstPosIndex = pNode[NODE2]->iGetFirstPositionIndex();
211 
212  FullSubMatrixHandler& WM = WorkMat.SetFull();
213 
214  /* Dimensiona la matrice, la azzera e pone gli indici corretti */
215  WM.ResizeReset(12, 12+iNumElec);
216 
217  for (int iCnt = 1; iCnt <= 6; iCnt++) {
218  WM.PutRowIndex(iCnt, iNode1FirstMomIndex+iCnt);
219  WM.PutColIndex(iCnt, iNode1FirstPosIndex+iCnt);
220  WM.PutRowIndex(6+iCnt, iNode2FirstMomIndex+iCnt);
221  WM.PutColIndex(6+iCnt, iNode2FirstPosIndex+iCnt);
222  }
223 
224  for (int iCnt = 1; iCnt <= iNumElec; iCnt++) {
225  WM.PutColIndex(12+iCnt,
226  pvElecDofs[iCnt-1]->iGetFirstColIndex()+1);
227  }
228 
229  AssStiffnessMat(WM, WM, dCoef, XCurr, XPrimeCurr);
230 
231  return WorkMat;
232 }
void PutColIndex(integer iSubCol, integer iCol)
Definition: submat.h:325
virtual void AssStiffnessMat(FullSubMatrixHandler &WMA, FullSubMatrixHandler &WMB, doublereal dCoef, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr)
Definition: pzbeam2.cc:41
FullSubMatrixHandler & SetFull(void)
Definition: submat.h:1168
const StructNode * pNode[NUMNODES]
Definition: beam2.h:83
#define DEBUGCOUT(msg)
Definition: myassert.h:232
const ScalarDifferentialNode ** pvElecDofs
Definition: pzbeam2.h:49
virtual integer iGetFirstMomentumIndex(void) const =0
virtual integer iGetFirstPositionIndex(void) const
Definition: strnode.h:452
virtual void ResizeReset(integer, integer)
Definition: submat.cc:182
void PutRowIndex(integer iSubRow, integer iRow)
Definition: submat.h:311
long int integer
Definition: colamd.c:51

Here is the call graph for this function:

void PiezoActuatorBeam2::AssStiffnessMat ( FullSubMatrixHandler WMA,
FullSubMatrixHandler WMB,
doublereal  dCoef,
const VectorHandler XCurr,
const VectorHandler XPrimeCurr 
)
protectedvirtual

Reimplemented from Beam2.

Definition at line 41 of file pzbeam2.cc.

References FullSubMatrixHandler::Add(), Beam2::AssStiffnessMat(), Beam2::CURVAT, DEBUGCOUT, iNumElec, Mat3xN::LeftMult(), MatCross, Beam2::NODE1, Beam2::NODE2, Beam2::p, PiezoMat, Beam2::pNode, Beam2::R, Beam2::STRAIN, and FullSubMatrixHandler::Sub().

Referenced by AssJac().

46 {
47  DEBUGCOUT("Entering PiezoActuatorBeam2::AssStiffnessMat()" << std::endl);
48 
49  Beam2::AssStiffnessMat(WMA, WMB, dCoef, XCurr, XPrimeCurr);
50 
51  Mat3xN tmp1(iNumElec);
52  Mat3xN tmp2(iNumElec);
53 
54  tmp1.LeftMult(R*dCoef, PiezoMat[STRAIN]);
55  WMA.Sub(1, 13, tmp1);
56  WMA.Add(7, 13, tmp1);
57  tmp2.LeftMult(Mat3x3(MatCross, p - pNode[NODE1]->GetXCurr()), tmp1);
58  WMA.Add(4, 13, tmp2);
59  tmp2.LeftMult(Mat3x3(MatCross, p - pNode[NODE2]->GetXCurr()), tmp1);
60  WMA.Sub(10, 13, tmp2);
61 
62  tmp1.LeftMult(R*dCoef, PiezoMat[CURVAT]);
63  WMA.Sub(4, 13, tmp1);
64  WMA.Add(10, 13, tmp1);
65 }
const MatCross_Manip MatCross
Definition: matvec3.cc:639
void Add(integer iRow, integer iCol, const Vec3 &v)
Definition: submat.cc:209
const StructNode * pNode[NUMNODES]
Definition: beam2.h:83
Mat3xN PiezoMat[NUMDEFORM]
Definition: pzbeam2.h:51
Mat3x3 R
Definition: beam2.h:92
Vec3 p
Definition: beam2.h:117
virtual void AssStiffnessMat(FullSubMatrixHandler &WMA, FullSubMatrixHandler &WMB, doublereal dCoef, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr)
Definition: beam2.cc:330
#define DEBUGCOUT(msg)
Definition: myassert.h:232
void Sub(integer iRow, integer iCol, const Vec3 &v)
Definition: submat.cc:215

Here is the call graph for this function:

void PiezoActuatorBeam2::AssStiffnessVec ( SubVectorHandler WorkVec,
doublereal  dCoef,
const VectorHandler XCurr,
const VectorHandler XPrimeCurr 
)
protectedvirtual

Reimplemented from Beam2.

Definition at line 69 of file pzbeam2.cc.

References Beam2::AssStiffnessVec(), Beam2::bFirstRes, DEBUGCOUT, iNumElec, VecN::Put(), pvElecDofs, and V.

73 {
74  DEBUGCOUT("Entering PiezoActuatorBeam2::AssStiffnessVec()" << std::endl);
75 
76  /*
77  * Riceve il vettore gia' dimensionato e con gli indici a posto
78  * per scrivere il residuo delle equazioni di equilibrio dei tre nodi
79  */
80 
81  /*
82  * Per la trattazione teorica, il riferimento e' il file ul-travi.tex
83  * (ora e' superato)
84  */
85 
86  if (bFirstRes) {
87  /*
88  * AfterPredict ha gia' calcolato tutto;
89  * bFirstRes viene resettato poi da Beam2::AssStiffnessVec
90  */
91 
92  } else {
93  for (integer iCnt = 1; iCnt <= iNumElec; iCnt++) {
94  V.Put(iCnt, pvElecDofs[iCnt-1]->dGetX());
95  }
96  }
97 
98  Beam2::AssStiffnessVec(WorkVec, dCoef, XCurr, XPrimeCurr);
99 }
bool bFirstRes
Definition: beam2.h:127
void Put(integer i, const doublereal &d)
Definition: matvec3n.h:159
#define DEBUGCOUT(msg)
Definition: myassert.h:232
const ScalarDifferentialNode ** pvElecDofs
Definition: pzbeam2.h:49
virtual void AssStiffnessVec(SubVectorHandler &WorkVec, doublereal dCoef, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr)
Definition: beam2.cc:408
long int integer
Definition: colamd.c:51

Here is the call graph for this function:

virtual Beam::Type PiezoActuatorBeam2::GetBeamType ( void  ) const
inlinevirtual

Reimplemented from Beam2.

Definition at line 85 of file pzbeam2.h.

References Beam::PIEZOELECTRICELASTIC.

85  {
87  };
virtual void PiezoActuatorBeam2::GetConnectedNodes ( std::vector< const Node * > &  connectedNodes) const
inlinevirtual

Reimplemented from Beam2.

Definition at line 126 of file pzbeam2.h.

References Beam2::GetConnectedNodes(), iNumElec, and pvElecDofs.

126  {
127  Beam2::GetConnectedNodes(connectedNodes);
128  int NumNodes = connectedNodes.size();
129  connectedNodes.resize(NumNodes + iNumElec);
130  for (int i = 0; i < iNumElec; i++) {
131  connectedNodes[NumNodes + i] = pvElecDofs[i];
132  }
133  };
const ScalarDifferentialNode ** pvElecDofs
Definition: pzbeam2.h:49
virtual void GetConnectedNodes(std::vector< const Node * > &connectedNodes) const
Definition: beam2.h:348

Here is the call graph for this function:

VariableSubMatrixHandler & PiezoActuatorBeam2::InitialAssJac ( VariableSubMatrixHandler WorkMat,
const VectorHandler XCurr 
)
virtual

Reimplemented from Beam2.

Definition at line 237 of file pzbeam2.cc.

References Beam2::InitialAssJac().

239 {
240  return Beam2::InitialAssJac(WorkMat, XCurr);
241 }
virtual VariableSubMatrixHandler & InitialAssJac(VariableSubMatrixHandler &WorkMat, const VectorHandler &XCurr)
Definition: beam2.cc:804

Here is the call graph for this function:

SubVectorHandler & PiezoActuatorBeam2::InitialAssRes ( SubVectorHandler WorkVec,
const VectorHandler XCurr 
)
virtual

Reimplemented from Beam2.

Definition at line 246 of file pzbeam2.cc.

References Beam2::InitialAssRes().

248 {
249  return Beam2::InitialAssRes(WorkVec, XCurr);
250 }
virtual SubVectorHandler & InitialAssRes(SubVectorHandler &WorkVec, const VectorHandler &XCurr)
Definition: beam2.cc:830

Here is the call graph for this function:

const PiezoActuatorBeam2& PiezoActuatorBeam2::operator= ( const PiezoActuatorBeam2 )
private
std::ostream & PiezoActuatorBeam2::Restart ( std::ostream &  out) const
virtual

Reimplemented from Beam2.

Definition at line 149 of file pzbeam2.cc.

References Beam2::Restart_().

150 {
151  Restart_(out);
152  return out << "/* piezoelectric actuator NOT IMPLEMENTED YET */ ;"
153  << std::endl;
154 }
virtual std::ostream & Restart_(std::ostream &out) const
Definition: beam2.cc:305

Here is the call graph for this function:

void PiezoActuatorBeam2::SetValue ( DataManager pDM,
VectorHandler X,
VectorHandler XP,
SimulationEntity::Hints ph = 0 
)
virtual

Reimplemented from Beam2.

Definition at line 172 of file pzbeam2.cc.

References Beam2::SetValue().

175 {
176  /* se proprio non serve, si puo' eliminare */
177  Beam2::SetValue(pDM, X, XP, ph);
178 }
void SetValue(DataManager *pDM, VectorHandler &, VectorHandler &, SimulationEntity::Hints *ph=0)
Definition: beam2.cc:543

Here is the call graph for this function:

void PiezoActuatorBeam2::WorkSpaceDim ( integer piNumRows,
integer piNumCols 
) const
virtual

Reimplemented from Beam2.

Definition at line 163 of file pzbeam2.cc.

References iNumElec.

164 {
165  *piNumRows = 12;
166  *piNumCols = 18+iNumElec;
167 }

Member Data Documentation

int PiezoActuatorBeam2::iNumElec
protected
Mat3xN PiezoActuatorBeam2::PiezoMat[NUMDEFORM]
protected

Definition at line 51 of file pzbeam2.h.

Referenced by AddInternalForces(), AssStiffnessMat(), and PiezoActuatorBeam2().

const ScalarDifferentialNode** PiezoActuatorBeam2::pvElecDofs
protected
VecN PiezoActuatorBeam2::V
protected

Definition at line 50 of file pzbeam2.h.

Referenced by AddInternalForces(), AfterPredict(), and AssStiffnessVec().


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