OOFEM 3.0
Loading...
Searching...
No Matches
vtkxmllatticeexportmodule.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 vtkxmllatticeexportmodule_h
36#define vtkxmllatticeexportmodule_h
37
38#include "vtkxmlexportmodule.h"
39#include "floatmatrix.h"
40
41
43
44#define _IFT_VTKXMLLatticeExportModule_Name "vtkxmllattice"
45#define _IFT_VTKXMLLatticeExportModule_cross "cross"
47
48namespace oofem {
58{
59protected:
60
67
69
70 void giveSwitches(IntArray &answer, int location);
71
72public:
73
78
79 std::ofstream fileStreamCross;
80
82
83 void initializeFrom(InputRecord &ir) override;
84
85 std::string giveOutputFileNameCross(TimeStep *tStep);
86
87 std::ofstream giveOutputStreamCross(TimeStep *tStep);
88
89 void doOutput(TimeStep *tStep, bool forcedOutput = false) override;
90
91 void doOutputNormal(TimeStep *tStep, bool forcedOutput = false);
92
93 void doOutputCross(TimeStep *tStep, bool forcedOutput = false);
94
95 const char *giveClassName() const override { return "VTKXMLLatticeExportModule"; }
96
97 bool writeVTKPieceCross(ExportRegion &vtkPiece, TimeStep *tStep);
98
99 void setupVTKPiece(ExportRegion &vtkPiece, TimeStep *tStep, Set& region) override;
100
101 void writeCellVarsCross(ExportRegion &vtkPiece);
102
103 void setupVTKPieceCross(ExportRegion &vtkPiece, TimeStep *tStep, Set& region);
104
105 int initRegionNodeNumbering(ExportRegion& piece, Domain *domain, TimeStep *tStep, Set& region) override;
106
107 void exportPrimaryVars(ExportRegion &piece, Set& region, IntArray& primaryVarsToExport, NodalRecoveryModel& smoother, TimeStep *tStep) override;
108 void exportIntVars(ExportRegion &piece, Set& region, IntArray& internalVarsToExport, NodalRecoveryModel& smoother, TimeStep *tStep) override;
109};
110} // end namespace oofem
111#endif // vtkxmllatticeexportmodule_h
Stores all neccessary data (of a region) in a VTKPiece so it can be exported later.
VTKXMLExportModule(int n, EngngModel *e)
Constructor. Creates empty Output Manager. By default all components are selected.
void initializeFrom(InputRecord &ir) override
Initializes receiver according to object description stored in input record.
void doOutputCross(TimeStep *tStep, bool forcedOutput=false)
void giveSwitches(IntArray &answer, int location)
void doOutputNormal(TimeStep *tStep, bool forcedOutput=false)
std::string giveOutputFileNameCross(TimeStep *tStep)
void doOutput(TimeStep *tStep, bool forcedOutput=false) override
std::ofstream giveOutputStreamCross(TimeStep *tStep)
const char * giveClassName() const override
Returns class name of the receiver.
VTKXMLLatticeExportModule(int n, EngngModel *e)
Constructor. Creates empty Output Manager. By default all components are selected.
#define OOFEM_EXPORT
Definition oofemcfg.h:7

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