OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
intelline1.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 intelline1_h
36 #define intelline1_h
37 
38 #include "../sm/Elements/Interfaces/structuralinterfaceelement.h"
39 
40 #define _IFT_IntElLine1_Name "intelline1"
41 #define _IFT_IntElLine1_axisymmode "axisymmode"
42 
43 namespace oofem {
44 class FEI2dLineLin;
45 
56 {
57 protected:
60  bool axisymmode;
61 
62 public:
63  IntElLine1(int n, Domain * d);
64  virtual ~IntElLine1() { }
65 
66  virtual FEInterpolation *giveInterpolation() const;
67 
68  virtual int computeNumberOfDofs() { return 8; }
69  virtual void giveDofManDofIDMask(int inode, IntArray &answer) const;
70 
71  virtual double computeAreaAround(GaussPoint *gp);
72  virtual void computeTransformationMatrixAt(GaussPoint *gp, FloatMatrix &answer);
73  virtual void computeCovarBaseVectorAt(GaussPoint *gp, FloatArray &G);
74 
75  virtual int testElementExtension(ElementExtension ext) { return 0; }
76 
77  //virtual Interface *giveInterface(InterfaceType) { return NULL; }
78 
79  // definition & identification
80  virtual const char *giveInputRecordName() const { return _IFT_IntElLine1_Name; }
81  virtual const char *giveClassName() const { return "IntElLine1"; }
83 
84  virtual void giveEngTraction(FloatArray &answer, GaussPoint *gp, const FloatArray &jump, TimeStep *tStep)
85  {
86  this->giveInterfaceCrossSection()->giveEngTraction_2d(answer, gp, jump, tStep);
87  }
88 
90  {
91  this->giveInterfaceCrossSection()->give2dStiffnessMatrix_Eng(answer, rMode, ip, tStep);
92  }
93 
94  #ifdef __OOFEG
95  virtual void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep);
97  virtual void drawScalar(oofegGraphicContext &gc, TimeStep *tStep);
98  #endif
99 
100 protected:
101  virtual void computeNmatrixAt(GaussPoint *gp, FloatMatrix &answer);
102  virtual void computeGaussPoints();
103 
104  Element_Geometry_Type giveGeometryType() const { return EGT_quad_1_interface; }
105 };
106 } // end namespace oofem
107 #endif
Class and object Domain.
Definition: domain.h:115
virtual void drawScalar(oofegGraphicContext &gc, TimeStep *tStep)
Definition: intelline1.C:286
Element_Geometry_Type
Enumerative type used to classify element geometry Possible values are: EGT_point - point in space EG...
bool axisymmode
Flag controlling axisymmetric mode (integration over unit circumferential angle)
Definition: intelline1.h:60
virtual int testElementExtension(ElementExtension ext)
Tests if the element implements required extension.
Definition: intelline1.h:75
virtual void computeTransformationMatrixAt(GaussPoint *gp, FloatMatrix &answer)
Definition: intelline1.C:197
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]
Element_Geometry_Type giveGeometryType() const
Returns the element geometry type.
Definition: intelline1.h:104
virtual void computeNmatrixAt(GaussPoint *gp, FloatMatrix &answer)
Computes modified interpolation matrix (N) for the element which multiplied with the unknowns vector ...
Definition: intelline1.C:70
static FEI2dLineLin interp
Definition: intelline1.h:58
virtual const char * giveInputRecordName() const
Definition: intelline1.h:80
IntElLine1(int n, Domain *d)
Definition: intelline1.C:59
virtual double computeAreaAround(GaussPoint *gp)
Definition: intelline1.C:121
Class implementing an array of integers.
Definition: intarray.h:61
MatResponseMode
Describes the character of characteristic material matrix.
virtual void computeGaussPoints()
Initializes the array of integration rules member variable.
Definition: intelline1.C:89
Class representing a general abstraction for finite element interpolation class.
Definition: feinterpol.h:132
#define _IFT_IntElLine1_Name
Definition: intelline1.h:40
virtual FEInterpolation * giveInterpolation() const
Definition: intelline1.C:218
virtual void giveEngTraction(FloatArray &answer, GaussPoint *gp, const FloatArray &jump, TimeStep *tStep)
Definition: intelline1.h:84
ElementExtension
Type representing element extension.
virtual void giveStiffnessMatrix_Eng(FloatMatrix &answer, MatResponseMode rMode, IntegrationPoint *ip, TimeStep *tStep)
Definition: intelline1.h:89
UnknownType
Type representing particular unknown (its physical meaning).
Definition: unknowntype.h:55
virtual void computeCovarBaseVectorAt(GaussPoint *gp, FloatArray &G)
Definition: intelline1.C:104
Class representing a 2d line with linear interpolation.
Definition: fei2dlinelin.h:46
virtual const char * giveClassName() const
Definition: intelline1.h:81
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
void give2dStiffnessMatrix_Eng(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep)
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: intelline1.C:191
virtual int computeNumberOfDofs()
Computes or simply returns total number of element's local DOFs.
Definition: intelline1.h:68
This class implements a two dimensional interface element.
Definition: intelline1.h:55
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
Definition: intelline1.C:148
Abstract base class for all structural interface elements.
void giveEngTraction_2d(FloatArray &answer, GaussPoint *gp, const FloatArray &jump, TimeStep *tStep)
the oofem namespace is to define a context or scope in which all oofem names are defined.
virtual ~IntElLine1()
Definition: intelline1.h:64
virtual void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType)
Definition: intelline1.C:250
Class representing integration point in finite element program.
Definition: gausspoint.h:93
Class representing solution step.
Definition: timestep.h:80
virtual void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep)
Definition: intelline1.C:225
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