OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
latticestructuralelement.h
Go to the documentation of this file.
1 /*
2  *
3  * ##### ##### ###### ###### ### ###
4  * ## ## ## ## ## ## ## ### ##
5  * ## ## ## ## #### #### ## # ##
6  * ## ## ## ## ## ## ## ##
7  * ## ## ## ## ## ## ## ##
8  * ##### ##### ## ###### ## ##
9  *
10  *
11  * OOFEM : Object Oriented Finite Element Code
12  *
13  * Copyright (C) 1993 - 2013 Borek Patzak
14  *
15  *
16  *
17  * Czech Technical University, Faculty of Civil Engineering,
18  * Department of Structural Mechanics, 166 29 Prague, Czech Republic
19  *
20  * This library is free software; you can redistribute it and/or
21  * modify it under the terms of the GNU Lesser General Public
22  * License as published by the Free Software Foundation; either
23  * version 2.1 of the License, or (at your option) any later version.
24  *
25  * This program is distributed in the hope that it will be useful,
26  * but WITHOUT ANY WARRANTY; without even the implied warranty of
27  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
28  * Lesser General Public License for more details.
29  *
30  * You should have received a copy of the GNU Lesser General Public
31  * License along with this library; if not, write to the Free Software
32  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
33  */
34 
35 #ifndef latticestructuralelement_h
36 #define latticestructuralelement_h
37 
38 #include "../sm/Elements/structuralelement.h"
39 
40 namespace oofem {
54 {
55 public:
56  LatticeStructuralElement(int n, Domain * d);
57  virtual ~LatticeStructuralElement();
58 
60 
65  virtual double giveArea() { return 0; }
66 
71  virtual double giveLength() { return 0; }
72 
77  virtual int giveCrackFlag() { return 0; }
78 
83  virtual int giveNumberOfCrossSectionNodes() { return 0; }
84 
88  virtual double giveCrackWidth() { return 0; }
89 
93  virtual double giveOldCrackWidth() { return 0; }
94 
95 
101  virtual double giveDissipation() { return 0; }
102 
103 
108  virtual void computeNmatrixAt(const FloatArray &iLocCoord, FloatMatrix &answer) { return; }
109 
110 
116  virtual double giveDeltaDissipation() { return 0; }
117 
123  virtual int giveCouplingFlag() { return 0; }
124 
129  virtual void giveCouplingNumbers(IntArray &numbers) { }
130 
135  virtual double giveNormalStress() { return 0; }
136 
141  virtual double giveOldNormalStress() { return 0; }
142 
143 
147  virtual int hasBeenUpdated() { return 0; }
148 
149 
153  virtual void giveGpCoordinates(FloatArray &coords) { return; }
154 };
155 } // end namespace oofem
156 #endif
virtual double giveDeltaDissipation()
Returns the increment of dissipation computed at the GaussPoint of the element.
Class and object Domain.
Definition: domain.h:115
virtual void computeNmatrixAt(const FloatArray &iLocCoord, FloatMatrix &answer)
Usually computes interpolation function, which is not needed for the lattice elements.
virtual int hasBeenUpdated()
Returns flag indicating if status has been updated.
virtual double giveDissipation()
Returns the energy dissipation computed at the GaussPoint of the element.
virtual void giveCouplingNumbers(IntArray &numbers)
Returns the coupling numbers.
virtual double giveNormalStress()
Returns the normal stress.
virtual double giveLength()
Returns the element length.
virtual void giveGpCoordinates(FloatArray &coords)
Gives the GP coordinates.
virtual int giveNumberOfCrossSectionNodes()
Returns the number of crossSection nodes.
virtual double giveArea()
Returns the cross-sectional area of the lattice element.
Class implementing an array of integers.
Definition: intarray.h:61
Abstract base class for all "structural" finite elements.
virtual int giveCouplingFlag()
Returns the coupling flag.
Class representing vector of real numbers.
Definition: floatarray.h:82
Implementation of matrix containing floating point numbers.
Definition: floatmatrix.h:94
IRResultType
Type defining the return values of InputRecord reading operations.
Definition: irresulttype.h:47
virtual int giveCrackFlag()
Returns the crack flag.
virtual double giveOldNormalStress()
Returns the old normal stress.
Class representing the general Input Record.
Definition: inputrecord.h:101
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
This class implements the base of a special lattice element following the concepts orginally develope...
the oofem namespace is to define a context or scope in which all oofem names are defined.

This page is part of the OOFEM documentation. Copyright (c) 2011 Borek Patzak
Project e-mail: info@oofem.org
Generated at Tue Jan 2 2018 20:07:29 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011