OOFEM 3.0
Loading...
Searching...
No Matches
structengngmodel.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 structengngmodel_h
36#define structengngmodel_h
37
38#include "engngm.h"
39#include "statecountertype.h"
40#include "floatarray.h"
41
42namespace oofem {
44
48{
49 void vectorFromElement(FloatArray &vec, Element &element, TimeStep *tStep, ValueModeType mode) const override;
50};
51
57{
58public:
59 void vectorFromElement(FloatArray &vec, Element &element, TimeStep *tStep, ValueModeType mode) const override;
60};
61
67{
68public:
69 void matrixFromElement(FloatMatrix &mat, Element &element, TimeStep *tStep) const override;
70};
71
77{
78public:
79 void matrixFromElement(FloatMatrix &mat, Element &element, TimeStep *tStep) const override;
80};
81
87{
88protected:
95
108 void printReactionForces(TimeStep *tStep, int id, FILE *out);
109
117 virtual void computeExternalLoadReactionContribution(FloatArray &reactions, TimeStep *tStep, int di);
118
126 void updateInternalState(TimeStep *tStep);
127
128 void printOutputAt(FILE *file, TimeStep *tStep) override;
129
130public:
132 StructuralEngngModel(int i, EngngModel *master = nullptr);
134 virtual ~StructuralEngngModel();
135
136 void updateYourself(TimeStep *tStep) override;
137
138 int checkConsistency() override;
139
150 void computeReaction(FloatArray &answer, TimeStep *tStep, int di);
151
152 void terminate(TimeStep *tStep) override;
153
165 void buildReactionTable(IntArray &restrDofMans, IntArray &restrDofs, IntArray &eqn, TimeStep *tStep, int di);
166
167 void updateInternalRHS(FloatArray &answer, TimeStep *tStep, Domain *d, FloatArray *eNorm) override;
168
169#ifdef __OOFEG
173 void showSparseMtrxStructure(int type, oofegGraphicContext &gc, TimeStep *tStep) override;
174#endif
175};
176} // end namespace oofem
177#endif // structengngmodel_h
EngngModel(int i, EngngModel *_master=NULL)
Definition engngm.C:99
EngngModel * master
Master e-model; if defined receiver is in maintained (slave) mode.
Definition engngm.h:274
void matrixFromElement(FloatMatrix &mat, Element &element, TimeStep *tStep) const override
void vectorFromElement(FloatArray &vec, Element &element, TimeStep *tStep, ValueModeType mode) const override
void vectorFromElement(FloatArray &vec, Element &element, TimeStep *tStep, ValueModeType mode) const override
void matrixFromElement(FloatMatrix &mat, Element &element, TimeStep *tStep) const override
virtual void computeExternalLoadReactionContribution(FloatArray &reactions, TimeStep *tStep, int di)
StateCounterType internalVarUpdateStamp
void showSparseMtrxStructure(int type, oofegGraphicContext &gc, TimeStep *tStep) override
FloatArray internalForcesEBENorm
Norm of nodal internal forces evaluated on element by element basis (squared).
void buildReactionTable(IntArray &restrDofMans, IntArray &restrDofs, IntArray &eqn, TimeStep *tStep, int di)
void updateInternalState(TimeStep *tStep)
void updateYourself(TimeStep *tStep) override
void terminate(TimeStep *tStep) override
void printReactionForces(TimeStep *tStep, int id, FILE *out)
void computeReaction(FloatArray &answer, TimeStep *tStep, int di)
StructuralEngngModel(int i, EngngModel *master=nullptr)
Creates new StructuralEngngModel with number i, associated to domain d.
void printOutputAt(FILE *file, TimeStep *tStep) override
void updateInternalRHS(FloatArray &answer, TimeStep *tStep, Domain *d, FloatArray *eNorm) override
virtual ~StructuralEngngModel()
Destructor.
long StateCounterType
StateCounterType type used to indicate solution state.
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]

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