OOFEM 3.0
Loading...
Searching...
No Matches
structuralms.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 structuralms_h
36#define structuralms_h
37
38#include "matstatus.h"
39#include "floatarray.h"
40#include "matstatmapperint.h"
41
42namespace oofem {
43class GaussPoint;
44class Dictionary;
45class Domain;
46
66{
67protected:
76
89
90public:
93
94 void printOutputAt(FILE *file, TimeStep *tStep) const override;
95
96 void initTempStatus() override;
97 void updateYourself(TimeStep *tStep) override;
98
99 void saveContext(DataStream &stream, ContextMode mode) override;
100 void restoreContext(DataStream &stream, ContextMode mode) override;
101
103 const FloatArray &giveStrainVector() const { return strainVector; }
105 const FloatArray &giveStressVector() const { return stressVector; }
107 const FloatArray &givePVector() const { return PVector; }
109 const FloatArray &giveCVector() const { return CVector; }
111 const FloatArray &giveFVector() const { return FVector; }
117 const FloatArray &giveTempPVector() const { return tempPVector; }
119 const FloatArray &giveTempCVector() const { return tempCVector; }
121 const FloatArray &giveTempFVector() const { return tempFVector; }
127 void letPVectorBe(const FloatArray &v) { PVector = v; }
129 void letCVectorBe(const FloatArray &v) { CVector = v; }
131 void letFVectorBe(const FloatArray &v) { FVector = v; }
142
143 const char *giveClassName() const override { return "StructuralMaterialStatus"; }
144
146 void copyStateVariables(const MaterialStatus &iStatus) override;
147 void addStateVariables(const MaterialStatus &iStatus) override;
148};
149} // end namespace oofem
150#endif // structuralms_h
MaterialStatus(GaussPoint *g)
Definition matstatus.h:91
FloatArray tempPVector
Temporary first Piola-Kirchhoff stress vector (to find balanced state).
void letTempPVectorBe(const FloatArray &v)
Assigns tempPVector to given vector v.
void letFVectorBe(const FloatArray &v)
Assigns FVector to given vector v.
void letTempCVectorBe(const FloatArray &v)
Assigns tempPVector to given vector v.
const FloatArray & giveStrainVector() const
Returns the const pointer to receiver's strain vector.
FloatArray tempFVector
Temporary deformation gradient in reduced form (to find balanced state).
const FloatArray & giveFVector() const
Returns the const pointer to receiver's deformation gradient vector.
void letStressVectorBe(const FloatArray &v)
Assigns stressVector to given vector v.
const FloatArray & giveTempFVector() const
Returns the const pointer to receiver's temporary deformation gradient vector.
void letTempFVectorBe(const FloatArray &v)
Assigns tempFVector to given vector v.
FloatArray tempCVector
Temporary Cauchy stress vector (to find balanced state).
const FloatArray & giveTempStressVector() const
Returns the const pointer to receiver's temporary stress vector.
void letStrainVectorBe(const FloatArray &v)
Assigns strain vector to given vector v.
void printOutputAt(FILE *file, TimeStep *tStep) const override
Print receiver's output to given stream.
void saveContext(DataStream &stream, ContextMode mode) override
StructuralMaterialStatus(GaussPoint *g)
Constructor. Creates new StructuralMaterialStatus with IntegrationPoint g.
const FloatArray & givePVector() const
Returns the const pointer to receiver's first Piola-Kirchhoff stress vector.
void updateYourself(TimeStep *tStep) override
FloatArray tempStrainVector
Temporary strain vector in reduced form (to find balanced state).
void letCVectorBe(const FloatArray &v)
Assigns CVector to given vector v.
FloatArray tempStressVector
Temporary stress vector in reduced form (increments are used mainly in nonlinear analysis).
const FloatArray & giveTempPVector() const
Returns the const pointer to receiver's temporary first Piola-Kirchhoff stress vector.
const FloatArray & giveStressVector() const
Returns the const pointer to receiver's stress vector.
const FloatArray & giveCVector() const
Returns the const pointer to receiver's Cauchy stress vector.
FloatArray stressVector
Equilibrated stress vector in reduced form.
const FloatArray & giveTempStrainVector() const
Returns the const pointer to receiver's temporary strain vector.
FloatArray PVector
Equilibrated first Piola-Kirchhoff stress vector.
FloatArray strainVector
Equilibrated strain vector in reduced form.
const FloatArray & giveTempCVector() const
Returns the const pointer to receiver's temporary Cauchy stress vector.
void restoreContext(DataStream &stream, ContextMode mode) override
void letPVectorBe(const FloatArray &v)
Assigns PVector to given vector v.
FloatArray CVector
Equilibrated Cauchy stress vector.
FloatArray FVector
Equilibrated deformation gradient in reduced form.
const char * giveClassName() const override
void letTempStressVectorBe(const FloatArray &v)
Assigns tempStressVector to given vector v.
void letTempStrainVectorBe(const FloatArray &v)
Assigns tempStrainVector to given vector v.
long ContextMode
Definition contextmode.h:43
#define OOFEM_EXPORT
Definition oofemcfg.h:7

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