OOFEM 3.0
Loading...
Searching...
No Matches
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 - 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 intelline1_h
36#define intelline1_h
37
39#include "floatmatrixf.h"
41
42#define _IFT_IntElLine1_Name "intelline1"
43#define _IFT_IntElLine1_axisymmode "axisymmode"
44
45namespace oofem {
46class FEI2dLineLin;
47class ParamKey;
48
59{
60protected:
63 bool axisymmode = false;
64
66
67public:
68 IntElLine1(int n, Domain * d);
69
70 FEInterpolation *giveInterpolation() const override;
71
72 int computeNumberOfDofs() override { return 8; }
73 void giveDofManDofIDMask(int inode, IntArray &answer) const override;
74
75 double computeAreaAround(GaussPoint *gp) override;
76 void computeTransformationMatrixAt(GaussPoint *gp, FloatMatrix &answer) override;
78
79 int testElementExtension(ElementExtension ext) override { return 0; }
80
81 Interface *giveInterface(InterfaceType interface) override;
83 InternalStateType type, TimeStep *tStep) override;
84 // definition & identification
85 const char *giveInputRecordName() const override { return _IFT_IntElLine1_Name; }
86 const char *giveClassName() const override { return "IntElLine1"; }
87 void initializeFrom(InputRecord &ir, int priority) override;
88 void postInitialize() override;
89
90 void giveEngTraction(FloatArray &answer, GaussPoint *gp, const FloatArray &jump, TimeStep *tStep) override
91 {
92 answer = this->giveInterfaceCrossSection()->giveEngTraction_2d(jump, gp, tStep);
93 }
94
95 void giveStiffnessMatrix_Eng(FloatMatrix &answer, MatResponseMode rMode, IntegrationPoint *ip, TimeStep *tStep) override
96 {
97 answer = this->giveInterfaceCrossSection()->give2dStiffnessMatrix_Eng(rMode, ip, tStep);
98 }
99
100#ifdef __OOFEG
101 void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep) override;
103 void drawScalar(oofegGraphicContext &gc, TimeStep *tStep) override;
104#endif
105
106protected:
107 void computeNmatrixAt(GaussPoint *gp, FloatMatrix &answer) override;
108 void computeGaussPoints() override;
109
110 Element_Geometry_Type giveGeometryType() const override { return EGT_line_1; }
111};
112} // end namespace oofem
113#endif
double computeAreaAround(GaussPoint *gp) override
Definition intelline1.C:120
virtual FloatArrayF< 2 > computeCovarBaseVectorAt(GaussPoint *gp) const
Definition intelline1.C:102
int testElementExtension(ElementExtension ext) override
Definition intelline1.h:79
static ParamKey IPK_IntElLine1_axisymmode
Definition intelline1.h:65
const char * giveClassName() const override
Definition intelline1.h:86
int computeNumberOfDofs() override
Definition intelline1.h:72
void giveStiffnessMatrix_Eng(FloatMatrix &answer, MatResponseMode rMode, IntegrationPoint *ip, TimeStep *tStep) override
Definition intelline1.h:95
void drawScalar(oofegGraphicContext &gc, TimeStep *tStep) override
Definition intelline1.C:319
void computeTransformationMatrixAt(GaussPoint *gp, FloatMatrix &answer) override
Definition intelline1.C:189
Element_Geometry_Type giveGeometryType() const override
Definition intelline1.h:110
void NodalAveragingRecoveryMI_computeNodalValue(FloatArray &answer, int node, InternalStateType type, TimeStep *tStep) override
Definition intelline1.C:224
bool axisymmode
Flag controlling axisymmetric mode (integration over unit circumferential angle).
Definition intelline1.h:63
void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep) override
Definition intelline1.C:258
void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType) override
Definition intelline1.C:283
void giveEngTraction(FloatArray &answer, GaussPoint *gp, const FloatArray &jump, TimeStep *tStep) override
Definition intelline1.h:90
Interface * giveInterface(InterfaceType interface) override
Definition intelline1.C:215
void computeNmatrixAt(GaussPoint *gp, FloatMatrix &answer) override
Definition intelline1.C:72
IntElLine1(int n, Domain *d)
Definition intelline1.C:63
void giveDofManDofIDMask(int inode, IntArray &answer) const override
Definition intelline1.C:183
void initializeFrom(InputRecord &ir, int priority) override
Definition intelline1.C:144
static FEI2dLineLin interp
Definition intelline1.h:61
void computeGaussPoints() override
Definition intelline1.C:88
FEInterpolation * giveInterpolation() const override
Definition intelline1.C:209
const char * giveInputRecordName() const override
Definition intelline1.h:85
void postInitialize() override
Performs post initialization steps.
Definition intelline1.C:151
FloatMatrixF< 2, 2 > give2dStiffnessMatrix_Eng(MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) const
FloatArrayF< 2 > giveEngTraction_2d(const FloatArrayF< 2 > &jump, GaussPoint *gp, TimeStep *tStep) const
StructuralInterfaceCrossSection * giveInterfaceCrossSection()
#define _IFT_IntElLine1_Name
Definition intelline1.h:42
GaussPoint IntegrationPoint
Definition gausspoint.h:272
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