OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
qwedgegrad.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 qwedgegrad_h
36 #define qwedgegrad_h
37 
38 #include "../sm/Elements/3D/qwedge.h"
39 #include "../sm/Elements/graddpelement.h"
40 
41 #define _IFT_QWedgeGrad_Name "qwedgegrad"
42 
43 namespace oofem {
44 class FEI3dWedgeLin;
45 
50 class QWedgeGrad : public QWedge, public GradDpElement
51 {
52 protected:
54 
55 public:
56  QWedgeGrad(int, Domain *);
57  virtual ~QWedgeGrad() { }
58 
60  virtual void giveDofManDofIDMask(int inode, IntArray &answer) const;
61 
62  // definition & identification
63  virtual const char *giveInputRecordName() const { return _IFT_QWedgeGrad_Name; }
64  virtual const char *giveClassName() const { return "QWedgeGrad"; }
65  virtual int computeNumberOfDofs() { return 51; }
66  virtual MaterialMode giveMaterialMode() { return _3dMat; }
67 
68 protected:
69  virtual void computeGaussPoints();
70  virtual void computeNkappaMatrixAt(GaussPoint *gp, FloatArray &answer);
71  virtual void computeBkappaMatrixAt(GaussPoint *gp, FloatMatrix &answer);
72  virtual StructuralElement *giveStructuralElement() { return this; }
73  virtual NLStructuralElement *giveNLStructuralElement() { return this; }
74 
75  virtual void giveInternalForcesVector(FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord = 0) { GradDpElement :: giveInternalForcesVector(answer, tStep, useUpdatedGpRecord); }
76  virtual void computeStiffnessMatrix(FloatMatrix &answer, MatResponseMode rMode, TimeStep *tStep) { GradDpElement :: computeStiffnessMatrix(answer, rMode, tStep); }
77 
78 };
79 }
80 #endif // end namespace oofem
virtual void computeStiffnessMatrix(FloatMatrix &answer, MatResponseMode rMode, TimeStep *tStep)
Computes the stiffness matrix of receiver.
Definition: qwedgegrad.h:76
Class representing implementation of linear wedge interpolation class.
Definition: fei3dwedgelin.h:48
Class and object Domain.
Definition: domain.h:115
QWedgeGrad(int, Domain *)
Definition: qwedgegrad.C:58
virtual NLStructuralElement * giveNLStructuralElement()
Definition: qwedgegrad.h:73
void computeStiffnessMatrix(FloatMatrix &, MatResponseMode, TimeStep *)
Abstract base class for "structural" finite elements with geometrical nonlinearities.
static FEI3dWedgeLin interpolation_lin
Definition: qwedgegrad.h:53
void giveInternalForcesVector(FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord)
virtual void computeNkappaMatrixAt(GaussPoint *gp, FloatArray &answer)
Definition: qwedgegrad.C:104
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 MaterialMode giveMaterialMode()
Returns material mode for receiver integration points.
Definition: qwedgegrad.h:66
Abstract class for gradient formulation of coupled damage-plasticity model(GradDp).
Definition: graddpelement.h:48
virtual StructuralElement * giveStructuralElement()
Definition: qwedgegrad.h:72
Abstract base class for all "structural" finite elements.
virtual const char * giveInputRecordName() const
Definition: qwedgegrad.h:63
virtual void giveInternalForcesVector(FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord=0)
Evaluates nodal representation of real internal forces.
Definition: qwedgegrad.h:75
virtual void computeBkappaMatrixAt(GaussPoint *gp, FloatMatrix &answer)
Definition: qwedgegrad.C:110
virtual ~QWedgeGrad()
Definition: qwedgegrad.h:57
virtual int computeNumberOfDofs()
Computes or simply returns total number of element's local DOFs.
Definition: qwedgegrad.h:65
Class representing vector of real numbers.
Definition: floatarray.h:82
Quadratic 3D element.
Definition: qwedgegrad.h:50
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: qwedgegrad.h:64
Class representing the general Input Record.
Definition: inputrecord.h:101
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
Definition: qwedgegrad.C:72
virtual void computeGaussPoints()
Initializes the array of integration rules member variable.
Definition: qwedgegrad.C:94
#define _IFT_QWedgeGrad_Name
Definition: qwedgegrad.h:41
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 void giveDofManDofIDMask(int inode, IntArray &answer) const
Returns dofmanager dof mask for node.
Definition: qwedgegrad.C:80
Class representing solution step.
Definition: timestep.h:80
This class implements an Quadratic 3d 15 - node structural finite element.
Definition: qwedge.h:55

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