OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
qtrplstr.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 qtrplstr_h
36 #define qtrplstr_h
37 
40 #include "spatiallocalizer.h"
41 #include "zznodalrecoverymodel.h"
42 #include "sprnodalrecoverymodel.h"
43 
44 #define _IFT_QTrPlaneStress2d_Name "qtrplstr"
45 
46 namespace oofem {
47 class FEI2dTrQuad;
48 
55 {
56 protected:
58 
59 public:
60  QTrPlaneStress2d(int n, Domain * d);
61  virtual ~QTrPlaneStress2d() { }
62 
64  virtual FEInterpolation *giveInterpolation() const;
65  virtual double giveParentElSize() const { return 0.5; }
66 
67 #ifdef __OOFEG
68  virtual void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep);
70  virtual void drawScalar(oofegGraphicContext &gc, TimeStep *tStep);
71  virtual void drawSpecial(oofegGraphicContext &gc, TimeStep *tStep);
72 #endif
73 
74  // definition & identification
75  virtual const char *giveInputRecordName() const { return _IFT_QTrPlaneStress2d_Name; }
76  virtual const char *giveClassName() const { return "QTrPlaneStress2d"; }
78 
80  virtual void SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(IntArray &answer, int pap);
83 
84 protected:
85  virtual int giveNumberOfIPForMassMtrxIntegration() { return 4; }
86 
87 };
88 } // end namespace oofem
89 #endif // qtrplstr_h
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
Definition: qtrplstr.C:91
The element interface required by ZZNodalRecoveryModel.
Class and object Domain.
Definition: domain.h:115
virtual SPRPatchType SPRNodalRecoveryMI_givePatchType()
Definition: qtrplstr.C:395
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]
virtual FEInterpolation * giveInterpolation() const
Definition: qtrplstr.C:66
#define _IFT_QTrPlaneStress2d_Name
Definition: qtrplstr.h:44
virtual void SPRNodalRecoveryMI_giveSPRAssemblyPoints(IntArray &pap)
Definition: qtrplstr.C:356
Class implementing an array of integers.
Definition: intarray.h:61
Class representing a general abstraction for finite element interpolation class.
Definition: feinterpol.h:132
This class implements a quadratic triangular 6-node plane- stress elasticity finite element...
Definition: qtrplstr.h:53
virtual double giveParentElSize() const
Returns the size (length, area or volume depending on element type) of the parent element...
Definition: qtrplstr.h:65
virtual ~QTrPlaneStress2d()
Definition: qtrplstr.h:61
virtual void SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(IntArray &answer, int pap)
Definition: qtrplstr.C:366
UnknownType
Type representing particular unknown (its physical meaning).
Definition: unknowntype.h:55
virtual void drawScalar(oofegGraphicContext &gc, TimeStep *tStep)
Definition: qtrplstr.C:163
IRResultType
Type defining the return values of InputRecord reading operations.
Definition: irresulttype.h:47
virtual const char * giveClassName() const
Definition: qtrplstr.h:76
QTrPlaneStress2d(int n, Domain *d)
Definition: qtrplstr.C:58
virtual const char * giveInputRecordName() const
Definition: qtrplstr.h:75
Class representing the general Input Record.
Definition: inputrecord.h:101
Class Interface.
Definition: interface.h:82
The spatial localizer element interface associated to spatial localizer.
static FEI2dTrQuad interpolation
Definition: qtrplstr.h:57
virtual int giveNumberOfIPForMassMtrxIntegration()
Return desired number of integration points for consistent mass matrix computation, if required.
Definition: qtrplstr.h:85
virtual void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep)
Definition: qtrplstr.C:101
virtual void drawSpecial(oofegGraphicContext &gc, TimeStep *tStep)
Definition: qtrplstr.C:349
InterfaceType
Enumerative type, used to identify interface type.
Definition: interfacetype.h:43
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 SPRNodalRecoveryMI_giveNumberOfIP()
Definition: qtrplstr.C:388
virtual Interface * giveInterface(InterfaceType it)
Interface requesting service.
Definition: qtrplstr.C:70
Class representing solution step.
Definition: timestep.h:80
virtual void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType)
Definition: qtrplstr.C:132

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