OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
lspace.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 lspace_h
36 #define lspace_h
37 
40 #include "zznodalrecoverymodel.h"
41 #include "sprnodalrecoverymodel.h"
43 #include "spatiallocalizer.h"
44 
45 #define _IFT_LSpace_Name "lspace"
46 
47 namespace oofem {
48 class FEI3dHexaLin;
49 
64 {
65 protected:
67 
68 public:
69  LSpace(int n, Domain * d);
70  virtual ~LSpace() { }
71  virtual FEInterpolation *giveInterpolation() const;
72 
75  { return ( ( ( ext == Element_EdgeLoadSupport ) || ( ext == Element_SurfaceLoadSupport ) ) ? 1 : 0 ); }
76 
78  virtual void SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(IntArray &answer, int pap);
81 
83  InternalStateType type, TimeStep *tStep);
84 
85  virtual void HuertaErrorEstimatorI_setupRefinedElementProblem(RefinedElement *refinedElement, int level, int nodeId,
86  IntArray &localNodeIdArray, IntArray &globalNodeIdArray,
88  int &localNodeId, int &localElemId, int &localBcId,
89  IntArray &controlNode, IntArray &controlDof,
92 
93  // definition & identification
94  virtual const char *giveInputRecordName() const { return _IFT_LSpace_Name; }
95  virtual const char *giveClassName() const { return "LSpace"; }
97 
98 #ifdef __OOFEG
99  virtual void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep);
100  virtual void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType type);
101  virtual void drawScalar(oofegGraphicContext &gc, TimeStep *tStep);
102  virtual void drawSpecial(oofegGraphicContext &gc, TimeStep *tStep);
103  void drawTriad(FloatArray &, int isurf);
104 #endif
105 
106 protected:
107  virtual int giveNumberOfIPForMassMtrxIntegration() { return 8; }
108 
113  virtual IntegrationRule *GetSurfaceIntegrationRule(int iSurf);
114  virtual int computeLoadLSToLRotationMatrix(FloatMatrix &answer, int iSurf, GaussPoint *gp);
116 };
117 } // end namespace oofem
118 #endif // lspace_h
InternalStateType
Type representing the physical meaning of element or constitutive model internal variable.
virtual void drawScalar(oofegGraphicContext &gc, TimeStep *tStep)
Definition: lspace.C:505
The element interface required by NodalAvergagingRecoveryModel.
Class representing implementation of linear hexahedra interpolation class.
Definition: fei3dhexalin.h:44
The element interface required by ZZNodalRecoveryModel.
Class and object Domain.
Definition: domain.h:115
virtual void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType type)
Definition: lspace.C:476
The element interface required by ZZNodalRecoveryModel.
#define _IFT_LSpace_Name
Definition: lspace.h:45
virtual Interface * giveInterface(InterfaceType it)
Interface requesting service.
Definition: lspace.C:72
virtual const char * giveInputRecordName() const
Definition: lspace.h:94
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]
virtual void drawSpecial(oofegGraphicContext &gc, TimeStep *tStep)
Definition: lspace.C:561
virtual void SPRNodalRecoveryMI_giveSPRAssemblyPoints(IntArray &pap)
Definition: lspace.C:99
LSpace(int n, Domain *d)
Definition: lspace.C:59
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
Definition: lspace.C:91
Class implementing an array of integers.
Definition: intarray.h:61
Abstract base class representing integration rule.
Element extension for surface loads.
virtual int SPRNodalRecoveryMI_giveNumberOfIP()
Definition: lspace.C:129
Class representing a general abstraction for finite element interpolation class.
Definition: feinterpol.h:132
virtual void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep)
Definition: lspace.C:336
virtual int giveNumberOfIPForMassMtrxIntegration()
Return desired number of integration points for consistent mass matrix computation, if required.
Definition: lspace.h:107
The element interface corresponding to HuertaErrorEstimator.
ElementExtension
Type representing element extension.
UnknownType
Type representing particular unknown (its physical meaning).
Definition: unknowntype.h:55
virtual void NodalAveragingRecoveryMI_computeNodalValue(FloatArray &answer, int node, InternalStateType type, TimeStep *tStep)
Computes the element value in given node.
Definition: lspace.C:143
virtual int computeLoadLSToLRotationMatrix(FloatMatrix &answer, int iSurf, GaussPoint *gp)
Returns transformation matrix from local surface c.s to element local coordinate system of load vecto...
Definition: lspace.C:659
virtual const char * giveClassName() const
Definition: lspace.h:95
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)
Definition: lspace.C:250
virtual void HuertaErrorEstimatorI_computeNmatrixAt(GaussPoint *gp, FloatMatrix &answer)
Definition: lspace.C:327
Class representing vector of real numbers.
Definition: floatarray.h:82
virtual ~LSpace()
Definition: lspace.h:70
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
This class implements a Linear 3d 8-node finite element for stress analysis.
Definition: lspace.h:60
Class representing the general Input Record.
Definition: inputrecord.h:101
Class Interface.
Definition: interface.h:82
Base class 3D elements.
virtual FEInterpolation * giveInterpolation() const
Definition: lspace.C:69
void drawTriad(FloatArray &, int isurf)
Definition: lspace.C:380
The spatial localizer element interface associated to spatial localizer.
static FEI3dHexaLin interpolation
Definition: lspace.h:66
InterfaceType
Enumerative type, used to identify interface type.
Definition: interfacetype.h:43
virtual void SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(IntArray &answer, int pap)
Definition: lspace.C:109
virtual SPRPatchType SPRNodalRecoveryMI_givePatchType()
Definition: lspace.C:136
the oofem namespace is to define a context or scope in which all oofem names are defined.
virtual IntegrationRule * GetSurfaceIntegrationRule(int iSurf)
Definition: lspace.C:649
virtual int testElementExtension(ElementExtension ext)
Tests if the element implements required extension.
Definition: lspace.h:74
Class representing integration point in finite element program.
Definition: gausspoint.h:93
Class representing solution step.
Definition: timestep.h:80
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:29 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011