OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
intelline2.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 intelline2_h
36 #define intelline2_h
37 
38 #include "../sm/Elements/Interfaces/intelline1.h"
39 
40 #define _IFT_IntElLine2_Name "intelline2"
41 #define _IFT_IntElLine2_LinearTraction "linear"
42 
43 namespace oofem {
44 class FEI2dLineQuad;
45 
52 class IntElLine2 : public IntElLine1
53 {
54 protected:
57 
58 public:
59  IntElLine2(int n, Domain * d);
60  virtual ~IntElLine2() { }
61  virtual FEInterpolation *giveInterpolation() const;
62  virtual int computeNumberOfDofs() { return 12; }
64 
65  // definition & identification
66  virtual const char *giveInputRecordName() const { return _IFT_IntElLine2_Name; }
67  virtual const char *giveClassName() const { return "IntElLine2"; }
68 
69  #ifdef __OOFEG
70  virtual void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep);
72  virtual void drawScalar(oofegGraphicContext &gc, TimeStep *tStep);
73  #endif
74 
75 protected:
76  virtual void computeNmatrixAt(GaussPoint *gp, FloatMatrix &answer);
77  virtual void computeGaussPoints();
78 
79  Element_Geometry_Type giveGeometryType() const { return EGT_quad_21_interface; }
80 
82  bool linear;
83 
84 };
85 } // end namespace oofem
86 #endif
This class implements a two dimensional interface element and is simply an extension of IntElLine1 to...
Definition: intelline2.h:52
virtual void computeGaussPoints()
Initializes the array of integration rules member variable.
Definition: intelline2.C:102
Class and object Domain.
Definition: domain.h:115
Element_Geometry_Type
Enumerative type used to classify element geometry Possible values are: EGT_point - point in space EG...
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]
#define _IFT_IntElLine2_Name
Definition: intelline2.h:40
Class representing a 2d line quadratic interpolation.
Definition: fei2dlinequad.h:46
virtual const char * giveInputRecordName() const
Definition: intelline2.h:66
virtual void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType)
Definition: intelline2.C:165
static FEI2dLineLin interpLin
Definition: intelline2.h:56
Class representing a general abstraction for finite element interpolation class.
Definition: feinterpol.h:132
IntElLine2(int n, Domain *d)
Definition: intelline2.C:58
UnknownType
Type representing particular unknown (its physical meaning).
Definition: unknowntype.h:55
Element_Geometry_Type giveGeometryType() const
Returns the element geometry type.
Definition: intelline2.h:79
virtual void drawScalar(oofegGraphicContext &gc, TimeStep *tStep)
Definition: intelline2.C:201
Class representing a 2d line with linear interpolation.
Definition: fei2dlinelin.h:46
virtual FEInterpolation * giveInterpolation() const
Definition: intelline2.C:114
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
bool linear
If linear interpolation should be used.
Definition: intelline2.h:82
This class implements a two dimensional interface element.
Definition: intelline1.h:55
virtual void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep)
Definition: intelline2.C:130
static FEI2dLineQuad interp
Definition: intelline2.h:55
virtual const char * giveClassName() const
Definition: intelline2.h:67
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: intelline2.C:121
Class representing integration point in finite element program.
Definition: gausspoint.h:93
Class representing solution step.
Definition: timestep.h:80
virtual int computeNumberOfDofs()
Computes or simply returns total number of element's local DOFs.
Definition: intelline2.h:62
virtual ~IntElLine2()
Definition: intelline2.h:60
virtual void computeNmatrixAt(GaussPoint *gp, FloatMatrix &answer)
Computes modified interpolation matrix (N) for the element which multiplied with the unknowns vector ...
Definition: intelline2.C:68

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