OOFEM 3.0
Loading...
Searching...
No Matches
lattice3dboundarytruss.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 lattice3dboundarytruss_h
36#define lattice3dboundarytruss_h
37
38#include "lattice3dboundary.h"
39
41
42#define _IFT_Lattice3dBoundaryTruss_Name "lattice3dboundarytruss"
43#define _IFT_Lattice3dBoundaryTruss_location "location"
45
46namespace oofem {
47class ParamKey;
58
60{
61protected:
64
65public:
68
69 void recalculateCoordinates(int nodeNumber, FloatArray &coords) override;
70 const IntArray giveLocation() override { return this->location; }
71
72 int giveLocalCoordinateSystem(FloatMatrix &answer) override;
73
74 int computeNumberOfDofs() override { return 13; }
75
76 double computeVolumeAround(GaussPoint *) override;
77
78 void giveDofManDofIDMask(int inode, IntArray &) const override;
79
80 void giveInternalForcesVector(FloatArray &answer, TimeStep *, int useUpdatedGpRecord = 0) override;
81 void computeGeometryProperties() override;
82
83 void giveGPCoordinates(FloatArray &coords) override { coords = this->globalCentroid; }
84 const char *giveInputRecordName() const override { return _IFT_Lattice3dBoundaryTruss_Name; }
85 const char *giveClassName() const override { return "Lattice3dBoundaryTruss"; }
86 void initializeFrom(InputRecord &ir, int priority) override;
87 void postInitialize() override;
88 Element_Geometry_Type giveGeometryType() const override { return EGT_line_1; }
89 void saveContext(DataStream &stream, ContextMode mode) override;
90
91 void restoreContext(DataStream &stream, ContextMode mode) override;
92
93#ifdef __OOFEG
94 void drawYourself(oofegGraphicContext &context, TimeStep *tStep) override;
95 void drawRawGeometry(oofegGraphicContext &, TimeStep *tStep) override;
98#endif
99
100protected:
101 void giveSwitches(IntArray &answer, int location);
102 void computeBmatrixAt(GaussPoint *, FloatMatrix &, int = 1, int = ALL_STRAINS) override;
103 bool computeGtoLRotationMatrix(FloatMatrix &) override;
104 void computeStiffnessMatrix(FloatMatrix &answer, MatResponseMode rMode, TimeStep *tStep) override;
105
106 void computeStrainVector(FloatArray &answer, GaussPoint *gp, TimeStep *stepN) override;
107};
108} // end namespace oofem
109#endif
void giveGPCoordinates(FloatArray &coords) override
Element_Geometry_Type giveGeometryType() const override
void saveContext(DataStream &stream, ContextMode mode) override
void giveSwitches(IntArray &answer, int location)
bool computeGtoLRotationMatrix(FloatMatrix &) override
void giveInternalForcesVector(FloatArray &answer, TimeStep *, int useUpdatedGpRecord=0) override
double computeVolumeAround(GaussPoint *) override
int giveLocalCoordinateSystem(FloatMatrix &answer) override
void drawDeformedGeometry(oofegGraphicContext &, TimeStep *tStep, UnknownType) override
const IntArray giveLocation() override
static ParamKey IPK_Lattice3dBoundaryTruss_location
void giveDofManDofIDMask(int inode, IntArray &) const override
const char * giveInputRecordName() const override
void computeStrainVector(FloatArray &answer, GaussPoint *gp, TimeStep *stepN) override
void computeBmatrixAt(GaussPoint *, FloatMatrix &, int=1, int=ALL_STRAINS) override
void computeStiffnessMatrix(FloatMatrix &answer, MatResponseMode rMode, TimeStep *tStep) override
void drawRawCrossSections(oofegGraphicContext &, TimeStep *tStep)
void postInitialize() override
Performs post initialization steps.
const char * giveClassName() const override
void initializeFrom(InputRecord &ir, int priority) override
void drawYourself(oofegGraphicContext &context, TimeStep *tStep) override
void recalculateCoordinates(int nodeNumber, FloatArray &coords) override
void drawRawGeometry(oofegGraphicContext &, TimeStep *tStep) override
void restoreContext(DataStream &stream, ContextMode mode) override
Lattice3dBoundary(int n, Domain *)
FloatArray globalCentroid
Definition lattice3d.h:66
#define _IFT_Lattice3dBoundaryTruss_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