MBDyn-1.7.3
|
#include <pzbeam2.h>
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 VariableSubMatrixHandler & | AssJac (VariableSubMatrixHandler &WorkMat, doublereal dCoef, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr) |
virtual VariableSubMatrixHandler & | InitialAssJac (VariableSubMatrixHandler &WorkMat, const VectorHandler &XCurr) |
virtual SubVectorHandler & | InitialAssRes (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 SubVectorHandler & | AssRes (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 |
VariableSubMatrixHandler & | AssJac (VariableSubMatrixHandler &WorkMat, const VectorHandler &XCurr) |
SubVectorHandler & | AssRes (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 StructNode * | pGetNode (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 Hint * | ParseHint (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 StructNode * | pNode [NUMNODES] |
Vec3 | f [NUMNODES] |
Vec3 | fRef [NUMNODES] |
Mat3x3 | RNode [NUMNODES] |
Mat3x3 | R |
Mat3x3 | RRef |
Mat3x3 | RPrev |
ConstitutiveLaw6DOwner * | pD |
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 | |
Gravity * | pGravity |
Private Member Functions | |
PiezoActuatorBeam2 (const PiezoActuatorBeam2 &) | |
const PiezoActuatorBeam2 & | operator= (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 } |
|
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.
|
virtual |
|
protectedvirtual |
Reimplemented from Beam2.
Definition at line 103 of file pzbeam2.cc.
References Beam2::CURVAT, PiezoMat, Beam2::STRAIN, and V.
|
virtual |
Reimplemented from Beam2.
Definition at line 183 of file pzbeam2.cc.
References Beam2::AfterPredict(), iNumElec, VecN::Put(), pvElecDofs, and V.
|
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().
|
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().
|
protectedvirtual |
Reimplemented from Beam2.
Definition at line 69 of file pzbeam2.cc.
References Beam2::AssStiffnessVec(), Beam2::bFirstRes, DEBUGCOUT, iNumElec, VecN::Put(), pvElecDofs, and V.
|
inlinevirtual |
Reimplemented from Beam2.
Definition at line 85 of file pzbeam2.h.
References Beam::PIEZOELECTRICELASTIC.
|
inlinevirtual |
Reimplemented from Beam2.
Definition at line 126 of file pzbeam2.h.
References Beam2::GetConnectedNodes(), iNumElec, and pvElecDofs.
|
virtual |
Reimplemented from Beam2.
Definition at line 237 of file pzbeam2.cc.
References Beam2::InitialAssJac().
|
virtual |
Reimplemented from Beam2.
Definition at line 246 of file pzbeam2.cc.
References Beam2::InitialAssRes().
|
private |
|
virtual |
Reimplemented from Beam2.
Definition at line 149 of file pzbeam2.cc.
References Beam2::Restart_().
|
virtual |
Reimplemented from Beam2.
Definition at line 172 of file pzbeam2.cc.
References Beam2::SetValue().
|
protected |
Definition at line 48 of file pzbeam2.h.
Referenced by AfterPredict(), AssJac(), AssStiffnessMat(), AssStiffnessVec(), GetConnectedNodes(), PiezoActuatorBeam2(), and WorkSpaceDim().
Definition at line 51 of file pzbeam2.h.
Referenced by AddInternalForces(), AssStiffnessMat(), and PiezoActuatorBeam2().
|
protected |
Definition at line 49 of file pzbeam2.h.
Referenced by AfterPredict(), AssJac(), AssStiffnessVec(), GetConnectedNodes(), PiezoActuatorBeam2(), and ~PiezoActuatorBeam2().
|
protected |
Definition at line 50 of file pzbeam2.h.
Referenced by AddInternalForces(), AfterPredict(), and AssStiffnessVec().