OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
trplanestrain.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 trplanstrain_h
36 #define trplanstrain_h
37 
42 #include "zznodalrecoverymodel.h"
44 #include "sprnodalrecoverymodel.h"
45 #include "spatiallocalizer.h"
47 
48 #define _IFT_TrPlaneStrain_Name "trplanestrain"
49 
50 namespace oofem {
51 class FEI2dTrLin;
52 
62 {
63 protected:
65  double area;
66 
67 public:
68  TrPlaneStrain(int n, Domain * d);
69  virtual ~TrPlaneStrain() { }
70 
71  virtual FEInterpolation *giveInterpolation() const;
73 
75  InternalStateType type, TimeStep *tStep);
76 
78  virtual void SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(IntArray &answer, int pap);
81 
82  // HuertaErrorEstimatorInterface
83  virtual void HuertaErrorEstimatorI_setupRefinedElementProblem(RefinedElement *refinedElement, int level, int nodeId,
84  IntArray &localNodeIdArray, IntArray &globalNodeIdArray,
86  int &localNodeId, int &localElemId, int &localBcId,
87  IntArray &controlNode, IntArray &controlDof,
90 
91 #ifdef __OOFEG
92  virtual void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep);
94  virtual void drawScalar(oofegGraphicContext &gc, TimeStep *tStep);
95 #endif
96 
97  // definition & identification
98  virtual const char *giveInputRecordName() const { return _IFT_TrPlaneStrain_Name; }
99  virtual const char *giveClassName() const { return "TrPlaneStrain"; }
101 
102 protected:
103  virtual int giveNumberOfIPForMassMtrxIntegration() { return 1; }
104 };
105 } // end namespace oofem
106 #endif // trplanstrain_h
InternalStateType
Type representing the physical meaning of element or constitutive model internal variable.
The element interface required by NodalAvergagingRecoveryModel.
virtual SPRPatchType SPRNodalRecoveryMI_givePatchType()
The element interface required by ZZNodalRecoveryModel.
virtual const char * giveInputRecordName() const
Definition: trplanestrain.h:98
#define _IFT_TrPlaneStrain_Name
Definition: trplanestrain.h:48
Class and object Domain.
Definition: domain.h:115
The element interface required by ZZNodalRecoveryModel.
virtual int SPRNodalRecoveryMI_giveNumberOfIP()
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]
virtual int giveNumberOfIPForMassMtrxIntegration()
Return desired number of integration points for consistent mass matrix computation, if required.
virtual void drawScalar(oofegGraphicContext &gc, TimeStep *tStep)
Class implementing an array of integers.
Definition: intarray.h:61
virtual void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType)
virtual ~TrPlaneStrain()
Definition: trplanestrain.h:69
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
The element interface corresponding to ZZErrorEstimator.
The element interface corresponding to HuertaErrorEstimator.
virtual void SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(IntArray &answer, int pap)
UnknownType
Type representing particular unknown (its physical meaning).
Definition: unknowntype.h:55
virtual FEInterpolation * giveInterpolation() const
Definition: trplanestrain.C:70
static FEI2dTrLin interp
Definition: trplanestrain.h:64
virtual void HuertaErrorEstimatorI_setupRefinedElementProblem(RefinedElement *refinedElement, int level, int nodeId, IntArray &localNodeIdArray, IntArray &globalNodeIdArray, HuertaErrorEstimatorInterface::SetupMode sMode, TimeStep *tStep, int &localNodeId, int &localElemId, int &localBcId, IntArray &controlNode, IntArray &controlDof, HuertaErrorEstimator::AnalysisMode aMode)
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
Definition: trplanestrain.C:95
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 const char * giveClassName() const
Definition: trplanestrain.h:99
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.
virtual void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep)
virtual void HuertaErrorEstimatorI_computeNmatrixAt(GaussPoint *gp, FloatMatrix &answer)
virtual Interface * giveInterface(InterfaceType it)
Interface requesting service.
Definition: trplanestrain.C:74
InterfaceType
Enumerative type, used to identify interface type.
Definition: interfacetype.h:43
virtual void SPRNodalRecoveryMI_giveSPRAssemblyPoints(IntArray &pap)
virtual void NodalAveragingRecoveryMI_computeNodalValue(FloatArray &answer, int node, InternalStateType type, TimeStep *tStep)
Computes the element value in given node.
This class implements an triangular three-node plane- strain elasticity finite element.
Definition: trplanestrain.h:57
the oofem namespace is to define a context or scope in which all oofem names are defined.
TrPlaneStrain(int n, Domain *d)
Definition: trplanestrain.C:57
Class representing integration point in finite element program.
Definition: gausspoint.h:93
Class representing solution step.
Definition: timestep.h:80

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