xc
PlainHandler.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 /* ****************************************************************** **
28 ** OpenSees - Open System for Earthquake Engineering Simulation **
29 ** Pacific Earthquake Engineering Research Center **
30 ** **
31 ** **
32 ** (C) Copyright 1999, The Regents of the University of California **
33 ** All Rights Reserved. **
34 ** **
35 ** Commercial use of this program without express permission of the **
36 ** University of California, Berkeley, is strictly prohibited. See **
37 ** file 'COPYRIGHT' in main directory for information on usage and **
38 ** redistribution, and for a DISCLAIMER OF ALL WARRANTIES. **
39 ** **
40 ** Developed by: **
41 ** Frank McKenna (fmckenna@ce.berkeley.edu) **
42 ** Gregory L. Fenves (fenves@ce.berkeley.edu) **
43 ** Filip C. Filippou (filippou@ce.berkeley.edu) **
44 ** **
45 ** ****************************************************************** */
46 
47 // $Revision: 1.2 $
48 // $Date: 2005/11/28 21:37:12 $
49 // $Source: /usr/local/cvs/OpenSees/SRC/analysis/handler/PlainHandler.h,v $
50 
51 
52 #ifndef PlainHandler_h
53 #define PlainHandler_h
54 
55 // Written: fmk
56 // Created: 11/96
57 // Revision: A
58 //
59 // Description: This file contains the class definition for PlainHandler.
60 // PlainHandler is a simple ConstraintHandler; simple in that it can only
61 // handle 0 boundary constraints, i.e. no non-zero SFreedom_Constraints and no
62 // MFreedom_Constraints can be handled by this type of ConstraintHandler.
63 //
64 // What: "@(#) PlainHandler.h, revA"
65 
66 #include <solution/analysis/handler/ConstraintHandler.h>
67 
68 namespace XC {
69 class FE_Element;
70 class DOF_Group;
71 
82  {
83  friend class ModelWrapper;
84  friend class FEM_ObjectBroker;
86  ConstraintHandler *getCopy(void) const;
87  public:
88  int handle(const ID *nodesNumberedLast =0);
89 
90  int sendSelf(CommParameters &);
91  int recvSelf(const CommParameters &);
92  };
93 } // end of XC namespace
94 
95 #endif
96 
97 
98 
99 
ConstraintHandlers enforce the single and multi freedom constraints that exist in the domain by creat...
Definition: ConstraintHandler.h:92
int recvSelf(const CommParameters &)
Receives this object through the communicator (not implemented yet).
Definition: PlainHandler.cpp:286
FEM_ObjectBroker is is an object broker class for the finite element method.
Definition: FEM_ObjectBroker.h:145
Vector of integers.
Definition: ID.h:93
Trivial constraint handler.
Definition: PlainHandler.h:81
Wrapper for the finite element model "as seen" from the solver.
Definition: ModelWrapper.h:58
int sendSelf(CommParameters &)
Sends this object through the communicator (not implemented yet).
Definition: PlainHandler.cpp:282
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:34
Communication parameters between processes.
Definition: CommParameters.h:65
int handle(const ID *nodesNumberedLast=0)
Handle the constraints.
Definition: PlainHandler.cpp:111