OOFEM 3.0
Loading...
Searching...
No Matches
prescribeddispsliphomogenization.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 prescribeddispsliphomogenization_h
36#define prescribeddispsliphomogenization_h
37
38#include "inputrecord.h"
39#include "floatarray.h"
40#include "floatmatrix.h"
41
42#include "error.h"
43
44
46
47#define _IFT_PrescribedDispSlipHomogenization_dispField "disp"
48#define _IFT_PrescribedDispSlipHomogenization_dispGrad "dispgrad"
49#define _IFT_PrescribedDispSlipHomogenization_slipField "slip"
50#define _IFT_PrescribedDispSlipHomogenization_slipGrad "slipgrad"
51#define _IFT_PrescribedDispSlipHomogenization_centercoords "ccoord"
53
54namespace oofem {
55class TimeStep;
56class DynamicInputRecord;
57class Domain;
58
68{
69protected:
73
77
80
81public:
84
85 virtual void initializeFrom(InputRecord &ir);
86 virtual void giveInputRecord(DynamicInputRecord &input);
87
88 // Methods for field homogenization implemented by respective BCs
89 virtual void computeStress(FloatArray &stress, TimeStep *tStep) = 0;
90 virtual void computeTransferStress(FloatArray &bStress, TimeStep *tStep) = 0;
91 virtual void computeReinfStress(FloatArray &rStress, TimeStep *tStep) = 0;
92
93 virtual void computeTangent(FloatMatrix &tangent, TimeStep *tStep) = 0;
94
95 virtual void setDispField(const FloatArray &t);
96 virtual void setSlipField(const FloatArray &t);
97 virtual void setDispGradient(const FloatArray &t);
98 virtual void setSlipGradient(const FloatArray &t);
99
100 void giveDispField(FloatArray &oField) const;
101 void giveSlipField(FloatArray &oField) const;
102 void giveDispGradient(FloatArray &oGradient) const;
103 void giveSlipGradient(FloatArray &oGradient) const;
104
107
108 virtual double domainSize(Domain *d, int set);
109};
110} // end namespace oofem
111
112#endif // prescribeddispsliphomogenization_h
virtual void computeStress(FloatArray &stress, TimeStep *tStep)=0
virtual void computeTransferStress(FloatArray &bStress, TimeStep *tStep)=0
virtual void computeTangent(FloatMatrix &tangent, TimeStep *tStep)=0
virtual void computeReinfStress(FloatArray &rStress, TimeStep *tStep)=0
#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