OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
qtrplanestrain.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 qtrplanestrain_h
36 #define qtrplanestrain_h
37 
40 #include "spatiallocalizer.h"
41 #include "zznodalrecoverymodel.h"
42 #include "sprnodalrecoverymodel.h"
43 
44 #define _IFT_QTrPlaneStrain_Name "qtrplanestrain"
45 
46 namespace oofem {
47 class FEI2dTrQuad;
48 
55 {
56 protected:
58 
59 public:
60  QTrPlaneStrain(int n, Domain * d);
61  virtual ~QTrPlaneStrain() { }
62 
63  virtual FEInterpolation *giveInterpolation() const;
64 
66  virtual double giveParentElSize() const { return 0.5; }
67 
68  virtual int testElementExtension(ElementExtension ext) { return ( ( ext == Element_EdgeLoadSupport ) ? 0 : 0 ); }
69 
70 #ifdef __OOFEG
71  virtual void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep);
73  virtual void drawScalar(oofegGraphicContext &gc, TimeStep *tStep);
74  virtual void drawSpecial(oofegGraphicContext &gc, TimeStep *tStep);
75 #endif
76 
77  // definition & identification
78  virtual const char *giveInputRecordName() const { return _IFT_QTrPlaneStrain_Name; }
79  virtual const char *giveClassName() const { return "QTrPlaneStrain"; }
80 
82  virtual void SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(IntArray &answer, int pap);
85 
86 
87 protected:
88  virtual int giveNumberOfIPForMassMtrxIntegration() { return 4; }
89 };
90 } // end namespace oofem
91 #endif // qtrplanestrain_h
virtual Interface * giveInterface(InterfaceType it)
Interface requesting service.
The element interface required by ZZNodalRecoveryModel.
Class and object Domain.
Definition: domain.h:115
virtual SPRPatchType SPRNodalRecoveryMI_givePatchType()
virtual int giveNumberOfIPForMassMtrxIntegration()
Return desired number of integration points for consistent mass matrix computation, if required.
virtual void SPRNodalRecoveryMI_giveSPRAssemblyPoints(IntArray &pap)
The element interface required by ZZNodalRecoveryModel.
virtual int SPRNodalRecoveryMI_giveNumberOfIP()
#define _IFT_QTrPlaneStrain_Name
virtual const char * giveInputRecordName() const
virtual const char * giveClassName() const
This class implements an triangular three-node plane- stress elasticity finite element.
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]
virtual FEInterpolation * giveInterpolation() const
QTrPlaneStrain(int n, Domain *d)
Class implementing an array of integers.
Definition: intarray.h:61
Class representing a general abstraction for finite element interpolation class.
Definition: feinterpol.h:132
virtual double giveParentElSize() const
Returns the size (length, area or volume depending on element type) of the parent element...
virtual void drawScalar(oofegGraphicContext &gc, TimeStep *tStep)
ElementExtension
Type representing element extension.
UnknownType
Type representing particular unknown (its physical meaning).
Definition: unknowntype.h:55
virtual void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType)
virtual void drawSpecial(oofegGraphicContext &gc, TimeStep *tStep)
Class Interface.
Definition: interface.h:82
The spatial localizer element interface associated to spatial localizer.
InterfaceType
Enumerative type, used to identify interface type.
Definition: interfacetype.h:43
static FEI2dTrQuad interpolation
Second order triangular interpolation in 2D (6 nodes).
Definition: fei2dtrquad.h:44
the oofem namespace is to define a context or scope in which all oofem names are defined.
virtual int testElementExtension(ElementExtension ext)
Tests if the element implements required extension.
virtual void SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(IntArray &answer, int pap)
Class representing solution step.
Definition: timestep.h:80
virtual void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep)
Element extension for edge loads.

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