OOFEM 3.0
Loading...
Searching...
No Matches
trabbonenlembed.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 trabbonenlembed_h
36#define trabbonenlembed_h
37
38#include "trabboneembed.h"
41#include "cltypes.h"
42
44
45#define _IFT_TrabBoneNLEmbed_Name "trabbonenlembed"
46#define _IFT_TrabBoneNLEmbed_r "r"
47#define _IFT_TrabBoneNLEmbed_m "m"
49
50namespace oofem {
51class GaussPoint;
52
57{
58protected:
61
62public:
64
65 void printOutputAt(FILE *file, TimeStep *tStep) const override;
66
71
72 const char *giveClassName() const override { return "TrabBoneNLEmbedStatus"; }
73
74 void initTempStatus() override;
75 void updateYourself(TimeStep *tStep) override;
76
77 void saveContext(DataStream &stream, ContextMode mode) override;
78 void restoreContext(DataStream &stream, ContextMode mode) override;
79
81};
82
87{
88protected:
89 double R = 0.;
90 double mParam = 0.;
91
92public:
93 TrabBoneNLEmbed(int n, Domain * d);
94
95 const char *giveClassName() const override { return "TrabBoneNLEmbed"; }
96 const char *giveInputRecordName() const override { return _IFT_TrabBoneNLEmbed_Name; }
97
98 void initializeFrom(InputRecord &ir) override;
99 void giveInputRecord(DynamicInputRecord &input) override;
100
102
103 double computeCumPlastStrain(GaussPoint *gp, TimeStep *tStep) const override;
104
105 FloatArrayF<6> giveRealStressVector_3d(const FloatArrayF<6> &strain, GaussPoint *gp, TimeStep *tStep) const override;
106
107 double computeLocalCumPlastStrain(const FloatArrayF<6> &strain, GaussPoint *gp, TimeStep *tStep) const
108 {
109 return TrabBoneEmbed :: computeCumPlastStrain(gp, tStep);
110 }
111
112 void updateBeforeNonlocAverage(const FloatArray &strainVector, GaussPoint *gp, TimeStep *tStep) const override;
113 double computeWeightFunction(const double cl, const FloatArray &src, const FloatArray &coord) const override;
114
115 int hasBoundedSupport() const override { return 1; }
116
118 virtual void giveSupportRadius(double &radius) { radius = this->R; }
119
120protected:
121 std::unique_ptr<MaterialStatus> CreateStatus(GaussPoint *gp) const override { return std::make_unique<TrabBoneNLEmbedStatus>(gp); }
122};
123} // end namespace oofem
124#endif
TrabBoneEmbedStatus(GaussPoint *g)
TrabBoneEmbed(int n, Domain *d)
double localCumPlastStrainForAverage
Equivalent strain for averaging.
void printOutputAt(FILE *file, TimeStep *tStep) const override
Print receiver's output to given stream.
void updateYourself(TimeStep *tStep) override
double giveLocalCumPlastStrainForAverage() const
Gives the local cumulative plastic strain.
Interface * giveInterface(InterfaceType it) override
void saveContext(DataStream &stream, ContextMode mode) override
void setLocalCumPlastStrainForAverage(double ls)
Sets the local cumulative plastic strain.
void restoreContext(DataStream &stream, ContextMode mode) override
const char * giveClassName() const override
double computeWeightFunction(const double cl, const FloatArray &src, const FloatArray &coord) const override
TrabBoneNLEmbed(int n, Domain *d)
Interface * giveInterface(InterfaceType) override
int hasBoundedSupport() const override
const char * giveClassName() const override
void initializeFrom(InputRecord &ir) override
virtual void giveSupportRadius(double &radius)
Determines the width (radius) of limited support of weighting function.
const char * giveInputRecordName() const override
void giveInputRecord(DynamicInputRecord &input) override
double computeLocalCumPlastStrain(const FloatArrayF< 6 > &strain, GaussPoint *gp, TimeStep *tStep) const
void updateBeforeNonlocAverage(const FloatArray &strainVector, GaussPoint *gp, TimeStep *tStep) const override
std::unique_ptr< MaterialStatus > CreateStatus(GaussPoint *gp) const override
double computeCumPlastStrain(GaussPoint *gp, TimeStep *tStep) const override
FloatArrayF< 6 > giveRealStressVector_3d(const FloatArrayF< 6 > &strain, GaussPoint *gp, TimeStep *tStep) const override
Default implementation relies on giveRealStressVector for second Piola-Kirchoff stress.
long ContextMode
Definition contextmode.h:43
#define _IFT_TrabBoneNLEmbed_Name

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