XC Open source finite element analysis program
Joint2DPhysicalProperties.h
1 //----------------------------------------------------------------------------
2 // XC program; finite element analysis code
3 // for structural analysis and design.
4 //
5 // Copyright (C) Luis Claudio Pérez Tato
6 //
7 // This program derives from OpenSees <http://opensees.berkeley.edu>
8 // developed by the «Pacific earthquake engineering research center».
9 //
10 // Except for the restrictions that may arise from the copyright
11 // of the original program (see copyright_opensees.txt)
12 // XC is free software: you can redistribute it and/or modify
13 // it under the terms of the GNU General Public License as published by
14 // the Free Software Foundation, either version 3 of the License, or
15 // (at your option) any later version.
16 //
17 // This software is distributed in the hope that it will be useful, but
18 // WITHOUT ANY WARRANTY; without even the implied warranty of
19 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 // GNU General Public License for more details.
21 //
22 //
23 // You should have received a copy of the GNU General Public License
24 // along with this program.
25 // If not, see <http://www.gnu.org/licenses/>.
26 //----------------------------------------------------------------------------
27 //SectionFDPhysicalProperties.h
28 
29 #ifndef Joint2DPhysicalProperties_h
30 #define Joint2DPhysicalProperties_h
31 
32 #include "UniaxialMatPhysicalProperties.h"
33 #include "material/damage/DamageModelVector.h"
34 
35 namespace XC {
36 
38 //
41  {
42  protected:
43  DamageModelVector theDamages;
44  ID fixedEnd;
45 
46  DbTagData &getDbTagData(void) const;
47  int sendData(CommParameters &);
48  int recvData(const CommParameters &);
49  public:
50  Joint2DPhysicalProperties(const size_t &nMat= 0,const UniaxialMaterial *ptr_mat= nullptr);
51  Joint2DPhysicalProperties(const UniaxialMaterial &spring1, const UniaxialMaterial &spring2, const UniaxialMaterial &spring3, const UniaxialMaterial &spring4, const UniaxialMaterial &springC);
52  Joint2DPhysicalProperties(const UniaxialMaterial &spring1, const UniaxialMaterial &spring2, const UniaxialMaterial &spring3, const UniaxialMaterial &spring4, const UniaxialMaterial &springC, const DamageModel &dmg1, const DamageModel &dmg2, const DamageModel &dmg3, const DamageModel &dmg4, const DamageModel &dmgC);
53 
54  inline const DamageModelVector &getDamageModelVector(void) const
55  { return theDamages; }
56  inline const ID &getFixedEndInfo(void) const
57  { return fixedEnd; }
58 
59  // public methods to set the state of the properties
60  int commitState(void);
61  int revertToLastCommit(void);
62  int revertToStart(void);
63 
64  int sendSelf(CommParameters &);
65  int recvSelf(const CommParameters &);
66  };
67 
68 } // end of XC namespace
69 #endif
Physical properties for shells.
Definition: UniaxialMatPhysicalProperties.h:40
Vector que almacena los dbTags de los miembros de la clase.
Definition: DbTagData.h:43
Definition: DamageModel.h:87
DbTagData & getDbTagData(void) const
Returns a vector to store class dbTags.
Definition: Joint2DPhysicalProperties.cc:147
Vector de pointers to damage models. se emplea en Joint2D.
Definition: DamageModelVector.h:47
Definition: ID.h:77
int sendSelf(CommParameters &)
Sends object.
Definition: Joint2DPhysicalProperties.cc:172
Physical properties for shells.
Definition: Joint2DPhysicalProperties.h:40
Joint2DPhysicalProperties(const size_t &nMat=0, const UniaxialMaterial *ptr_mat=nullptr)
Constructor.
Definition: Joint2DPhysicalProperties.cc:35
int sendData(CommParameters &)
Send members through the channel being passed as parameter.
Definition: Joint2DPhysicalProperties.cc:154
int recvData(const CommParameters &)
Receives members through the channel being passed as parameter.
Definition: Joint2DPhysicalProperties.cc:163
Communication parameters between processes.
Definition: CommParameters.h:65
int recvSelf(const CommParameters &)
Receives object.
Definition: Joint2DPhysicalProperties.cc:186
================================================================================
Definition: ContinuaReprComponent.h:34
Base class for uniaxial materials.
Definition: UniaxialMaterial.h:88