OOFEM 3.0
Loading...
Searching...
No Matches
incrementallinearstatic.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 incrementallinearstatic_h
36#define incrementallinearstatic_h
37
39#include "sparselinsystemnm.h"
40#include "sparsemtrxtype.h"
41
42#include <memory>
43
45
46#define _IFT_IncrementalLinearStatic_Name "incrlinearstatic"
47#define _IFT_IncrementalLinearStatic_endoftimeofinterest "endoftimeofinterest"
48#define _IFT_IncrementalLinearStatic_prescribedtimes "prescribedtimes"
49#define _IFT_IncrementalLinearStatic_deltat "deltat"
51
52namespace oofem {
67{
68protected:
69 std :: unique_ptr< SparseMtrx > stiffnessMatrix;
75 double deltaT;
78 std :: unique_ptr< SparseLinearSystemNM > nMethod;
79
82
83public:
84 IncrementalLinearStatic(int i, EngngModel *master = nullptr);
86
87 void initializeFrom(InputRecord &ir) override;
88
89 void solveYourself() override;
90 void solveYourselfAt(TimeStep *tStep) override;
91
92 double giveUnknownComponent(ValueModeType mode, TimeStep *tStep, Domain *d, Dof *dof) override;
93 void saveContext(DataStream &stream, ContextMode mode) override;
94 void restoreContext(DataStream &stream, ContextMode mode) override;
95 TimeStep *giveNextStep() override;
96
109 double giveDiscreteTime(int iStep);
110 double giveEndOfTimeOfInterest() override { return endOfTimeOfInterest; }
111
113
114 fMode giveFormulation() override { return TL; }
115
117 const char *giveClassName() const override { return "IncrementalLinearStatic"; }
118
119 int requiresUnknownsDictionaryUpdate() override { return true; }
120 bool requiresEquationRenumbering(TimeStep *tStep) override { return true; }
121 void updateDofUnknownsDictionary(DofManager *dman, TimeStep *tStep) override;
122 // Here we store only total and incremental value; so hash is computed from mode value only
123 int giveUnknownDictHashIndx(ValueModeType mode, TimeStep *tStep) override;
124};
125} // end namespace oofem
126#endif // incrementallinearstatic_h
EngngModel * master
Master e-model; if defined receiver is in maintained (slave) mode.
Definition engngm.h:274
void saveContext(DataStream &stream, ContextMode mode) override
void solveYourselfAt(TimeStep *tStep) override
double giveUnknownComponent(ValueModeType mode, TimeStep *tStep, Domain *d, Dof *dof) override
int giveUnknownDictHashIndx(ValueModeType mode, TimeStep *tStep) override
NumericalMethod * giveNumericalMethod(MetaStep *mStep) override
Returns reference to receiver's numerical method.
std ::unique_ptr< SparseMtrx > stiffnessMatrix
void initializeFrom(InputRecord &ir) override
void updateDofUnknownsDictionary(DofManager *dman, TimeStep *tStep) override
TimeStep * giveNextStep() override
Returns next time step (next to current step) of receiver.
const char * giveClassName() const override
Returns class name of the receiver.
void restoreContext(DataStream &stream, ContextMode mode) override
double giveEndOfTimeOfInterest() override
Returns end of time interest (time corresponding to end of time integration).
IncrementalLinearStatic(int i, EngngModel *master=nullptr)
bool requiresEquationRenumbering(TimeStep *tStep) override
std ::unique_ptr< SparseLinearSystemNM > nMethod
Numerical method used to solve the problem.
StructuralEngngModel(int i, EngngModel *master=nullptr)
Creates new StructuralEngngModel with number i, associated to domain d.
#define _IFT_IncrementalLinearStatic_Name
long ContextMode
Definition contextmode.h:43
fMode
Definition fmode.h:42
@ TL
Total Lagrange.
Definition fmode.h:44

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