OOFEM 3.0
Loading...
Searching...
No Matches
interfaceelement1d.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 interfaceelement1d_h
36#define interfaceelement1d_h
37
39
41
42#define _IFT_InterfaceElem1d_Name "interface1d"
43#define _IFT_InterfaceElem1d_refnode "refnode"
44#define _IFT_InterfaceElem1d_normal "normal"
45#define _IFT_InterfaceElem1d_dofIDs "dofids"
47
48namespace oofem {
49class ParamKey;
55{
56protected:
61
65public:
66 InterfaceElem1d(int n, Domain * d);
67 virtual ~InterfaceElem1d() { }
68
69 void computeLumpedMassMatrix(FloatMatrix &answer, TimeStep *tStep) override;
70 void computeMassMatrix(FloatMatrix &answer, TimeStep *tStep) override { computeLumpedMassMatrix(answer, tStep); }
71
72 int computeGlobalCoordinates(FloatArray &answer, const FloatArray &lcoords) override;
73 bool computeLocalCoordinates(FloatArray &answer, const FloatArray &gcoords) override;
74
75 int computeNumberOfDofs() override;
76 void giveDofManDofIDMask(int inode, IntArray &answer) const override;
77
78 double computeVolumeAround(GaussPoint *gp) override;
79
80 int testElementExtension(ElementExtension ext) override { return 0; }
81
82#ifdef __OOFEG
83 void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep) override;
85 void drawScalar(oofegGraphicContext &gc, TimeStep *tStep) override;
86#endif
87
88 // definition & identification
89 const char *giveInputRecordName() const override { return _IFT_InterfaceElem1d_Name; }
90 const char *giveClassName() const override { return "InterfaceElem1d"; }
91 void initializeFrom(InputRecord &ir, int priority) override;
92 void initializeFinish() override;
93
94 Element_Geometry_Type giveGeometryType() const override { return EGT_point; }
95 integrationDomain giveIntegrationDomain() const override { return _Point; }
96 void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) override;
97 void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override;
98 MaterialMode giveMaterialMode() override;
99
100protected:
101 void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int = 1, int = ALL_STRAINS) override;
102 void computeNmatrixAt(const FloatArray &iLocCoord, FloatMatrix &answer) override { }
103 void computeGaussPoints() override;
105
107 cmode giveCoordMode() const { return this->mode; }
108 void setCoordMode();
109};
110} // end namespace oofem
111#endif // interfaceelement1d_h
int computeNumberOfDofs() override
const char * giveInputRecordName() const override
void computeMassMatrix(FloatMatrix &answer, TimeStep *tStep) override
int testElementExtension(ElementExtension ext) override
void computeLocalSlipDir(FloatArray &normal)
integrationDomain giveIntegrationDomain() const override
const char * giveClassName() const override
InterfaceElem1d(int n, Domain *d)
static ParamKey IPK_InterfaceElem1d_refnode
void initializeFrom(InputRecord &ir, int priority) override
void computeLumpedMassMatrix(FloatMatrix &answer, TimeStep *tStep) override
void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int=1, int=ALL_STRAINS) override
void computeNmatrixAt(const FloatArray &iLocCoord, FloatMatrix &answer) override
void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) override
void giveDofManDofIDMask(int inode, IntArray &answer) const override
void drawScalar(oofegGraphicContext &gc, TimeStep *tStep) override
double computeVolumeAround(GaussPoint *gp) override
void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType) override
void computeGaussPoints() override
int computeGlobalCoordinates(FloatArray &answer, const FloatArray &lcoords) override
void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep) override
void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override
bool computeLocalCoordinates(FloatArray &answer, const FloatArray &gcoords) override
MaterialMode giveMaterialMode() override
enum oofem::InterfaceElem1d::cmode mode
static ParamKey IPK_InterfaceElem1d_dofIDs
void evaluateLocalCoordinateSystem(FloatMatrix &)
void initializeFinish() override
static ParamKey IPK_InterfaceElem1d_normal
Element_Geometry_Type giveGeometryType() const override
StructuralElement(int n, Domain *d)
#define _IFT_InterfaceElem1d_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