OOFEM 3.0
Loading...
Searching...
No Matches
xfemstructuremanager.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 XFEMSTRUCTUREMANAGER_H_
36#define XFEMSTRUCTUREMANAGER_H_
37
38#include "xfem/xfemmanager.h"
39
40#include <memory>
41
43
44#define _IFT_XfemStructureManager_Name "xfemstructuremanager"
45#define _IFT_XfemStructureManager_splitCracks "splitcracks"
46#define _IFT_XfemStructureManager_nonstandardCZ "nonstandardcz"
47#define _IFT_XfemStructureManager_minCrackLength "mincracklength"
48#define _IFT_XfemStructureManager_crackMergeTol "crackmergetol"
50
51namespace oofem {
52
53class MaterialForceEvaluator;
54
63{
64public:
66 virtual ~XfemStructureManager();
67
69 void initializeFrom(InputRecord &ir) override;
70 void giveInputRecord(DynamicInputRecord &input) override;
71
72 int instanciateYourself(DataReader &dr) override;
73 const char *giveClassName() const override { return "XfemStructureManager"; }
74 const char *giveInputRecordName() const override { return _IFT_XfemStructureManager_Name; }
75 virtual void postInitialize() override;
76
77 void propagateFronts(bool &oAnyFronHasPropagated) override;
78
82 void updateYourself(TimeStep *tStep) override;
83
84 void splitCracks();
85
86 void removeShortCracks();
87
88 bool tipsHaveOppositeDirection(EnrichmentFront *iEf1, EnrichmentFront *iEf2);
89 void mergeCloseCracks();
90
91 bool giveUseNonStdCz() const { return mNonstandardCz; }
92
94 double computeTotalCrackLength();
95
96protected:
97
102
107
112
117
121 std :: unique_ptr< MaterialForceEvaluator > mpMatForceEvaluator;
122};
123} /* namespace oofem */
124
125#endif /* XFEMSTRUCTUREMANAGER_H_ */
XfemManager(Domain *domain)
Constructor.
int instanciateYourself(DataReader &dr) override
XfemStructureManager(Domain *domain)
const char * giveInputRecordName() const override
void initializeFrom(InputRecord &ir) override
Initializes receiver according to object description stored in input record.
std ::unique_ptr< MaterialForceEvaluator > mpMatForceEvaluator
void giveInputRecord(DynamicInputRecord &input) override
const char * giveClassName() const override
#define OOFEM_EXPORT
Definition oofemcfg.h:7
#define _IFT_XfemStructureManager_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