OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
latticetransportelement.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 
36 #ifndef latticetransportelement_h
37 #define latticetransportelement_h
38 
39 #include "transportelement.h"
40 
48 namespace oofem {
50 {
51 public:
52  LatticeTransportElement(int, Domain *, ElementMode); // constructor
53 
54  ~LatticeTransportElement(); // destructor
55 
57 
62  virtual double giveArea() = 0;
63 
68  virtual double giveRadius(){return 0;}
69 
74  virtual double giveLength() = 0;
75 
80  virtual double givePressure() { return 0; }
81 
86  virtual double giveOldPressure() { return 0; }
87 
92  virtual double giveMass() { return 0; }
93 
98  virtual int giveCouplingFlag(){return 0;}
99 
104  virtual void giveCouplingNumbers(IntArray &numbers){return;}
105 
110  virtual void giveCrackLengths(FloatArray &lengths){return;}
111 
116  virtual void giveCrackWidths(FloatArray &widths) {return;}
117 
118 
122  virtual void giveGpCoordinates(FloatArray &coords) { return; }
123 
127  virtual double computeLatticeVolumeAroundIt() {return 0;}
128 
129 
130 };
131 } // end namespace oofem
132 #endif
Class and object Domain.
Definition: domain.h:115
virtual double giveOldPressure()
Returns the old pressure.
virtual double computeLatticeVolumeAroundIt()
Returns the real volume.
virtual double giveRadius()
Returns the radius of the lattice element.
Class implementing an array of integers.
Definition: intarray.h:61
virtual void giveCrackWidths(FloatArray &widths)
Returns the crack widths.
This abstract class represent a general base element class for transport problems.
IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
virtual double givePressure()
Returns the pressure.
LatticeTransportElement(int, Domain *, ElementMode)
virtual int giveCouplingFlag()
Returns the coupling flag.
Class representing vector of real numbers.
Definition: floatarray.h:82
IRResultType
Type defining the return values of InputRecord reading operations.
Definition: irresulttype.h:47
virtual double giveArea()=0
Returns the cross-sectional area of the lattice element.
Class representing the general Input Record.
Definition: inputrecord.h:101
virtual void giveCouplingNumbers(IntArray &numbers)
Returns the coupling numbers.
virtual double giveLength()=0
Returns the element length.
virtual void giveGpCoordinates(FloatArray &coords)
Gives the GP coordinates.
virtual double giveMass()
Returns the mass.
the oofem namespace is to define a context or scope in which all oofem names are defined.
virtual void giveCrackLengths(FloatArray &lengths)
Returns the crack lengths.

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