OOFEM 3.0
Loading...
Searching...
No Matches
linearstatic.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 linearstatic_h
36#define linearstatic_h
37
39#include "sparselinsystemnm.h"
40#include "sparsemtrxtype.h"
42
43#define _IFT_LinearStatic_Name "linearstatic"
44
45namespace oofem {
46class SparseMtrx;
47
64{
65protected:
66 std :: unique_ptr< SparseMtrx > stiffnessMatrix;
69
73 std :: unique_ptr< SparseLinearSystemNM > nMethod;
74
77
78public:
79 LinearStatic(int i, EngngModel *master = nullptr);
80 virtual ~LinearStatic();
81
82 void solveYourself() override;
83 void solveYourselfAt(TimeStep *tStep) override;
84
85 double giveUnknownComponent(ValueModeType type, TimeStep *tStep, Domain *d, Dof *dof) override;
86 void saveContext(DataStream &stream, ContextMode mode) override;
87 void restoreContext(DataStream &stream, ContextMode mode) override;
88
89 void updateDomainLinks() override;
90
91 TimeStep *giveNextStep() override;
93
94 void initializeFrom(InputRecord &ir) override;
95
97
98 // identification
99 virtual const char *giveInputRecordName() const { return _IFT_LinearStatic_Name; }
100 const char *giveClassName() const override { return "LinearStatic"; }
101 fMode giveFormulation() override { return TL; }
102
103 int estimateMaxPackSize(IntArray &commMap, DataStream &buff, int packUnpackType) override;
104};
105} // end namespace oofem
106#endif // linearstatic_h
EngngModel * master
Master e-model; if defined receiver is in maintained (slave) mode.
Definition engngm.h:274
void solveYourself() override
void updateDomainLinks() override
void restoreContext(DataStream &stream, ContextMode mode) override
SparseMtrxType sparseMtrxType
TimeStep * giveNextStep() override
Returns next time step (next to current step) of receiver.
void initializeFrom(InputRecord &ir) override
fMode giveFormulation() override
EModelDefaultEquationNumbering equationNumbering
const char * giveClassName() const override
Returns class name of the receiver.
LinSystSolverType solverType
double giveUnknownComponent(ValueModeType type, TimeStep *tStep, Domain *d, Dof *dof) override
LinearStatic(int i, EngngModel *master=nullptr)
int estimateMaxPackSize(IntArray &commMap, DataStream &buff, int packUnpackType) override
FloatArray displacementVector
void solveYourselfAt(TimeStep *tStep) override
virtual UnknownNumberingScheme & giveEquationNumbering()
NumericalMethod * giveNumericalMethod(MetaStep *mStep) override
Returns reference to receiver's numerical method.
void saveContext(DataStream &stream, ContextMode mode) override
FloatArray loadVector
std ::unique_ptr< SparseMtrx > stiffnessMatrix
virtual ~LinearStatic()
virtual const char * giveInputRecordName() const
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_LinearStatic_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