OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
crackexportmodule.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 - 2012 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 program is free software; you can redistribute it and/or modify
21  * it under the terms of the GNU General Public License as published by
22  * the Free Software Foundation; either version 2 of the License, or
23  * (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
28  * GNU General Public License for more details.
29  *
30  * You should have received a copy of the GNU General Public License
31  * along with this program; if not, write to the Free Software
32  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
33  */
34 
35 #ifndef crackexportmodule_h
36 #define crackexportmodule_h
37 
38 #include "exportmodule.h"
39 #include "floatarray.h"
40 #include "intarray.h"
41 
43 
44 #define _IFT_CrackExportModule_Name "crackvectorexport"
45 #define _IFT_CrackExportModule_cs "cs"
46 #define _IFT_CrackExportModule_threshold "threshold"
47 //#define _IFT_CrackExportModule_exporttype "exporttype"
49 
50 namespace oofem {
55 {
56 protected:
58  double threshold;
59 
60 public:
62  CrackExportModule(int n, EngngModel *e);
64  virtual ~CrackExportModule();
65 
67  virtual void doOutput(TimeStep *tStep, bool forcedOutput);
68  virtual void initialize();
69  virtual void terminate();
70  virtual const char *giveClassName() const { return "CrackExportModule"; }
71  virtual const char *giveInputRecordName() const { return _IFT_CrackExportModule_Name; }
72 
73  static void writeToOutputFile(const std :: string &iName, const std :: vector< FloatArray > &iPoints);
74 };
75 
76 } // namespace oofem
77 
78 #endif // crackexportmodule_h
virtual const char * giveClassName() const
Returns class name of the receiver.
virtual const char * giveInputRecordName() const
virtual ~CrackExportModule()
Destructor.
static void writeToOutputFile(const std::string &iName, const std::vector< FloatArray > &iPoints)
#define _IFT_CrackExportModule_Name
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
Represents export output module - a base class for all output modules.
Definition: exportmodule.h:71
Class implementing an array of integers.
Definition: intarray.h:61
CrackExportModule(int n, EngngModel *e)
Constructor.
IRResultType
Type defining the return values of InputRecord reading operations.
Definition: irresulttype.h:47
Class representing the general Input Record.
Definition: inputrecord.h:101
virtual void doOutput(TimeStep *tStep, bool forcedOutput)
Writes the output.
virtual void terminate()
Terminates the receiver.
Abstract base class representing the "problem" under consideration.
Definition: engngm.h:181
This one-purpose export module serves for estimation of the total water loss.
the oofem namespace is to define a context or scope in which all oofem names are defined.
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:28 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011