OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
intelline1phf.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 intelline1phf_h
36 #define intelline1phf_h
37 
39 
40 #define _IFT_IntElLine1PhF_Name "intelline1phf"
41 #define _IFT_IntElLine1PhF_axisymmode "axisymmode"
42 
43 namespace oofem {
44 class FEI2dLineLin;
45 
51 {
52 protected:
55  bool axisymmode;
56 
57 public:
58  IntElLine1PhF(int n, Domain * d);
59  virtual ~IntElLine1PhF() { }
60 
61  virtual FEInterpolation *giveInterpolation() const;
62 
63  //virtual int computeNumberOfDofs() { return 8; }
64  virtual void giveDofManDofIDMask(int inode, IntArray &answer) const;
65 
66  virtual double computeAreaAround(GaussPoint *gp);
67  virtual void computeTransformationMatrixAt(GaussPoint *gp, FloatMatrix &answer);
68  virtual void computeCovarBaseVectorAt(GaussPoint *gp, FloatArray &G);
69 
70  virtual int testElementExtension(ElementExtension ext) { return 0; }
71 
72  // definition & identification
73  virtual const char *giveInputRecordName() const { return _IFT_IntElLine1PhF_Name; }
74  virtual const char *giveClassName() const { return "IntElLine1PhF"; }
76 
77  //virtual void giveEngTraction(FloatArray &answer, GaussPoint *gp, const FloatArray &jump, TimeStep *tStep);
78  virtual void giveEngTraction(FloatArray &answer, GaussPoint *gp, const FloatArray &jump, const double damage, TimeStep *tStep);
79 
81  {
82  this->giveInterfaceCrossSection()->give2dStiffnessMatrix_Eng(answer, rMode, ip, tStep);
83  }
84 
85 
86  virtual void giveDofManDofIDMask_u(IntArray &answer);
87  virtual void giveDofManDofIDMask_d(IntArray &answer);
88  virtual void getLocationArray_u( IntArray &answer );
89  virtual void getLocationArray_d( IntArray &answer );
90  virtual void computeCovarBaseVectorsAt(GaussPoint *gp, FloatMatrix &G);
91 
92 protected:
93  virtual void computeNmatrixAt(GaussPoint *gp, FloatMatrix &answer);
94  virtual void computeGaussPoints();
95 
96  Element_Geometry_Type giveGeometryType() const { return EGT_quad_1_interface; };
97 };
98 } // end namespace oofem
99 #endif
virtual void giveEngTraction(FloatArray &answer, GaussPoint *gp, const FloatArray &jump, const double damage, TimeStep *tStep)
Class and object Domain.
Definition: domain.h:115
virtual void computeCovarBaseVectorsAt(GaussPoint *gp, FloatMatrix &G)
Element_Geometry_Type
Enumerative type used to classify element geometry Possible values are: EGT_point - point in space EG...
virtual void getLocationArray_d(IntArray &answer)
virtual void giveDofManDofIDMask(int inode, IntArray &answer) const
Returns dofmanager dof mask for node.
virtual FEInterpolation * giveInterpolation() const
static FEI2dLineLin interp
Definition: intelline1phf.h:53
virtual void giveDofManDofIDMask_d(IntArray &answer)
virtual void computeTransformationMatrixAt(GaussPoint *gp, FloatMatrix &answer)
virtual void giveDofManDofIDMask_u(IntArray &answer)
Class implementing an array of integers.
Definition: intarray.h:61
MatResponseMode
Describes the character of characteristic material matrix.
virtual void computeNmatrixAt(GaussPoint *gp, FloatMatrix &answer)
Computes modified interpolation matrix (N) for the element which multiplied with the unknowns vector ...
Definition: intelline1phf.C:65
virtual void computeGaussPoints()
Initializes the array of integration rules member variable.
Definition: intelline1phf.C:84
Class representing a general abstraction for finite element interpolation class.
Definition: feinterpol.h:132
virtual ~IntElLine1PhF()
Definition: intelline1phf.h:59
virtual void getLocationArray_u(IntArray &answer)
ElementExtension
Type representing element extension.
virtual void computeCovarBaseVectorAt(GaussPoint *gp, FloatArray &G)
Definition: intelline1phf.C:96
Class representing a 2d line with linear interpolation.
Definition: fei2dlinelin.h:46
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
Element_Geometry_Type giveGeometryType() const
Returns the element geometry type.
Definition: intelline1phf.h:96
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
IntElLine1PhF(int n, Domain *d)
Definition: intelline1phf.C:55
virtual const char * giveClassName() const
Definition: intelline1phf.h:74
#define _IFT_IntElLine1PhF_Name
Definition: intelline1phf.h:40
void give2dStiffnessMatrix_Eng(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep)
Class representing the general Input Record.
Definition: inputrecord.h:101
bool axisymmode
Flag controlling axisymmetric mode (integration over unit circumferential angle)
Definition: intelline1phf.h:55
virtual int testElementExtension(ElementExtension ext)
Tests if the element implements required extension.
Definition: intelline1phf.h:70
virtual double computeAreaAround(GaussPoint *gp)
virtual void giveStiffnessMatrix_Eng(FloatMatrix &answer, MatResponseMode rMode, IntegrationPoint *ip, TimeStep *tStep)
Definition: intelline1phf.h:80
the oofem namespace is to define a context or scope in which all oofem names are defined.
virtual const char * giveInputRecordName() const
Definition: intelline1phf.h:73
Class representing integration point in finite element program.
Definition: gausspoint.h:93
Interface element class with phase field (PhF) modeling of damage.
Class representing solution step.
Definition: timestep.h:80
StructuralInterfaceCrossSection * giveInterfaceCrossSection()

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