OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
qplanestressgrad.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 qplanestressgrad_h
36 #define qplanestressgrad_h
37 
38 #include "../sm/Elements/PlaneStress/qplanstrss.h"
39 #include "../sm/Elements/graddpelement.h"
40 
41 #define _IFT_QPlaneStressGrad_Name "qplanestressgrad"
42 
43 namespace oofem {
44 class FEI2dQuadLin;
45 
47 {
48 protected:
50 
51 public:
52  QPlaneStressGrad(int n, Domain * d);
53  virtual ~QPlaneStressGrad() { }
54 
56 
57  virtual const char *giveInputRecordName() const { return _IFT_QPlaneStressGrad_Name; }
58  virtual const char *giveClassName() const { return "QPlaneStressGrad"; }
59  virtual MaterialMode giveMaterialMode() { return _PlaneStress; }
60  virtual int computeNumberOfDofs() { return 20; }
61 
62 protected:
63  virtual void computeBkappaMatrixAt(GaussPoint *gp, FloatMatrix &answer);
64  virtual void computeNkappaMatrixAt(GaussPoint *gp, FloatArray &answer);
65  virtual void computeStiffnessMatrix(FloatMatrix &answer, MatResponseMode rMode, TimeStep *tStep) { GradDpElement :: computeStiffnessMatrix(answer, rMode, tStep); }
66  virtual void giveInternalForcesVector(FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord = 0) { GradDpElement :: giveInternalForcesVector(answer, tStep, useUpdatedGpRecord); }
67 
68  virtual void computeGaussPoints();
69  virtual void giveDofManDofIDMask(int inode, IntArray &answer) const;
70  virtual StructuralElement *giveStructuralElement() { return this; }
71  virtual NLStructuralElement *giveNLStructuralElement() { return this; }
72 };
73 } // end namespace oofem
74 #endif // qplanestressgrad_h
virtual void computeStiffnessMatrix(FloatMatrix &answer, MatResponseMode rMode, TimeStep *tStep)
Computes the stiffness matrix of receiver.
Class and object Domain.
Definition: domain.h:115
virtual void computeBkappaMatrixAt(GaussPoint *gp, FloatMatrix &answer)
void computeStiffnessMatrix(FloatMatrix &, MatResponseMode, TimeStep *)
Abstract base class for "structural" finite elements with geometrical nonlinearities.
virtual MaterialMode giveMaterialMode()
Returns material mode for receiver integration points.
QPlaneStressGrad(int n, Domain *d)
void giveInternalForcesVector(FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord)
virtual NLStructuralElement * giveNLStructuralElement()
MaterialMode
Type representing material mode of integration point.
Definition: materialmode.h:89
Class implementing an array of integers.
Definition: intarray.h:61
MatResponseMode
Describes the character of characteristic material matrix.
Abstract class for gradient formulation of coupled damage-plasticity model(GradDp).
Definition: graddpelement.h:48
virtual void computeGaussPoints()
Initializes the array of integration rules member variable.
Abstract base class for all "structural" finite elements.
#define _IFT_QPlaneStressGrad_Name
This class implements an Quadratic isoparametric eight-node quadrilateral plane- stress elasticity fi...
Definition: qplanstrss.h:52
virtual int computeNumberOfDofs()
Computes or simply returns total number of element's local DOFs.
virtual StructuralElement * giveStructuralElement()
virtual IRResultType initializeFrom(InputRecord *ir)
virtual const char * giveClassName() const
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
Class representing the general Input Record.
Definition: inputrecord.h:101
virtual void giveInternalForcesVector(FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord=0)
Evaluates nodal representation of real internal forces.
Class representing a 2d isoparametric linear interpolation based on natural coordinates for quadrilat...
Definition: fei2dquadlin.h:45
the oofem namespace is to define a context or scope in which all oofem names are defined.
virtual const char * giveInputRecordName() const
Class representing integration point in finite element program.
Definition: gausspoint.h:93
Class representing solution step.
Definition: timestep.h:80
static FEI2dQuadLin interpolation_lin
virtual void giveDofManDofIDMask(int inode, IntArray &answer) const
Returns dofmanager dof mask for node.
virtual void computeNkappaMatrixAt(GaussPoint *gp, FloatArray &answer)

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