OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
qtrplstrgrad.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 qtrplstrgrad_h
36 #define qtrplstrgrad_h
37 
38 #include "../sm/Elements/PlaneStress/qtrplstr.h"
39 #include "../sm/Elements/graddpelement.h"
40 
41 #define _IFT_QTrPlaneStressGrad_Name "qtrplstrgrad"
42 
43 namespace oofem {
44 class FEI2dTrLin;
45 
47 {
48 protected:
50 
51 public:
52  QTrPlaneStressGrad(int n, Domain * d);
53  virtual ~QTrPlaneStressGrad() { }
54 
56 
57  virtual const char *giveInputRecordName() const { return _IFT_QTrPlaneStressGrad_Name; }
58  virtual const char *giveClassName() const { return "QTrPlaneStressGrad"; }
59 
60  virtual MaterialMode giveMaterialMode() { return _PlaneStress; }
61  virtual int computeNumberOfDofs() { return 15; }
62 
63 protected:
64  virtual void computeBkappaMatrixAt(GaussPoint *gp, FloatMatrix &answer);
65  virtual void computeNkappaMatrixAt(GaussPoint *gp, FloatArray &answer);
66  virtual void computeStiffnessMatrix(FloatMatrix &answer, MatResponseMode rMode, TimeStep *tStep) { GradDpElement :: computeStiffnessMatrix(answer, rMode, tStep); }
67  virtual void giveInternalForcesVector(FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord = 0) { GradDpElement :: giveInternalForcesVector(answer, tStep, useUpdatedGpRecord); }
68 
69  virtual void computeGaussPoints();
70  virtual void giveDofManDofIDMask(int inode, IntArray &answer) const;
71  virtual StructuralElement *giveStructuralElement() { return this; }
72  virtual NLStructuralElement *giveNLStructuralElement() { return this; }
73 };
74 } // end namespace oofem
75 #endif // qtrplstrgrad_h
Class and object Domain.
Definition: domain.h:115
virtual void computeBkappaMatrixAt(GaussPoint *gp, FloatMatrix &answer)
Definition: qtrplstrgrad.C:104
void computeStiffnessMatrix(FloatMatrix &, MatResponseMode, TimeStep *)
Abstract base class for "structural" finite elements with geometrical nonlinearities.
virtual void computeStiffnessMatrix(FloatMatrix &answer, MatResponseMode rMode, TimeStep *tStep)
Computes the stiffness matrix of receiver.
Definition: qtrplstrgrad.h:66
virtual void computeGaussPoints()
Initializes the array of integration rules member variable.
Definition: qtrplstrgrad.C:88
void giveInternalForcesVector(FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord)
virtual NLStructuralElement * giveNLStructuralElement()
Definition: qtrplstrgrad.h:72
static FEI2dTrLin interpolation_lin
Definition: qtrplstrgrad.h:49
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.
virtual const char * giveClassName() const
Definition: qtrplstrgrad.h:58
Abstract class for gradient formulation of coupled damage-plasticity model(GradDp).
Definition: graddpelement.h:48
This class implements a quadratic triangular 6-node plane- stress elasticity finite element...
Definition: qtrplstr.h:53
virtual MaterialMode giveMaterialMode()
Returns material mode for receiver integration points.
Definition: qtrplstrgrad.h:60
virtual void giveInternalForcesVector(FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord=0)
Evaluates nodal representation of real internal forces.
Definition: qtrplstrgrad.h:67
Abstract base class for all "structural" finite elements.
Class representing a 2d triangular linear interpolation based on area coordinates.
Definition: fei2dtrlin.h:44
#define _IFT_QTrPlaneStressGrad_Name
Definition: qtrplstrgrad.h:41
virtual const char * giveInputRecordName() const
Definition: qtrplstrgrad.h:57
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 void computeNkappaMatrixAt(GaussPoint *gp, FloatArray &answer)
Definition: qtrplstrgrad.C:98
virtual int computeNumberOfDofs()
Computes or simply returns total number of element's local DOFs.
Definition: qtrplstrgrad.h:61
Class representing the general Input Record.
Definition: inputrecord.h:101
virtual void giveDofManDofIDMask(int inode, IntArray &answer) const
Returns dofmanager dof mask for node.
Definition: qtrplstrgrad.C:69
virtual IRResultType initializeFrom(InputRecord *ir)
Definition: qtrplstrgrad.C:81
virtual StructuralElement * giveStructuralElement()
Definition: qtrplstrgrad.h:71
QTrPlaneStressGrad(int n, Domain *d)
Definition: qtrplstrgrad.C:54
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
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:30 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011