OOFEM 3.0
Loading...
Searching...
No Matches
libeam3dboundary.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 libeam3dboundary_h
36#define libeam3dboundary_h
37
41
43
44#define _IFT_LIBeam3dBoundary_Name "libeam3dboundary"
46
47namespace oofem {
48class ParamKey;
57{
58protected:
59 double length;
62
65public:
66 LIBeam3dBoundary(int n, Domain *d);
67 virtual ~LIBeam3dBoundary() { }
68
69 void initializeFrom(InputRecord &ir, int prio) override;
70 void postInitialize() override;
71
72 int computeNumberOfDofs() override { return 21; }
73 void giveDofManDofIDMask(int inode, IntArray &answer) const override;
74 int computeGlobalCoordinates(FloatArray &answer, const FloatArray &lcoords) override;
75 int giveLocalCoordinateSystem(FloatMatrix &answer) override;
76 bool computeGtoLRotationMatrix(FloatMatrix &answer) override;
77 int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override;
78
79 void recalculateCoordinates(int nodeNumber, FloatArray &coords) override;
80 const IntArray giveLocation() override { return location; };
81
82 // definition & identification
83 const char *giveInputRecordName() const override { return _IFT_LIBeam3dBoundary_Name; }
84 const char *giveClassName() const override { return "LIBeam3dBoundary"; }
85
86protected:
87 virtual void computeTransformationMatrix(FloatMatrix &answer, TimeStep *tStep);
88 void giveSwitches(IntArray &answer, int location);
89 double computeLength() override;
90
91 void computeStrainVector(FloatArray &answer, GaussPoint *gp, TimeStep *tStep) override;
92 void giveInternalForcesVector(FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord = 0) override;
93 void computeStiffnessMatrix(FloatMatrix &answer, MatResponseMode rMode, TimeStep *tStep) override;
94};
95} // end namespace oofem
96#endif // libeam3dboundary_h
const char * giveClassName() const override
int computeGlobalCoordinates(FloatArray &answer, const FloatArray &lcoords) override
LIBeam3dBoundary(int n, Domain *d)
void recalculateCoordinates(int nodeNumber, FloatArray &coords) override
static ParamKey IPK_LIBeam3dBoundary_refnode
double computeLength() override
virtual void computeTransformationMatrix(FloatMatrix &answer, TimeStep *tStep)
void giveDofManDofIDMask(int inode, IntArray &answer) const override
void postInitialize() override
Performs post initialization steps.
void computeStiffnessMatrix(FloatMatrix &answer, MatResponseMode rMode, TimeStep *tStep) override
void computeStrainVector(FloatArray &answer, GaussPoint *gp, TimeStep *tStep) override
void giveInternalForcesVector(FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord=0) override
const IntArray giveLocation() override
void giveSwitches(IntArray &answer, int location)
int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override
static ParamKey IPK_LIBeam3dBoundary_location
int giveLocalCoordinateSystem(FloatMatrix &answer) override
void initializeFrom(InputRecord &ir, int prio) override
int computeNumberOfDofs() override
const char * giveInputRecordName() const override
bool computeGtoLRotationMatrix(FloatMatrix &answer) override
LIBeam3d(int n, Domain *d)
Definition libeam3d.C:58
#define _IFT_LIBeam3dBoundary_Name

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