OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
structuralmaterialevaluator.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 structuralmaterialevaluator_h
36 #define structuralmaterialevaluator_h
37 
38 #include "engngm.h"
39 
40 #include <fstream>
41 
43 
44 #define _IFT_StructuralMaterialEvaluator_Name "structuralmaterialevaluator"
45 #define _IFT_StructuralMaterialEvaluator_deltat "deltat"
46 #define _IFT_StructuralMaterialEvaluator_numberOfTimeSteps "nsteps"
47 #define _IFT_StructuralMaterialEvaluator_componentFunctions "componentfunctions"
48 #define _IFT_StructuralMaterialEvaluator_stressControl "stresscontrol"
49 #define _IFT_StructuralMaterialEvaluator_outputVariables "vars"
50 #define _IFT_StructuralMaterialEvaluator_tolerance "tolerance"
51 #define _IFT_StructuralMaterialEvaluator_keepTangent "keeptangent"
52 
53 
54 namespace oofem {
55 class GaussPoint;
56 
65 {
66 protected:
67  double deltaT;
68  double keepTangent;
69 
73 
74  std::vector< std :: unique_ptr< GaussPoint > >gps;
75 
76  std :: ofstream outfile;
77 
78  double tolerance;
79 
80 public:
81  StructuralMaterialEvaluator(int i, EngngModel * _master = NULL);
83 
85 
86  virtual void solveYourself();
87 
88  virtual int checkConsistency();
89  virtual void doStepOutput(TimeStep *tStep);
90  virtual TimeStep *giveNextStep();
91 
92  virtual const char *giveClassName() const { return "StructuralMaterialEvaluator"; }
93  virtual const char *giveInputRecordName() const { return _IFT_StructuralMaterialEvaluator_Name; }
94 };
95 } // end namespace oofem
96 
97 #endif // structuralmaterialevaluator_h
virtual void doStepOutput(TimeStep *tStep)
Prints the ouput of the solution step (using virtual this->printOutputAtservice) to the stream detemi...
virtual TimeStep * giveNextStep()
Returns next time step (next to current step) of receiver.
virtual int checkConsistency()
Allows programmer to test some receiver&#39;s internal data, before computation begins.
Class implementing an array of integers.
Definition: intarray.h:61
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description in input reader.
virtual const char * giveInputRecordName() const
For testing material behavior, particularly useful for multiscale modeling where one can test a singl...
IRResultType
Type defining the return values of InputRecord reading operations.
Definition: irresulttype.h:47
virtual const char * giveClassName() const
Returns class name of the receiver.
std::vector< std::unique_ptr< GaussPoint > > gps
IntArray sControl
Time functions controlling each component of the deviatoric part of the stress.
Class representing the general Input Record.
Definition: inputrecord.h:101
virtual void solveYourself()
Starts solution process.
Abstract base class representing the "problem" under consideration.
Definition: engngm.h:181
the oofem namespace is to define a context or scope in which all oofem names are defined.
#define _IFT_StructuralMaterialEvaluator_Name
StructuralMaterialEvaluator(int i, EngngModel *_master=NULL)
Class representing solution step.
Definition: timestep.h:80

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