OOFEM 3.0
Loading...
Searching...
No Matches
interfaceelem2dquad.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 interfaceelem2dquad_h
36#define interfaceelem2dquad_h
37
39
40#define _IFT_InterfaceElem2dQuad_Name "interface2dquad"
41#define _IFT_InterfaceElem2dQuad_axisymmode "axisymmode"
42
43namespace oofem {
44class ParamKey;
45class FEI2dLineQuad;
46
54{
55protected:
59
61
62public:
63 InterfaceElem2dQuad(int n, Domain * d);
65
66 FEInterpolation *giveInterpolation() const override;
67
68 int computeNumberOfDofs() override { return 12; }
69 void giveDofManDofIDMask(int inode, IntArray &answer) const override;
70
71 double computeVolumeAround(GaussPoint *gp) override;
72
73
74 int testElementExtension(ElementExtension ext) override { return 0; }
75
76 Interface *giveInterface(InterfaceType) override { return NULL; }
77 Element_Geometry_Type giveGeometryType() const override {return EGT_line_2;}
78
79
80#ifdef __OOFEG
81 void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep) override;
83 void drawScalar(oofegGraphicContext &gc, TimeStep *tStep) override;
84#endif
85
86 // definition & identification
87 const char *giveInputRecordName() const override { return _IFT_InterfaceElem2dQuad_Name; }
88 const char *giveClassName() const override { return "InterfaceElem2dQuad"; }
89 void initializeFrom(InputRecord &ir, int priority) override;
90 void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) override;
91 void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override;
92 MaterialMode giveMaterialMode() override { return _2dInterface; }
93
94protected:
95 void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int = 1, int = ALL_STRAINS) override;
96 void computeNmatrixAt(const FloatArray &iLocCoord, FloatMatrix &answer) override { }
97 void computeGaussPoints() override;
98
99 bool computeGtoLRotationMatrix(FloatMatrix &answer) override;
100};
101} // end namespace oofem
102#endif // interfaceelem2dquad_h
bool computeGtoLRotationMatrix(FloatMatrix &answer) override
void giveDofManDofIDMask(int inode, IntArray &answer) const override
void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType) override
void initializeFrom(InputRecord &ir, int priority) override
void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int=1, int=ALL_STRAINS) override
int testElementExtension(ElementExtension ext) override
Interface * giveInterface(InterfaceType) override
static ParamKey IPK_InterfaceElem2dQuad_axisymmode
bool axisymmode
Flag controlling axisymmetric mode (integration over unit circumferential angle).
void drawScalar(oofegGraphicContext &gc, TimeStep *tStep) override
void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) override
MaterialMode giveMaterialMode() override
void computeNmatrixAt(const FloatArray &iLocCoord, FloatMatrix &answer) override
void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep) override
InterfaceElem2dQuad(int n, Domain *d)
FEInterpolation * giveInterpolation() const override
double computeVolumeAround(GaussPoint *gp) override
void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override
Element_Geometry_Type giveGeometryType() const override
const char * giveInputRecordName() const override
const char * giveClassName() const override
StructuralElement(int n, Domain *d)
#define _IFT_InterfaceElem2dQuad_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