XC Open source finite element analysis program
InternalParamsLR.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 //InternalParamsLR.h
28 
29 #ifndef INTERNALPARAMSLR_H
30 #define INTERNALPARAMSLR_H
31 
32 #include <material/uniaxial/PY/InternalParamsA.h>
33 
34 namespace XC {
36 //
39  {
40  protected:
41  double vLeft;
42  double vRight;
43  int sendData(CommParameters &);
44  int recvData(const CommParameters &);
45  public:
46  InternalParamsLR(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);
47  inline const double &yleft(void) const // for PySimple1
48  { return vLeft; }
49  inline double &yleft(void) // for PySimple1
50  { return vLeft; }
51  inline const double &yright(void) const // for PySimple1
52  { return vRight; }
53  inline double &yright(void) // for PySimple1
54  { return vRight; }
55  int sendSelf(CommParameters &);
56  int recvSelf(const CommParameters &);
57  };
58 } // end of XC namespace
59 
60 
61 #endif
double vRight
right reference point
Definition: InternalParamsLR.h:42
int sendData(CommParameters &)
Send object members through the channel being passed as parameter.
Definition: InternalParamsLR.cc:36
int recvData(const CommParameters &)
Receives object members through the channel being passed as parameter.
Definition: InternalParamsLR.cc:44
int recvSelf(const CommParameters &)
Receives object through the channel being passed as parameter.
Definition: InternalParamsLR.cc:66
double vLeft
left reference point
Definition: InternalParamsLR.h:41
InternalParamsLR(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)
Constructor with data.
Definition: InternalParamsLR.cc:32
Internal parameters for a p-y material.
Definition: InternalParamsA.h:38
Communication parameters between processes.
Definition: CommParameters.h:65
int sendSelf(CommParameters &)
Sends object through the channel being passed as parameter.
Definition: InternalParamsLR.cc:52
================================================================================
Definition: ContinuaReprComponent.h:34
Internal parameters for a p-y material.
Definition: InternalParamsLR.h:38