OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
linquad3d_planestress.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 linquad3d_planestress_h
36 #define linquad3d_planestress_h
37 
41 #include "zznodalrecoverymodel.h"
42 #include "sprnodalrecoverymodel.h"
43 #include "spatiallocalizer.h"
45 
46 #define _IFT_LinQuad3DPlaneStress_Name "linquad3dplanestress"
47 
48 namespace oofem {
49 class FEI2dQuadLin;
50 
56 {
57 protected:
59  std :: vector< FloatArray > lc;
65 
66  enum CharTensor {
71 
76  };
77 
78 public:
79  LinQuad3DPlaneStress(int n, Domain * d);
80  virtual ~LinQuad3DPlaneStress();
81 
84  void computeLocalNodalCoordinates(std::vector< FloatArray > &lxy);
85 
86  virtual int computeNumberOfDofs() { return 8; }
87  virtual int computeNumberOfGlobalDofs() { return 12; }
88  virtual void giveDofManDofIDMask(int inode, IntArray &) const;
89 
90 
92  virtual bool computeGtoLRotationMatrix(FloatMatrix &answer);
93  virtual int computeLoadGToLRotationMtrx(FloatMatrix &answer);
94 
95  virtual void printOutputAt(FILE *file, TimeStep *tStep);
96  virtual int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep);
97  void giveCharacteristicTensor(FloatMatrix &answer, CharTensor type, GaussPoint *gp, TimeStep *tStep);
98 
99  // definition & identification
100  virtual const char *giveInputRecordName() const { return _IFT_LinQuad3DPlaneStress_Name; }
101  virtual const char *giveClassName() const { return "LinQuad3DPlaneStress"; }
102 };
103 } // end namespace oofem
104 #endif // linquad3d_planestress_h
InternalStateType
Type representing the physical meaning of element or constitutive model internal variable.
This class implements an isoparametric four-node quadrilateral plane- stress elasticity finite elemen...
Definition: planstrss.h:56
Class and object Domain.
Definition: domain.h:115
Class representing a general abstraction for cell geometry.
Definition: feinterpol.h:62
virtual int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep)
Returns the integration point corresponding value in full form.
void computeLocalNodalCoordinates(std::vector< FloatArray > &lxy)
virtual int computeLoadGToLRotationMtrx(FloatMatrix &answer)
Returns transformation matrix from global coordinate system to local element coordinate system for el...
Class implementing an array of integers.
Definition: intarray.h:61
virtual int computeNumberOfGlobalDofs()
Computes the total number of element&#39;s global dofs.
virtual void giveDofManDofIDMask(int inode, IntArray &) const
Returns dofmanager dof mask for node.
virtual const char * giveInputRecordName() const
virtual void printOutputAt(FILE *file, TimeStep *tStep)
Prints output of receiver to stream, for given time step.
std::vector< FloatArray > lc
Local vertex coordinates.
FloatMatrix * GtoLRotationMatrix
Transformation Matrix form GtoL(3,3) is stored at the element level for computation efficiency...
Class representing vector of real numbers.
Definition: floatarray.h:82
Implementation of matrix containing floating point numbers.
Definition: floatmatrix.h:94
virtual const char * giveClassName() const
const FloatMatrix * computeGtoLRotationMatrix()
Class Interface.
Definition: interface.h:82
virtual Interface * giveInterface(InterfaceType it)
Interface requesting service.
virtual int computeNumberOfDofs()
Computes or simply returns total number of element&#39;s local DOFs.
InterfaceType
Enumerative type, used to identify interface type.
Definition: interfacetype.h:43
void giveCharacteristicTensor(FloatMatrix &answer, CharTensor type, GaussPoint *gp, TimeStep *tStep)
the oofem namespace is to define a context or scope in which all oofem names are defined.
Class representing integration point in finite element program.
Definition: gausspoint.h:93
virtual FEICellGeometry * giveCellGeometryWrapper()
Returns the Cell Geometry Wrapper.
Class representing solution step.
Definition: timestep.h:80
#define _IFT_LinQuad3DPlaneStress_Name
This class implements an isoparametric four-node quadrilateral plane- stress elasticity finite elemen...
LinQuad3DPlaneStress(int n, Domain *d)

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