OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
plczdamageradius.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 - 2013 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 PLCZDAMAGERADIUS_H_
36 #define PLCZDAMAGERADIUS_H_
37 
38 #include "xfem/propagationlaw.h"
39 #include "intarray.h"
40 
41 #define _IFT_PLCZdamageRadius_Name "propagationlawczdamageradius"
42 #define _IFT_PLCZdamageRadius_IncRadius "incrementradius"
43 #define _IFT_PLCZdamageRadius_DamageThreshold "damagethreshold"
44 #define _IFT_PLCZdamageRadius_PropagationCS "propagationcs"
45 
46 namespace oofem {
47 class Domain;
48 class EnrichmentDomain;
49 class DynamicInputRecord;
50 
51 
60 class OOFEM_EXPORT PLCZdamageRadius : public PropagationLaw
61 {
62 public:
63  PLCZdamageRadius() : mIncrementRadius(0.0), mDamageThreshold(0.0), mPropCS(0) { }
64  virtual ~PLCZdamageRadius() { }
65 
66  virtual const char *giveClassName() const { return "PLCZdamageRadius"; }
67  virtual const char *giveInputRecordName() const { return _IFT_PLCZdamageRadius_Name; }
68 
69  virtual IRResultType initializeFrom(InputRecord *ir);
70  virtual void giveInputRecord(DynamicInputRecord &input);
71 
72  virtual bool hasPropagation() const { return mIncrementRadius > 0.; }
73  virtual bool propagateInterface(Domain &iDomain, EnrichmentFront &iEnrFront, TipPropagation &oTipProp);
74 
75  void setIncrementRadius(double iIncrementRadius) {mIncrementRadius = std::move(iIncrementRadius);}
76  void setdamageThreshold(double idamageThreshold) {mDamageThreshold = std::move(idamageThreshold);}
77 
78  IntArray givePropagationCrossSections() {return this->mPropCS;}
79 
80 protected:
81  double mIncrementRadius, mDamageThreshold;
83 };
84 } // end namespace oofem
85 
86 
87 #endif /* PLHOOPSTRESSCIRC_H_ */
Class and object Domain.
Definition: domain.h:115
#define _IFT_PLCZdamageRadius_Name
void setIncrementRadius(double iIncrementRadius)
virtual bool hasPropagation() const
Updates the geometry of evolving XFEM interfaces.
Class implementing an array of integers.
Definition: intarray.h:61
IntArray givePropagationCrossSections()
Class EnrichmentFront: describes the edge or tip of an XFEM enrichment.
IRResultType
Type defining the return values of InputRecord reading operations.
Definition: irresulttype.h:47
Propagation law that propagates the (delamination) crack in a radius distance from element nodes when...
Class representing the general Input Record.
Definition: inputrecord.h:101
void setdamageThreshold(double idamageThreshold)
Class representing the a dynamic Input Record.
virtual const char * giveInputRecordName() const
virtual const char * giveClassName() const
the oofem namespace is to define a context or scope in which all oofem names are defined.

This page is part of the OOFEM documentation. Copyright (c) 2011 Borek Patzak
Project e-mail: info@oofem.org
Generated at Tue Jan 2 2018 20:07:30 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011