OOFEM 3.0
Loading...
Searching...
No Matches
interfaceelem2dlin.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 interfaceelem2dlin_h
36#define interfaceelem2dlin_h
37
39
40#define _IFT_InterfaceElem2dLin_Name "interface2dlin"
41#define _IFT_InterfaceElem2dLin_axisymmode "axisymmode"
42
43namespace oofem {
44class ParamKey;
45class FEI2dLineLin;
46
52{
53protected:
57
59
60public:
61 InterfaceElem2dLin(int n, Domain * d);
62 virtual ~InterfaceElem2dLin() { }
63
64 FEInterpolation *giveInterpolation() const override;
65
66 int computeNumberOfDofs() override { return 8; }
67 void giveDofManDofIDMask(int inode, IntArray &answer) const override;
68 Element_Geometry_Type giveGeometryType() const override {return EGT_line_1;}
69
70
71 double computeVolumeAround(GaussPoint *gp) override;
72
73
74 int testElementExtension(ElementExtension ext) override { return 0; }
75
76#ifdef __OOFEG
77 void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep) override;
79 void drawScalar(oofegGraphicContext &gc, TimeStep *tStep) override;
80#endif
81
82 // definition & identification
83 const char *giveInputRecordName() const override { return _IFT_InterfaceElem2dLin_Name; }
84 const char *giveClassName() const override { return "InterfaceElem2dLin"; }
85 void initializeFrom(InputRecord &ir, int priority) override;
86 void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) override;
87 void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override;
88 MaterialMode giveMaterialMode() override { return _2dInterface; }
89
90protected:
91 void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int = 1, int = ALL_STRAINS) override;
92 void computeNmatrixAt(const FloatArray &iLocCoord, FloatMatrix &answer) override { }
93 void computeGaussPoints() override;
94
95 bool computeGtoLRotationMatrix(FloatMatrix &answer) override;
96};
97} // end namespace oofem
98#endif // interfaceelem2dlin_h
const char * giveInputRecordName() const override
void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep) override
void computeNmatrixAt(const FloatArray &iLocCoord, FloatMatrix &answer) override
void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType) override
static ParamKey IPK_InterfaceElem2dLin_axisymmode
void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int=1, int=ALL_STRAINS) override
const char * giveClassName() const override
FEInterpolation * giveInterpolation() const override
double computeVolumeAround(GaussPoint *gp) override
bool computeGtoLRotationMatrix(FloatMatrix &answer) override
int testElementExtension(ElementExtension ext) override
void giveDofManDofIDMask(int inode, IntArray &answer) const override
void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override
void drawScalar(oofegGraphicContext &gc, TimeStep *tStep) override
void initializeFrom(InputRecord &ir, int priority) override
Element_Geometry_Type giveGeometryType() const override
MaterialMode giveMaterialMode() override
void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) override
InterfaceElem2dLin(int n, Domain *d)
bool axisymmode
Flag controlling axisymmetric mode (integration over unit circumferential angle).
StructuralElement(int n, Domain *d)
#define _IFT_InterfaceElem2dLin_Name
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]
#define ALL_STRAINS

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