OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
latticematstatus.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 latticematstatus_h
36 #define latticematstatus_h
37 
38 #include "../sm/Materials/structuralms.h"
39 
40 namespace oofem {
41 class GaussPoint;
42 class Dictionary;
43 class Domain;
44 class NonlocalMaterialStatusExtension;
45 
52 {
53 public:
54  LatticeMaterialStatus(int n, Domain * d, GaussPoint * g);
56  virtual ~LatticeMaterialStatus() { }
57 
58  virtual void printOutputAt(FILE *, TimeStep *) { }
59 
60  virtual void initTempStatus() { }
61 
62  virtual void updateYourself(TimeStep *) { }
63 
65  virtual double giveNormalStress() { return 0; }
66 
68  virtual double giveOldNormalStress(){return 0;}
69 
71  virtual int hasBeenUpdated(){return 0;}
72 
73 
74  virtual const char *giveClassName() const { return "LatticeMaterialStatus"; }
75 
77  virtual void setTempCrackFlag(int val) = 0;
78 
83  virtual int giveCrackFlag() { return 0; }
84 
88  virtual double giveCrackWidth() { return 0; }
89 
90 
94  virtual double giveOldCrackWidth() { return 0; }
95 
96 
102  virtual double giveDissipation() { return 0; }
103 
109  virtual double giveDeltaDissipation() { return 0; }
110 
112 };
113 } // end namespace oofem
114 #endif // matstatus_h
LatticeMaterialStatus(int n, Domain *d, GaussPoint *g)
Class and object Domain.
Definition: domain.h:115
virtual void initTempStatus()
Initializes the temporary internal variables, describing the current state according to previously re...
virtual int giveCrackFlag()
Returns the crack flag.
virtual double giveNormalStress()
Gives the last equilibrated normal stress.
This class implements a structural material status information.
Definition: structuralms.h:65
This class implements a base lattice material status.
virtual const char * giveClassName() const
virtual int hasBeenUpdated()
Gives the last equilibrated normal stress.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
virtual double giveDeltaDissipation()
Returns the increment of dissipation computed at the GaussPoint of the element.
virtual void setTempCrackFlag(int val)=0
Sets the temp_crack_flag.
virtual void updateYourself(TimeStep *)
Update equilibrium history variables according to temp-variables.
IRResultType
Type defining the return values of InputRecord reading operations.
Definition: irresulttype.h:47
virtual double giveDissipation()
Returns the energy dissipation computed at the GaussPoint of the element.
Class representing the general Input Record.
Definition: inputrecord.h:101
virtual double giveOldCrackWidth()
virtual ~LatticeMaterialStatus()
Destructor.
the oofem namespace is to define a context or scope in which all oofem names are defined.
Class representing integration point in finite element program.
Definition: gausspoint.h:93
Class representing solution step.
Definition: timestep.h:80
virtual void printOutputAt(FILE *, TimeStep *)
Print receiver's output to given stream.
virtual double giveOldNormalStress()
Gives the last equilibrated normal stress.

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:29 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011