xc
NullEvolution.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 /***************************************************************************
29  NullEvolution.h - description
30  -------------------
31  begin : Thu Aug 1 2002
32  email : rkaul@ce-blume215-pent-2.stanford.edu
33  ***************************************************************************/
34 
35 /***************************************************************************
36  * *
37  * *
38  ***************************************************************************/
39 
40 #ifndef NULLEVOLUTION_H
41 #define NULLEVOLUTION_H
42 
43 #include "material/yieldSurface/evolution/YS_Evolution.h"
44 
50 namespace XC {
52 //
56  {
57  private:
58  static Vector vec_dim_1;
59  static Vector vec_dim_2;
60  static Vector vec_dim_3;
61  public:
62 
63  NullEvolution(int tag, double isox);
64  NullEvolution(int tag, double isox, double isoy);
65  NullEvolution(int tag, double isox, double isoy, double isoz);
66 
67  int evolveSurface(YieldSurface_BC *ys, double magPlasticDefo,
68  Vector & G, Vector & F_Surface, int flag);
69 
71 
73 
74  int getResponse(int responseID, Information & info);
75  Response* setResponse(const std::vector<std::string> &argv, Information & info);
76 
77  virtual int sendSelf(Communicator &) {return -1;}
78  virtual int recvSelf(const Communicator &){return -1;}
80  int revertToLastCommit();
81  int commitState(int status);
82  double getTrialPlasticStrains(int dof) const;
83  double getCommitPlasticStrains(int dof);
84  };
85 } // end of XC namespace
86 
87 #endif
Float vector abstraction.
Definition: Vector.h:94
Information about an element.
Definition: Information.h:81
Communication parameters between processes.
Definition: Communicator.h:66
Base class response objects.
Definition: Response.h:81
int getResponse(int responseID, Information &info)
No descriptions.
Definition: NullEvolution.cpp:127
int commitState(int status)
No descriptions.
Definition: NullEvolution.cpp:137
virtual int sendSelf(Communicator &)
Send the object.
Definition: NullEvolution.h:77
Response * setResponse(const std::vector< std::string > &argv, Information &info)
No descriptions.
Definition: NullEvolution.cpp:133
Useful for declaring inner-surfaces or pinching surfaces or just plain elastic-perfectly plastic surf...
Definition: NullEvolution.h:55
YS_Evolution * getCopy()
No descriptions.
Definition: NullEvolution.cpp:84
virtual int recvSelf(const Communicator &)
Receive the object.
Definition: NullEvolution.h:78
int evolveSurface(YieldSurface_BC *ys, double magPlasticDefo, Vector &G, Vector &F_Surface, int flag)
No descriptions.
Definition: NullEvolution.cpp:76
Yield surface evolution law.
Definition: YS_Evolution.h:50
double getTrialPlasticStrains(int dof) const
Return trial values of plastic strains.
Definition: NullEvolution.cpp:115
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
const Vector & getEquiPlasticStiffness()
No descriptions.
Definition: NullEvolution.cpp:100
YieldSurface_BC is an abstract class and provides the interface between the specific yield surface de...
Definition: YieldSurface_BC.h:53
int revertToLastCommit()
No descriptions.
Definition: NullEvolution.cpp:140