OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
basicelement.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 basicelement_h
36 #define basicelement_h
37 
39 #define _IFT_BasicElement_Name "basicelement"
40 
41 namespace oofem {
42 class FEI2dTrLin;
43 
62 {
63 protected:
65 
66 public:
68  BasicElement(int n, Domain * d);
70  virtual ~BasicElement() { }
71 
72  virtual FEInterpolation *giveInterpolation() const;
73 
74  // Necessary for reading input files:
75  virtual const char *giveInputRecordName() const { return _IFT_BasicElement_Name; }
76  // Necessary for debug messages:
77  virtual const char *giveClassName() const { return "BasicElement"; }
78 
79 protected:
80 
81  // Support for computing the mass matrix needed for dynamic simulations
82  virtual int giveNumberOfIPForMassMtrxIntegration() { return 4; }
83 };
84 } // end namespace oofem
85 #endif // basicelement_h
Class and object Domain.
Definition: domain.h:115
virtual int giveNumberOfIPForMassMtrxIntegration()
Return desired number of integration points for consistent mass matrix computation, if required.
Definition: basicelement.h:82
virtual const char * giveClassName() const
Definition: basicelement.h:77
virtual ~BasicElement()
Destructor.
Definition: basicelement.h:70
This class implements a 'basic' triangular three-node plane-stress finite element in the xy-plane...
Definition: basicelement.h:61
BasicElement(int n, Domain *d)
Constructor.
Definition: basicelement.C:46
Class representing a general abstraction for finite element interpolation class.
Definition: feinterpol.h:132
Class representing a 2d triangular linear interpolation based on area coordinates.
Definition: fei2dtrlin.h:44
static FEI2dTrLin interp
Definition: basicelement.h:64
#define _IFT_BasicElement_Name
Definition: basicelement.h:39
the oofem namespace is to define a context or scope in which all oofem names are defined.
virtual const char * giveInputRecordName() const
Definition: basicelement.h:75
virtual FEInterpolation * giveInterpolation() const
Definition: basicelement.C:52

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:27 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011