OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
qspacegrad.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 qspacegrad_h
36 #define qspacegrad_h
37 
38 #include "../sm/Elements/3D/qspace.h"
39 #include "../sm/Elements/graddpelement.h"
40 
41 #define _IFT_QSpaceGrad_Name "qspacegrad"
42 
43 namespace oofem {
44 class FEI3dHexaLin;
45 
51 class QSpaceGrad : public QSpace, public GradDpElement
52 {
53 protected:
55 
56 public:
57  QSpaceGrad(int n, Domain * d);
58  virtual ~QSpaceGrad() { }
59 
61  virtual void giveDofManDofIDMask(int inode, IntArray &answer) const;
62 
63  // definition & identification
64  virtual const char *giveInputRecordName() const { return _IFT_QSpaceGrad_Name; }
65  virtual const char *giveClassName() const { return "QSpaceGrad"; }
66  virtual int computeNumberOfDofs() { return 68; }
67  virtual MaterialMode giveMaterialMode() { return _3dMat; }
68 
69 protected:
70  virtual void computeGaussPoints();
71  virtual void computeNkappaMatrixAt(GaussPoint *gp, FloatArray &answer);
72  virtual void computeBkappaMatrixAt(GaussPoint *gp, FloatMatrix &answer);
73  virtual StructuralElement *giveStructuralElement() { return this; }
74  virtual NLStructuralElement *giveNLStructuralElement() { return this; }
75 };
76 }
77 #endif // end namespace oofem
Class representing implementation of linear hexahedra interpolation class.
Definition: fei3dhexalin.h:44
virtual StructuralElement * giveStructuralElement()
Definition: qspacegrad.h:73
virtual int computeNumberOfDofs()
Computes or simply returns total number of element's local DOFs.
Definition: qspacegrad.h:66
Class and object Domain.
Definition: domain.h:115
Abstract base class for "structural" finite elements with geometrical nonlinearities.
virtual void computeGaussPoints()
Initializes the array of integration rules member variable.
Definition: qspacegrad.C:83
virtual void computeNkappaMatrixAt(GaussPoint *gp, FloatArray &answer)
Definition: qspacegrad.C:94
static FEI3dHexaLin interpolation_lin
Definition: qspacegrad.h:54
MaterialMode
Type representing material mode of integration point.
Definition: materialmode.h:89
Class implementing an array of integers.
Definition: intarray.h:61
Abstract class for gradient formulation of coupled damage-plasticity model(GradDp).
Definition: graddpelement.h:48
Quadratic 3d 20 - node element with quadratic approximation of displacements and linear approximation...
Definition: qspacegrad.h:51
virtual const char * giveInputRecordName() const
Definition: qspacegrad.h:64
Abstract base class for all "structural" finite elements.
This class implements an Quadratic 3d 20 - node element.
Definition: qspace.h:55
QSpaceGrad(int n, Domain *d)
Definition: qspacegrad.C:50
#define _IFT_QSpaceGrad_Name
Definition: qspacegrad.h:41
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
Definition: qspacegrad.C:64
virtual const char * giveClassName() const
Definition: qspacegrad.h:65
Class representing vector of real numbers.
Definition: floatarray.h:82
Implementation of matrix containing floating point numbers.
Definition: floatmatrix.h:94
virtual void giveDofManDofIDMask(int inode, IntArray &answer) const
Returns dofmanager dof mask for node.
Definition: qspacegrad.C:72
IRResultType
Type defining the return values of InputRecord reading operations.
Definition: irresulttype.h:47
virtual ~QSpaceGrad()
Definition: qspacegrad.h:58
Class representing the general Input Record.
Definition: inputrecord.h:101
virtual NLStructuralElement * giveNLStructuralElement()
Definition: qspacegrad.h:74
the oofem namespace is to define a context or scope in which all oofem names are defined.
virtual void computeBkappaMatrixAt(GaussPoint *gp, FloatMatrix &answer)
Definition: qspacegrad.C:100
Class representing integration point in finite element program.
Definition: gausspoint.h:93
virtual MaterialMode giveMaterialMode()
Returns material mode for receiver integration points.
Definition: qspacegrad.h:67

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