OOFEM 3.0
Loading...
Searching...
No Matches
prescribedgradientshell7base.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 PrescribedGenStrainShell7_h
36#define PrescribedGenStrainShell7_h
37
38#include "boundarycondition.h"
39#include "dof.h"
40#include "bctype.h"
41#include "valuemodetype.h"
42#include "floatarray.h"
43#include "floatmatrix.h"
44
46
47#define _IFT_PrescribedGenStrainShell7_Name "PrescribedGenStrainShell7"
48#define _IFT_PrescribedGenStrainShell7_centercoords "ccoord"
49#define _IFT_PrescribedGenStrainShell7_generalizedstrain "generalizedstrain"
51
52namespace oofem {
61class OOFEM_EXPORT PrescribedGenStrainShell7 : public BoundaryCondition
62{
63protected:
66
69
70public:
77
80
81 double give(Dof *dof, ValueModeType mode, double time) override;
82
83 bcType giveType() const override { return DirichletBT; }
84
93 void initializeFrom(InputRecord &ir) override;
94 void giveInputRecord(DynamicInputRecord &input) override;
95
103
110 void computeField(FloatArray &sigma, EquationID eid, TimeStep *tStep);
111
118 void computeTangent(FloatMatrix &tangent, EquationID eid, TimeStep *tStep);
119
120 void scale(double s) override { gradient.times(s); }
121
126 virtual void setPrescribedGenStrainShell7(const FloatMatrix &t) { gradient = t; }
127
133 virtual void setPrescribedGenStrainShell7Voigt(const FloatArray &t);
134
139 virtual void setCenterCoordinate(const FloatArray &x) { centerCoord = x; }
142
143 const char *giveClassName() const override { return "PrescribedGenStrainShell7"; }
144 const char *giveInputRecordName() const override { return _IFT_PrescribedGenStrainShell7_Name; }
145
146protected:
147 double domainSize();
148};
149} // end namespace oofem
150
151#endif // PrescribedGenStrainShell7_h
BoundaryCondition(int i, Domain *d)
virtual void setCenterCoordinate(const FloatArray &x)
void computeField(FloatArray &sigma, EquationID eid, TimeStep *tStep)
virtual FloatArray & giveCenterCoordinate()
Returns the center coordinate.
double give(Dof *dof, ValueModeType mode, double time) override
FloatMatrixF< 3, 3 > gradient
Prescribed gradient .
FloatArrayF< 3 > centerCoord
Center coordinate .
const char * giveInputRecordName() const override
virtual void setPrescribedGenStrainShell7(const FloatMatrix &t)
const char * giveClassName() const override
void computeTangent(FloatMatrix &tangent, EquationID eid, TimeStep *tStep)
void giveInputRecord(DynamicInputRecord &input) override
void initializeFrom(InputRecord &ir) override
bcType
Type representing the type of bc.
Definition bctype.h:40
@ DirichletBT
Prescribed value.
Definition bctype.h:42
#define OOFEM_EXPORT
Definition oofemcfg.h:7
#define _IFT_PrescribedGenStrainShell7_Name

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