OOFEM 3.0
Loading...
Searching...
No Matches
latticelink3dboundary.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 latticelink3dboundary_h
36#define latticelink3dboundary_h
37
38#include "latticelink3d.h"
39
41
42#define _IFT_LatticeLink3dBoundary_Name "latticelink3dboundary"
43#define _IFT_LatticeLink3dBoundary_location "location"
45
46namespace oofem {
47class ParamKey;
56
58{
59protected:
62public:
64 virtual ~LatticeLink3dBoundary();
65
66 int giveLocalCoordinateSystem(FloatMatrix &answer) override;
67
68 int computeNumberOfDofs() override { return 18; }
69
70 void giveDofManDofIDMask(int inode, IntArray &) const override;
71
72 void giveInternalForcesVector(FloatArray &answer, TimeStep *, int useUpdatedGpRecord = 0) override;
73 void computeGeometryProperties() override;
74
75 void giveGPCoordinates(FloatArray &coords) override { coords = this->globalCentroid; }
76 const char *giveInputRecordName() const override { return _IFT_LatticeLink3dBoundary_Name; }
77 const char *giveClassName() const override { return "LatticeLink3dBoundary"; }
78 void initializeFrom(InputRecord &ir, int priority) override;
79 void postInitialize() override;
80 Element_Geometry_Type giveGeometryType() const override { return EGT_line_1; }
81
82 void saveContext(DataStream &stream, ContextMode mode) override;
83 void restoreContext(DataStream &stream, ContextMode mode) override;
84
85 const IntArray giveLocation() override { return location; };
86 void recalculateCoordinates(int nodeNumber, FloatArray &coords) override;
87
88#ifdef __OOFEG
89 void drawYourself(oofegGraphicContext &context, TimeStep *tStep) override;
90 void drawRawGeometry(oofegGraphicContext &, TimeStep *tStep) override;
92#endif
93
94protected:
96 void computeStiffnessMatrix(FloatMatrix &answer, MatResponseMode rMode, TimeStep *tStep) override;
97
98 void giveSwitches(IntArray &answer, int location);
99 void computeStrainVector(FloatArray &answer, GaussPoint *gp, TimeStep *stepN) override;
100};
101} // end namespace oofem
102#endif
void giveDofManDofIDMask(int inode, IntArray &) const override
void initializeFrom(InputRecord &ir, int priority) override
void computeStiffnessMatrix(FloatMatrix &answer, MatResponseMode rMode, TimeStep *tStep) override
void drawYourself(oofegGraphicContext &context, TimeStep *tStep) override
Element_Geometry_Type giveGeometryType() const override
void drawRawGeometry(oofegGraphicContext &, TimeStep *tStep) override
const char * giveClassName() const override
int giveLocalCoordinateSystem(FloatMatrix &answer) override
const char * giveInputRecordName() const override
void computeStrainVector(FloatArray &answer, GaussPoint *gp, TimeStep *stepN) override
void restoreContext(DataStream &stream, ContextMode mode) override
void recalculateCoordinates(int nodeNumber, FloatArray &coords) override
void giveSwitches(IntArray &answer, int location)
const IntArray giveLocation() override
void giveGPCoordinates(FloatArray &coords) override
void postInitialize() override
Performs post initialization steps.
static ParamKey IPK_LatticeLink3dBoundary_location
void saveContext(DataStream &stream, ContextMode mode) override
bool computeGtoLRotationMatrix(FloatMatrix &) override
void drawDeformedGeometry(oofegGraphicContext &, TimeStep *tStep, UnknownType) override
void giveInternalForcesVector(FloatArray &answer, TimeStep *, int useUpdatedGpRecord=0) override
FloatArray globalCentroid
LatticeLink3d(int n, Domain *)
#define _IFT_LatticeLink3dBoundary_Name
long ContextMode
Definition contextmode.h:43

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