OOFEM 3.0
Loading...
Searching...
No Matches
ltrspaceboundary.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 ltrspaceboundary_h
36#define ltrspaceboundary_h
37
42#include "spatiallocalizer.h"
44
45#define _IFT_LTRSpaceBoundary_Name "ltrspaceboundary"
46
47namespace oofem {
48class FEI3dTetLin;
49class ParamKey;
61{
62protected:
65 virtual void computeTransformationMatrix(FloatMatrix &answer, TimeStep *tStep);
66 void giveSwitches(IntArray &answer, int location);
67
68 void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int lowerIndx = 1, int upperIndx = ALL_STRAINS) override;
69 void computeDeformationGradientVector(FloatArray &answer, GaussPoint *gp, TimeStep *tStep) override;
70 void computeBHmatrixAt(GaussPoint *gp, FloatMatrix &answer) override;
71 void computeStrainVector(FloatArray &answer, GaussPoint *gp, TimeStep *tStep) override;
72 void giveInternalForcesVector(FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord = 0) override;
73 void computeStiffnessMatrix(FloatMatrix &answer, MatResponseMode rMode, TimeStep *tStep) override;
74 double computeVolumeAround(GaussPoint *gp) override;
75 int computeGlobalCoordinates(FloatArray &answer, const FloatArray &lcoords) override;
76 int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override;
77 double giveLengthInDir(const FloatArray &normalToCrackPlane) override;
78
80public:
81 LTRSpaceBoundary(int n, Domain *d);
82 virtual ~LTRSpaceBoundary() { }
83
84 FEInterpolation *giveInterpolation() const override;
85
87
88 int computeNumberOfDofs() override { return 21; };
89 void giveDofManDofIDMask(int inode, IntArray &answer) const override;
90 const IntArray giveLocation() override { return location; };
91 void recalculateCoordinates(int nodeNumber, FloatArray &coords) override;
92
93 // definition & identification
94 void initializeFrom(InputRecord &ir, int priority) override;
95 void postInitialize() override;
96 const char *giveInputRecordName() const override { return _IFT_LTRSpaceBoundary_Name; }
97 const char *giveClassName() const override { return "LTRSpaceBoundary"; }
98 Element_Geometry_Type giveGeometryType() const override {return EGT_tetra_1;}
99
100
102 InternalStateType type, TimeStep *tStep) override;
103};
104} // end namespace oofem
105#endif // LTRSpaceBoundary_h
void computeBHmatrixAt(GaussPoint *gp, FloatMatrix &answer) override
const char * giveInputRecordName() const override
void NodalAveragingRecoveryMI_computeNodalValue(FloatArray &answer, int node, InternalStateType type, TimeStep *tStep) override
void giveInternalForcesVector(FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord=0) override
Interface * giveInterface(InterfaceType it) override
int computeGlobalCoordinates(FloatArray &answer, const FloatArray &lcoords) override
void recalculateCoordinates(int nodeNumber, FloatArray &coords) override
void postInitialize() override
Performs post initialization steps.
static ParamKey IPK_LTRSpaceBoundary_location
[optional] Location of the element (1-4) - 1: left, 2: right, 3: top, 4: bottom
void computeStrainVector(FloatArray &answer, GaussPoint *gp, TimeStep *tStep) override
double computeVolumeAround(GaussPoint *gp) override
FEInterpolation * giveInterpolation() const override
const char * giveClassName() const override
static FEI3dTetLin interpolation
int computeNumberOfDofs() override
void giveSwitches(IntArray &answer, int location)
Element_Geometry_Type giveGeometryType() const override
void initializeFrom(InputRecord &ir, int priority) override
LTRSpaceBoundary(int n, Domain *d)
double giveLengthInDir(const FloatArray &normalToCrackPlane) override
void computeStiffnessMatrix(FloatMatrix &answer, MatResponseMode rMode, TimeStep *tStep) override
int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override
void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int lowerIndx=1, int upperIndx=ALL_STRAINS) override
void giveDofManDofIDMask(int inode, IntArray &answer) const override
virtual void computeTransformationMatrix(FloatMatrix &answer, TimeStep *tStep)
void computeDeformationGradientVector(FloatArray &answer, GaussPoint *gp, TimeStep *tStep) override
const IntArray giveLocation() override
SpatialLocalizerInterface(Element *element)
Structural3DElement(int n, Domain *d)
#define _IFT_LTRSpaceBoundary_Name
#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