OOFEM 3.0
Loading...
Searching...
No Matches
latticebeam3dboundary.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 program is free software; you can redistribute it and/or modify
21 * it under the terms of the GNU General Public License as published by
22 * the Free Software Foundation; either version 2 of the License, or
23 * (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
28 * GNU General Public License for more details.
29 *
30 * You should have received a copy of the GNU General Public License
31 * along with this program; if not, write to the Free Software
32 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
33 */
34
35#ifndef latticebeam3dboundary_h
36#define latticebeam3dboundary_h
37
38#include "latticebeam3d.h"
39
41
42#define _IFT_LatticeBeam3dBoundary_Name "latticebeam3dboundary"
43#define _IFT_LatticeBeam3dBoundary_location "location"
45
46namespace oofem {
47class ParamKey;
51
53{
54protected:
57public:
59 virtual ~LatticeBeam3dBoundary();
60
61
62 int giveLocalCoordinateSystem(FloatMatrix &answer) override;
63
64 int computeNumberOfDofs() override { return 18; }
65
66 int computeGlobalCoordinates(FloatArray &answer, const FloatArray &lcoords) override;
67
68 double computeVolumeAround(GaussPoint *) override;
69
70 void giveDofManDofIDMask(int inode, IntArray &) const override;
71
72 virtual void giveInternalForcesVector(FloatArray &answer, TimeStep *, int useUpdatedGpRecord = 0) override;
73 virtual void computeGeometryProperties() override;
74
75 virtual const char *giveInputRecordName() const override { return _IFT_LatticeBeam3dBoundary_Name; }
76 virtual const char *giveClassName() const override { return "LatticeBeam3dBoundary"; }
77 void initializeFrom(InputRecord &ir, int priority) override;
78 void postInitialize() override;
79
80 virtual Element_Geometry_Type giveGeometryType() const override { return EGT_line_1; }
81
82 void saveContext(DataStream &stream, ContextMode mode) override;
83
84 void restoreContext(DataStream &stream, ContextMode mode) override;
85
86 void giveVTKCoordinates(int nodeNumber, FloatArray &coords);
87
88#ifdef __OOFEG
89 virtual void drawYourself(oofegGraphicContext &context, TimeStep *tStep) override;
90 virtual void drawRawGeometry(oofegGraphicContext &, TimeStep *tStep) override;
91 virtual void drawDeformedGeometry(oofegGraphicContext &, TimeStep *tStep, UnknownType) override;
92#endif
93
94protected:
95 void computeBmatrixAt(GaussPoint *, FloatMatrix &, int = 1, int = ALL_STRAINS) override {};
97 void computeStiffnessMatrix(FloatMatrix &answer, MatResponseMode rMode, TimeStep *tStep) override;
98
99 void giveSwitches(IntArray &answer, int location);
100};
101} // end namespace oofem
102#endif
void computeStiffnessMatrix(FloatMatrix &answer, MatResponseMode rMode, TimeStep *tStep) override
int computeGlobalCoordinates(FloatArray &answer, const FloatArray &lcoords) override
virtual void drawDeformedGeometry(oofegGraphicContext &, TimeStep *tStep, UnknownType) override
void initializeFrom(InputRecord &ir, int priority) override
virtual const char * giveInputRecordName() const override
void giveSwitches(IntArray &answer, int location)
bool computeGtoLRotationMatrix(FloatMatrix &) override
virtual void computeGeometryProperties() override
virtual void giveInternalForcesVector(FloatArray &answer, TimeStep *, int useUpdatedGpRecord=0) override
void giveVTKCoordinates(int nodeNumber, FloatArray &coords)
static ParamKey IPK_LatticeBeam3dBoundary_location
void postInitialize() override
Performs post initialization steps.
double computeVolumeAround(GaussPoint *) override
virtual const char * giveClassName() const override
void restoreContext(DataStream &stream, ContextMode mode) override
int giveLocalCoordinateSystem(FloatMatrix &answer) override
virtual void drawYourself(oofegGraphicContext &context, TimeStep *tStep) override
void saveContext(DataStream &stream, ContextMode mode) override
virtual Element_Geometry_Type giveGeometryType() const override
void computeBmatrixAt(GaussPoint *, FloatMatrix &, int=1, int=ALL_STRAINS) override
void giveDofManDofIDMask(int inode, IntArray &) const override
virtual void drawRawGeometry(oofegGraphicContext &, TimeStep *tStep) override
LatticeBeam3d(int n, Domain *)
#define _IFT_LatticeBeam3dBoundary_Name
long ContextMode
Definition contextmode.h:43
#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