OOFEM 3.0
Loading...
Searching...
No Matches
adaptnlinearstatic.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 adaptnlinearstatic_h
36#define adaptnlinearstatic_h
37
39#include "sparsemtrx.h"
40#include "errorestimator.h"
41#include "meshpackagetype.h"
42
44
45#define _IFT_AdaptiveNonLinearStatic_Name "adaptnlinearstatic"
46#define _IFT_AdaptiveNonLinearStatic_meshpackage "meshpackage"
47#define _IFT_AdaptiveNonLinearStatic_equilmc "equilmc"
48#define _IFT_AdaptiveNonLinearStatic_controlmode "controlmode"
49#define _IFT_AdaptiveNonLinearStatic_ddm "ddm"
50#define _IFT_AdaptiveNonLinearStatic_refloadmode "refloadmode"
51#define _IFT_AdaptiveNonLinearStatic_preMappingLoadBalancingFlag "premaplbflag"
53
54namespace oofem {
75{
76protected:
97
98public:
99 AdaptiveNonLinearStatic(int i, EngngModel *master = nullptr);
100 virtual ~AdaptiveNonLinearStatic();
101
102 void solveYourselfAt(TimeStep *tStep) override;
103 void updateYourself(TimeStep *tStep) override;
104
105 void initializeFrom(InputRecord &ir) override;
106 double giveUnknownComponent(ValueModeType mode, TimeStep *tStep, Domain *d, Dof *dof) override;
107
111 virtual double giveTimeStepLoadLevel(int istep);
117 int initializeAdaptive(int tStepNumber) override;
123 virtual int initializeAdaptiveFrom(EngngModel *sourceProblem);
129 virtual int adaptiveRemap(Domain *dNew);
130
131 void saveContext(DataStream &stream, ContextMode mode) override;
132 void restoreContext(DataStream &stream, ContextMode mode) override;
133 double giveInitialTime() override {return 1;}
134 void updateDomainLinks() override;
135
136 const char *giveClassName() const override { return "AdaptiveNonLinearStatic"; }
137 const char *giveInputRecordName() const override { return _IFT_AdaptiveNonLinearStatic_Name; }
138
139#ifdef __MPI_PARALLEL_MODE
140 LoadBalancer *giveLoadBalancer() override;
142#endif
143
144protected:
145 void assembleInitialLoadVector(FloatArray &loadVector, FloatArray &loadVectorOfPrescribed,
146 AdaptiveNonLinearStatic *sourceProblem, int domainIndx, TimeStep *tStep);
147 //void assembleCurrentTotalLoadVector (FloatArray& loadVector, FloatArray& loadVectorOfPrescribed,
148 // AdaptiveNonLinearStatic* sourceProblem, int domainIndx, TimeStep* tStep);
149};
150} // end namespace oofem
151#endif // adaptnlinearstatic_h
#define _IFT_AdaptiveNonLinearStatic_Name
void assembleInitialLoadVector(FloatArray &loadVector, FloatArray &loadVectorOfPrescribed, AdaptiveNonLinearStatic *sourceProblem, int domainIndx, TimeStep *tStep)
virtual double giveTimeStepLoadLevel(int istep)
double giveUnknownComponent(ValueModeType mode, TimeStep *tStep, Domain *d, Dof *dof) override
void saveContext(DataStream &stream, ContextMode mode) override
double giveInitialTime() override
return time at the begining of analysis
virtual int adaptiveRemap(Domain *dNew)
void restoreContext(DataStream &stream, ContextMode mode) override
void initializeFrom(InputRecord &ir) override
virtual int initializeAdaptiveFrom(EngngModel *sourceProblem)
int initializeAdaptive(int tStepNumber) override
LoadBalancer * giveLoadBalancer() override
const char * giveInputRecordName() const override
AdaptiveNonLinearStatic(int i, EngngModel *master=nullptr)
int equilibrateMappedConfigurationFlag
Flag indication whether to restore equilibrium after adaptive remapping.
void updateYourself(TimeStep *tStep) override
LoadBalancerMonitor * giveLoadBalancerMonitor() override
void solveYourselfAt(TimeStep *tStep) override
const char * giveClassName() const override
Returns class name of the receiver.
EngngModel * master
Master e-model; if defined receiver is in maintained (slave) mode.
Definition engngm.h:274
FloatArray loadVector
NonLinearStatic(int i, EngngModel *master=nullptr)
long ContextMode
Definition contextmode.h:43

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