XC Open source finite element analysis program
BeamUniformLoad.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 //BeamUniformLoad.h
28 
29 #ifndef BeamUniformLoad_h
30 #define BeamUniformLoad_h
31 
32 #include "domain/load/beam_loads/BeamMecLoad.h"
33 
34 namespace XC {
35 
37 //
40  {
41  public:
42  BeamUniformLoad(int tag, int classTag, double wTrans, double wAxial,const ID &theElementTags);
43  BeamUniformLoad(int tag, int classTag);
44  BeamUniformLoad(int classTag);
45 
46  std::string Categoria(void) const;
48  inline const Matrix &getDistributedLocalForces(void) const
49  { return getLocalForces(); }
51  inline const Matrix &getDistributedLocalMoments(void) const
52  { return getLocalMoments(); }
54  inline const Matrix &getDistributedGlobalForces(void) const
55  { return getGlobalForces(); }
57  inline const Matrix &getDistributedGlobalMoments(void) const
58  { return getGlobalMoments(); }
59  virtual SVD3d getResultant(const Pos3d &p= Pos3d(), bool initialGeometry= true) const;
60  };
61 } // end of XC namespace
62 
63 #endif
64 
const Matrix & getDistributedGlobalForces(void) const
Returns distributed force vectors (one for each element) expressed in global coordinates. Is simply a convenience function that makes the distributedness more explicit.
Definition: BeamUniformLoad.h:54
virtual const Matrix & getLocalForces(void) const
Returns punctual/distributed force vectors (one for each element) expressed in local coordinates...
Definition: BeamMecLoad.cc:108
Mechanical loads (forces) over beam elements.
Definition: BeamMecLoad.h:46
Uniform load over beam elements.
Definition: BeamUniformLoad.h:39
virtual SVD3d getResultant(const Pos3d &p=Pos3d(), bool initialGeometry=true) const
brief Returns load resultant (force and moment integration over the elements).
Definition: BeamUniformLoad.cc:51
const Matrix & getDistributedGlobalMoments(void) const
Returns distributed moments (one for each element) expressed in global coordinates. Is simply a convenience function that makes the distributedness more explicit.
Definition: BeamUniformLoad.h:57
virtual const Matrix & getGlobalForces(void) const
Returns punctual/distributed force vectors (one for each element) expressed in global coordinates...
Definition: BeamMecLoad.cc:164
const Matrix & getDistributedLocalMoments(void) const
Returns distributed moments (one for each element) expressed in element local coordinates. Is simply a convenience function that makes the distributedness more explicit.
Definition: BeamUniformLoad.h:51
Definition: ID.h:77
BeamUniformLoad(int tag, int classTag, double wTrans, double wAxial, const ID &theElementTags)
Constructor.
Definition: BeamUniformLoad.cc:36
Definition: Matrix.h:82
virtual const Matrix & getLocalMoments(void) const
Returns puntual/distributed force moments (one for each element) expressed in local coordinates...
Definition: BeamMecLoad.cc:122
const Matrix & getDistributedLocalForces(void) const
Returns distributed force vectors (one for each element) expressed in elemnt local coordinates...
Definition: BeamUniformLoad.h:48
================================================================================
Definition: ContinuaReprComponent.h:34
virtual const Matrix & getGlobalMoments(void) const
Returns punctual/distributed moment vectors (one for each element) expressed in global coordinates...
Definition: BeamMecLoad.cc:168