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