OOFEM 3.0
Loading...
Searching...
No Matches
trabbonenl.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 trabbonenl_h
36#define trabbonenl_h
37
38#include "trabbonematerial.h"
41#include "cltypes.h"
42
44
45#define _IFT_TrabBoneNL_Name "trabbonenl"
46#define _IFT_TrabBoneNL_r "r"
47#define _IFT_TrabBoneNL_m "m"
49
50namespace oofem {
55{
56protected:
59
60public:
62
63 void printOutputAt(FILE *file, TimeStep *tStep) const override;
64
67
68 const char *giveClassName() const override { return "TrabBoneNLStatus"; }
69
70 void initTempStatus() override;
71
72 void updateYourself(TimeStep *tStep) override;
73
75};
76
77
82{
83protected:
84 double R = 0.;
85 double mParam = 0.;
86
87public:
88 TrabBoneNL(int n, Domain * d);
89
90 const char *giveClassName() const override { return "TrabBoneNL"; }
91 const char *giveInputRecordName() const override { return _IFT_TrabBoneNL_Name; }
92
93 void initializeFrom(InputRecord &ir) override;
94 void giveInputRecord(DynamicInputRecord &input) override;
95
97
98 double computeCumPlastStrain(GaussPoint *gp, TimeStep *tStep) const override;
99
100 FloatArrayF<1> giveRealStressVector_1d(const FloatArrayF<1> &strainVector, GaussPoint *gp, TimeStep *tStep) const override;
101
102 double computeLocalCumPlastStrain(const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) const
103 {
104 return TrabBoneMaterial :: computeCumPlastStrain(gp, tStep);
105 }
106
107 void updateBeforeNonlocAverage(const FloatArray &strainVector, GaussPoint *gp, TimeStep *tStep) const override;
108
109 double computeWeightFunction(const double cl, const FloatArray &src, const FloatArray &coord) const override;
110
111 int hasBoundedSupport() const override { return 1; }
112
113 double giveSupportRadius() const { return this->R; }
114
115protected:
116 std::unique_ptr<MaterialStatus> CreateStatus(GaussPoint *gp) const override { return std::make_unique<TrabBoneNLStatus>(gp); }
117};
118} // end namespace oofem
119#endif
TrabBoneMaterial(int n, Domain *d)
void printOutputAt(FILE *file, TimeStep *tStep) const override
Print receiver's output to given stream.
Definition trabbonenl.C:250
void setLocalCumPlastStrainForAverage(double ls)
Definition trabbonenl.h:66
Interface * giveInterface(InterfaceType) override
Definition trabbonenl.C:300
const char * giveClassName() const override
Definition trabbonenl.h:68
double localCumPlastStrainForAverage
Equivalent strain for averaging.
Definition trabbonenl.h:58
void initTempStatus() override
Definition trabbonenl.C:270
void updateYourself(TimeStep *tStep) override
Definition trabbonenl.C:285
TrabBoneNLStatus(GaussPoint *g)
Definition trabbonenl.C:243
double giveLocalCumPlastStrainForAverage() const
Definition trabbonenl.h:65
double giveSupportRadius() const
Definition trabbonenl.h:113
const char * giveClassName() const override
Definition trabbonenl.h:90
void giveInputRecord(DynamicInputRecord &input) override
Definition trabbonenl.C:203
std::unique_ptr< MaterialStatus > CreateStatus(GaussPoint *gp) const override
Definition trabbonenl.h:116
void initializeFrom(InputRecord &ir) override
Definition trabbonenl.C:179
FloatArrayF< 1 > giveRealStressVector_1d(const FloatArrayF< 1 > &strainVector, GaussPoint *gp, TimeStep *tStep) const override
Default implementation relies on giveRealStressVector_StressControl.
Definition trabbonenl.C:98
int hasBoundedSupport() const override
Definition trabbonenl.h:111
Interface * giveInterface(InterfaceType) override
Definition trabbonenl.C:160
TrabBoneNL(int n, Domain *d)
Definition trabbonenl.C:58
const char * giveInputRecordName() const override
Definition trabbonenl.h:91
double computeLocalCumPlastStrain(const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) const
Definition trabbonenl.h:102
double computeWeightFunction(const double cl, const FloatArray &src, const FloatArray &coord) const override
Definition trabbonenl.C:221
void updateBeforeNonlocAverage(const FloatArray &strainVector, GaussPoint *gp, TimeStep *tStep) const override
Definition trabbonenl.C:72
double computeCumPlastStrain(GaussPoint *gp, TimeStep *tStep) const override
Definition trabbonenl.C:127
#define _IFT_TrabBoneNL_Name
Definition trabbonenl.h:45

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