OOFEM 3.0
Loading...
Searching...
No Matches
qtruss1d.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 qtruss1d_h
36#define qtruss1d_h
37
39
40#define _IFT_QTruss1d_Name "qtruss1d"
41
42namespace oofem {
43class FEI1dQuad;
44
50{
51protected:
53
54public:
55 QTruss1d(int n, Domain *d);
56 virtual ~QTruss1d() { }
57
58 int computeNumberOfDofs() override { return 3; }
59 void giveDofManDofIDMask(int inode, IntArray &) const override;
60
61 void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) override;
62 void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override;
63 void computeConstitutiveMatrix_dPdF_At(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override;
64
65 double giveCharacteristicLength(const FloatArray &normalToCrackPlane) override
66 { return this->computeLength(); }
67
68 double computeVolumeAround(GaussPoint *gp) override;
69
70 int testElementExtension(ElementExtension ext) override { return 0; }
71
72 // definition & identification
73 const char *giveInputRecordName() const override { return _IFT_QTruss1d_Name; }
74 const char *giveClassName() const override { return "QTruss1d"; }
75 Element_Geometry_Type giveGeometryType() const override {return EGT_line_2;}
76
77
78 MaterialMode giveMaterialMode() override { return _1dMat; }
79 int computeGlobalCoordinates(FloatArray &answer, const FloatArray &lcoords) override;
80
81protected:
82 void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int = 1, int = ALL_STRAINS) override;
83 void computeBHmatrixAt(GaussPoint *gp, FloatMatrix &answer) override;
84 void computeGaussPoints() override;
85};
86} // end namespace oofem
87#endif // truss1d_h
virtual double computeLength()
Definition element.C:1149
NLStructuralElement(int n, Domain *d)
virtual ~QTruss1d()
Definition qtruss1d.h:56
const char * giveClassName() const override
Definition qtruss1d.h:74
int testElementExtension(ElementExtension ext) override
Definition qtruss1d.h:70
int computeGlobalCoordinates(FloatArray &answer, const FloatArray &lcoords) override
Definition qtruss1d.C:68
double computeVolumeAround(GaussPoint *gp) override
Definition qtruss1d.C:93
double giveCharacteristicLength(const FloatArray &normalToCrackPlane) override
Definition qtruss1d.h:65
QTruss1d(int n, Domain *d)
Definition qtruss1d.C:56
static FEI1dQuad interpolation
Definition qtruss1d.h:52
const char * giveInputRecordName() const override
Definition qtruss1d.h:73
int computeNumberOfDofs() override
Definition qtruss1d.h:58
void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override
Definition qtruss1d.C:81
Element_Geometry_Type giveGeometryType() const override
Definition qtruss1d.h:75
void computeGaussPoints() override
Definition qtruss1d.C:103
MaterialMode giveMaterialMode() override
Definition qtruss1d.h:78
void computeConstitutiveMatrix_dPdF_At(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override
Definition qtruss1d.C:87
void giveDofManDofIDMask(int inode, IntArray &) const override
Definition qtruss1d.C:62
void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int=1, int=ALL_STRAINS) override
Definition qtruss1d.C:114
void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) override
Definition qtruss1d.C:75
void computeBHmatrixAt(GaussPoint *gp, FloatMatrix &answer) override
Definition qtruss1d.C:120
#define _IFT_QTruss1d_Name
Definition qtruss1d.h:40
#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