xc
InternalParamsLRIn.h
1 // -*-c++-*-
2 //----------------------------------------------------------------------------
3 // XC program; finite element analysis code
4 // for structural analysis and design.
5 //
6 // Copyright (C) Luis C. Pérez Tato
7 //
8 // This program derives from OpenSees <http://opensees.berkeley.edu>
9 // developed by the «Pacific earthquake engineering research center».
10 //
11 // Except for the restrictions that may arise from the copyright
12 // of the original program (see copyright_opensees.txt)
13 // XC is free software: you can redistribute it and/or modify
14 // it under the terms of the GNU General Public License as published by
15 // the Free Software Foundation, either version 3 of the License, or
16 // (at your option) any later version.
17 //
18 // This software is distributed in the hope that it will be useful, but
19 // WITHOUT ANY WARRANTY; without even the implied warranty of
20 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 // GNU General Public License for more details.
22 //
23 //
24 // You should have received a copy of the GNU General Public License
25 // along with this program.
26 // If not, see <http://www.gnu.org/licenses/>.
27 //----------------------------------------------------------------------------
28 //InternalParamsLRIn.h
29 
30 #ifndef INTERNALPARAMSLRIn_H
31 #define INTERNALPARAMSLRIn_H
32 
33 #include "InternalParamsLR.h"
34 
35 namespace XC {
37 //
40  {
41  protected:
42  double RLeft;
43  double RRight;
44  int sendData(Communicator &);
45  int recvData(const Communicator &);
46  public:
47  InternalParamsLRIn(const double &V= 0.0,const double &r= 0.0,const double &t= 0.0,const double &yl= 0.0,const double &yr= 0.0,const double &pl= 0.0,const double &pr= 0.0);
48  inline const double &yleftIn(void) const //Para PySimple1
49  { return vLeft; }
50  inline double &yleftIn(void) //Para PySimple1
51  { return vLeft; }
52  inline const double &yrightIn(void) const //Para PySimple1
53  { return vRight; }
54  inline double &yrightIn(void) //Para PySimple1
55  { return vRight; }
56  inline const double &zleftIn(void) const //Para QzSimple1
57  { return vLeft; }
58  inline double &zleftIn(void) //Para QzSimple1
59  { return vLeft; }
60  inline const double &zrightIn(void) const //Para QzSimple1
61  { return vRight; }
62  inline double &zrightIn(void) //Para QzSimple1
63  { return vRight; }
64  inline const double &PleftIn(void) const //Para PySimple1
65  { return RLeft; }
66  inline double &PleftIn(void) //Para PySimple1
67  { return RLeft; }
68  inline const double &PrightIn(void) const //Para PySimple1
69  { return RRight; }
70  inline double &PrightIn(void) //Para PySimple1
71  { return RRight; }
72  inline const double &QleftIn(void) const //Para QzSimple1
73  { return RLeft; }
74  inline double &QleftIn(void) //Para QzSimple1
75  { return RLeft; }
76  inline const double &QrightIn(void) const //Para QzSimple1
77  { return RRight; }
78  inline double &QrightIn(void) //Para QzSimple1
79  { return RRight; }
80  int sendSelf(Communicator &);
81  int recvSelf(const Communicator &);
82  };
83 } // end of XC namespace
84 
85 
86 #endif
Communication parameters between processes.
Definition: Communicator.h:66
Internal parameters for a p-y material.
Definition: InternalParamsLR.h:40
double RLeft
p at start of current plastic loading cycle - left side
Definition: InternalParamsLRIn.h:42
int recvSelf(const Communicator &)
Receives object through the communicator argument.
Definition: InternalParamsLRIn.cc:66
InternalParamsLRIn(const double &V=0.0, const double &r=0.0, const double &t=0.0, const double &yl=0.0, const double &yr=0.0, const double &pl=0.0, const double &pr=0.0)
Constructor with data.
Definition: InternalParamsLRIn.cc:32
int sendData(Communicator &)
Send object members through the communicator argument.
Definition: InternalParamsLRIn.cc:36
double RRight
p at start of current plastic loading cycle - right side
Definition: InternalParamsLRIn.h:43
int sendSelf(Communicator &)
Sends object through the communicator argument.
Definition: InternalParamsLRIn.cc:52
Internal parameters for the NearField rigid-plastic component.
Definition: InternalParamsLRIn.h:39
double vRight
right reference point
Definition: InternalParamsLR.h:44
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
int recvData(const Communicator &)
Receives object members through the communicator argument.
Definition: InternalParamsLRIn.cc:44
double vLeft
left reference point
Definition: InternalParamsLR.h:43