XC Open source finite element analysis program
LagrangeMRMFreedom_FE.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 // File: ~/analysis/model/fe_ele/lagrange/LagrangeMRMFreedom_FE.h
29 //
30 // Written: lcpt
31 // Created: 03/2015
32 // Revision: A
33 //
34 // Description: This file contains the class definition for LagrangeMRMFreedom_FE.
35 // LagrangeMRMFreedom_FE is a subclass of FE_Element which handles MRMFreedom_Constraints
36 // using the Lagrange method.
37 //
38 // What: "@(#) LagrangeMRMFreedom_FE.h, revA"
39 
40 
41 #ifndef LagrangeMRMFreedom_FE_h
42 #define LagrangeMRMFreedom_FE_h
43 
44 #include "solution/analysis/model/fe_ele/MRMFreedom_FE.h"
45 #include "Lagrange_FE.h"
46 #include "utility/matrix/Matrix.h"
47 #include "utility/matrix/Vector.h"
48 
49 namespace XC {
50 class Element;
51 class Integrator;
52 class AnalysisModel;
53 class Domain;
54 class DOF_Group;
55 
57 //
61  {
62  private:
63  void determineTangent(void);
64 
65  friend class AnalysisModel;
66  LagrangeMRMFreedom_FE(int tag, Domain &theDomain, MRMFreedom_Constraint &,DOF_Group &, double alpha = 1.0);
67  public:
68 
69  // public methods
70  virtual int setID(void);
71  virtual const Matrix &getTangent(Integrator *theIntegrator);
72  virtual const Vector &getResidual(Integrator *theIntegrator);
73  virtual const Vector &getTangForce(const Vector &x, double fact = 1.0);
74 
75  virtual const Vector &getK_Force(const Vector &x, double fact = 1.0);
76  virtual const Vector &getC_Force(const Vector &x, double fact = 1.0);
77  virtual const Vector &getM_Force(const Vector &x, double fact = 1.0);
78  };
79 } // end of XC namespace
80 
81 #endif
82 
83 
A DOF_Group object is instantiated by the ConstraintHandler for every unconstrained node in the domai...
Definition: DOF_Group.h:94
Domain (mesh and boundary conditions) of the finite element model.
Definition: Domain.h:98
LagrangeMRMFreedom_FE is a subclass of FE_Element which handles MRMFreedom_Constraints using the Lagr...
Definition: LagrangeMRMFreedom_FE.h:60
Definition: Vector.h:82
Lagrange_FE is a subclass of FE_Element which handles _Constraints using the Lagrange method...
Definition: Lagrange_FE.h:52
virtual const Matrix & getTangent(Integrator *theIntegrator)
Return the matriz tangente que le indica el objeto Integrator.
Definition: LagrangeMRMFreedom_FE.cc:93
Multiple retained nodes constraint.
Definition: MRMFreedom_Constraint.h:58
Definition: Matrix.h:82
virtual const Vector & getResidual(Integrator *theIntegrator)
Returns the vector residuo que le indica el objeto Integrator.
Definition: LagrangeMRMFreedom_FE.cc:100
Los objetos de esta clase, dan acceso a los objetos FE_Element y DOF_Group creados por el Constraint ...
Definition: AnalysisModel.h:113
??
Definition: MRMFreedom_FE.h:43
virtual int setID(void)
Method to set the corresponding index of the ID to value.
Definition: LagrangeMRMFreedom_FE.cc:71
================================================================================
Definition: ContinuaReprComponent.h:34
Base class for the object that performs the integration of physical properties over the domain to for...
Definition: Integrator.h:91