OOFEM 3.0
Loading...
Searching...
No Matches
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 - 2025 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
39
40#define _IFT_IntElLine2_Name "intelline2"
41#define _IFT_IntElLine2_LinearTraction "linear"
42
43namespace oofem {
44class FEI2dLineQuad;
45class ParamKey;
46
53class IntElLine2 : public IntElLine1
54{
55protected:
58
60
61public:
62 IntElLine2(int n, Domain * d);
63 virtual ~IntElLine2() { }
64 FEInterpolation *giveInterpolation() const override;
65 int computeNumberOfDofs() override { return 12; }
66 void initializeFrom(InputRecord &ir, int priority) override;
67
68 // definition & identification
69 const char *giveInputRecordName() const override { return _IFT_IntElLine2_Name; }
70 const char *giveClassName() const override { return "IntElLine2"; }
71
72#ifdef __OOFEG
73 void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep) override;
75 void drawScalar(oofegGraphicContext &gc, TimeStep *tStep) override;
76#endif
77
78protected:
79 void computeNmatrixAt(GaussPoint *gp, FloatMatrix &answer) override;
80 void computeGaussPoints() override;
81
82 Element_Geometry_Type giveGeometryType() const override { return EGT_quad_21_interface; }
83
85 bool linear;
86};
87} // end namespace oofem
88#endif
IntElLine1(int n, Domain *d)
Definition intelline1.C:63
void computeGaussPoints() override
Definition intelline2.C:103
void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType) override
Definition intelline2.C:166
void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep) override
Definition intelline2.C:131
IntElLine2(int n, Domain *d)
Definition intelline2.C:62
void computeNmatrixAt(GaussPoint *gp, FloatMatrix &answer) override
Definition intelline2.C:71
static FEI2dLineQuad interp
Definition intelline2.h:56
void initializeFrom(InputRecord &ir, int priority) override
Definition intelline2.C:121
FEInterpolation * giveInterpolation() const override
Definition intelline2.C:114
void drawScalar(oofegGraphicContext &gc, TimeStep *tStep) override
Definition intelline2.C:202
static ParamKey IPK_IntElLine2_LinearTraction
Definition intelline2.h:59
const char * giveInputRecordName() const override
Definition intelline2.h:69
Element_Geometry_Type giveGeometryType() const override
Definition intelline2.h:82
int computeNumberOfDofs() override
Definition intelline2.h:65
bool linear
If linear interpolation should be used.
Definition intelline2.h:85
const char * giveClassName() const override
Definition intelline2.h:70
virtual ~IntElLine2()
Definition intelline2.h:63
static FEI2dLineLin interpLin
Definition intelline2.h:57
#define _IFT_IntElLine2_Name
Definition intelline2.h:40
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]

This page is part of the OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak Bořek Patzák
Project e-mail: oofem@fsv.cvut.cz
Generated at for OOFEM by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2011