OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
qtrspacegrad.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 qtrspacegrad_h
36 #define qtrspacegrad_h
37 
38 #include "../sm/Elements/3D/qtrspace.h"
39 #include "../sm/Elements/graddpelement.h"
40 
41 #define _IFT_QTRSpaceGrad_Name "qtrspacegrad"
42 
43 namespace oofem {
44 class FEI3dTetLin;
45 
50 class QTRSpaceGrad : public QTRSpace, public GradDpElement
51 {
52 protected:
54 
55 public:
56  QTRSpaceGrad(int, Domain *);
57  virtual ~QTRSpaceGrad() { }
58 
60  virtual void giveDofManDofIDMask(int inode, IntArray &answer) const;
61 
62  // definition & identification
63  virtual const char *giveInputRecordName() const { return _IFT_QTRSpaceGrad_Name; }
64  virtual const char *giveClassName() const { return "QTRSpaceGrad"; }
65  virtual int computeNumberOfDofs() { return 34; }
66 
67 protected:
69  void computeGaussPoints();
70  void computeNkappaMatrixAt(GaussPoint *gp, FloatArray &answer);
71  void computeBkappaMatrixAt(GaussPoint *gp, FloatMatrix &answer);
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 #endif // end namespace oofem
Class and object Domain.
Definition: domain.h:115
void computeStiffnessMatrix(FloatMatrix &, MatResponseMode, TimeStep *)
Abstract base class for "structural" finite elements with geometrical nonlinearities.
#define _IFT_QTRSpaceGrad_Name
Definition: qtrspacegrad.h:41
Class representing implementation of linear tetrahedra interpolation class.
Definition: fei3dtetlin.h:44
void giveInternalForcesVector(FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord)
virtual void giveDofManDofIDMask(int inode, IntArray &answer) const
Returns dofmanager dof mask for node.
Definition: qtrspacegrad.C:80
Class implementing an array of integers.
Definition: intarray.h:61
MatResponseMode
Describes the character of characteristic material matrix.
virtual void giveInternalForcesVector(FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord=0)
Evaluates nodal representation of real internal forces.
Definition: qtrspacegrad.h:75
void computeNkappaMatrixAt(GaussPoint *gp, FloatArray &answer)
Definition: qtrspacegrad.C:100
StructuralElement * giveStructuralElement()
Definition: qtrspacegrad.h:72
Abstract class for gradient formulation of coupled damage-plasticity model(GradDp).
Definition: graddpelement.h:48
virtual int computeNumberOfDofs()
Computes or simply returns total number of element's local DOFs.
Definition: qtrspacegrad.h:65
Abstract base class for all "structural" finite elements.
void computeGaussPoints()
Initializes the array of integration rules member variable.
Definition: qtrspacegrad.C:90
void computeBkappaMatrixAt(GaussPoint *gp, FloatMatrix &answer)
Definition: qtrspacegrad.C:106
QTRSpaceGrad(int, Domain *)
Definition: qtrspacegrad.C:58
Quadratic 3D element.
Definition: qtrspacegrad.h:50
virtual void computeStiffnessMatrix(FloatMatrix &answer, MatResponseMode rMode, TimeStep *tStep)
Computes the stiffness matrix of receiver.
Definition: qtrspacegrad.h:76
Class representing vector of real numbers.
Definition: floatarray.h:82
This class implements an Quadratic 3d 10 - node elasticity finite element.
Definition: qtrspace.h:60
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 const char * giveClassName() const
Definition: qtrspacegrad.h:64
NLStructuralElement * giveNLStructuralElement()
Definition: qtrspacegrad.h:73
virtual ~QTRSpaceGrad()
Definition: qtrspacegrad.h:57
static FEI3dTetLin interpolation_lin
Definition: qtrspacegrad.h:53
the oofem namespace is to define a context or scope in which all oofem names are defined.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
Definition: qtrspacegrad.C:72
Class representing integration point in finite element program.
Definition: gausspoint.h:93
Class representing solution step.
Definition: timestep.h:80
virtual const char * giveInputRecordName() const
Definition: qtrspacegrad.h:63

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