xc
src
domain
constraints
MFreedom_Joint2D.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
** OpenSees - Open System for Earthquake Engineering Simulation **
30
** Pacific Earthquake Engineering Research Center **
31
** **
32
** **
33
** (C) Copyright 1999, The Regents of the University of California **
34
** All Rights Reserved. **
35
** **
36
** Commercial use of this program without express permission of the **
37
** University of California, Berkeley, is strictly prohibited. See **
38
** file 'COPYRIGHT' in main directory for information on usage and **
39
** redistribution, and for a DISCLAIMER OF ALL WARRANTIES. **
40
** **
41
** Developed by: **
42
** Frank McKenna (fmckenna@ce.berkeley.edu) **
43
** Gregory L. Fenves (fenves@ce.berkeley.edu) **
44
** Filip C. Filippou (filippou@ce.berkeley.edu) **
45
** **
46
** ****************************************************************** */
47
48
// $Revision: 1.4 $
49
// $Date: 2004/09/01 04:01:27 $
50
// $Source: /usr/local/cvs/OpenSees/SRC/element/special/joint/MFreedom_Joint2D.h,v $
51
52
#ifndef MFreedom_Joint2D_h
53
#define MFreedom_Joint2D_h
54
55
// Written: Arash Altoontash, Gregory Deierlein
56
// Created: 08/01
57
// Revision: Arash
58
59
// Purpose: This file contains the class definition for MFreedom_Joint2D.
60
// It is a sub class for MFreedom_Constraint specialized to be used for simple joint
61
// connection element. MFreedom_Joint2D defines a nonlinear, time dependent multi
62
// point constraint.
63
//
64
65
#include "MFreedom_Joint.h"
66
67
namespace
XC
{
68
69
class
Node;
70
class
Matrix;
71
class
ID;
72
73
75
//
77
class
MFreedom_Joint2D
:
public
MFreedom_Joint
78
{
79
private
:
80
int
MainDOF;
81
int
AuxDOF;
82
int
FixedEnd;
83
84
public
:
85
// constructors
86
MFreedom_Joint2D
(
void
);
87
88
MFreedom_Joint2D
(
Domain
*theDomain,
int
tag,
int
nodeRetain,
int
nodeConstr,
int
Maindof,
int
fixedend ,
int
LrgDsp = 0 );
//LrgDsp=0 means large displacement is not enabled
89
90
// method to get information about the constraint
91
int
applyConstraint
(
double
pseudoTime);
92
virtual
const
Matrix
&
getConstraint
(
void
)
const
;
93
94
// methods for output
95
int
sendSelf
(
Communicator
&);
96
int
recvSelf
(
const
Communicator
&);
97
void
Print
(std::ostream &s,
int
flag =0)
const
;
98
};
99
}
// end of XC namespace
100
101
#endif
102
XC::MFreedom_Joint2D::sendSelf
int sendSelf(Communicator &)
Sends the object through the communicator argument.
Definition:
MFreedom_Joint2D.cpp:233
XC::MFreedom_Joint2D::MFreedom_Joint2D
MFreedom_Joint2D(void)
Constructor.
Definition:
MFreedom_Joint2D.cpp:72
XC::Communicator
Communication parameters between processes.
Definition:
Communicator.h:66
XC::MFreedom_Joint2D::applyConstraint
int applyConstraint(double pseudoTime)
Applies the constraint at the pseudo-time being passed as parameter.
Definition:
MFreedom_Joint2D.cpp:192
XC::MFreedom_Joint2D
??.
Definition:
MFreedom_Joint2D.h:77
XC::MFreedom_Joint
Base class for joint constraints.
Definition:
MFreedom_Joint.h:73
XC::MFreedom_Joint2D::recvSelf
int recvSelf(const Communicator &)
Receives the object through the communicator argument.
Definition:
MFreedom_Joint2D.cpp:253
XC::MFreedom_Joint2D::Print
void Print(std::ostream &s, int flag=0) const
Printing.
Definition:
MFreedom_Joint2D.cpp:318
XC::MFreedom_Joint2D::getConstraint
virtual const Matrix & getConstraint(void) const
Returns the constraint matrix.
Definition:
MFreedom_Joint2D.cpp:274
XC
Open source finite element program for structural analysis.
Definition:
ContinuaReprComponent.h:35
XC::Matrix
Matrix of floats.
Definition:
Matrix.h:111
XC::Domain
Domain (mesh and boundary conditions) of the finite element model.
Definition:
Domain.h:117
Generated by
1.8.13