OOFEM 3.0
Loading...
Searching...
No Matches
outputmanager.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 outputmanager_h
36#define outputmanager_h
37
38#include "oofemenv.h"
39#include "intarray.h"
40#include "range.h"
41#include "inputrecord.h"
42
43#include <list>
44
46
47#define _IFT_OutputManager_Name "outputmanager"
48#define _IFT_OutputManager_tstepall "tstep_all"
49#define _IFT_OutputManager_tstepstep "tstep_step"
50#define _IFT_OutputManager_dofmanall "dofman_all"
51#define _IFT_OutputManager_elementall "element_all"
52#define _IFT_OutputManager_tstepsout "tsteps_out"
53#define _IFT_OutputManager_dofmanoutput "dofman_output"
54#define _IFT_OutputManager_dofmanexcept "dofman_except"
55#define _IFT_OutputManager_elementoutput "element_output"
56#define _IFT_OutputManager_elementexcept "element_except"
58
59namespace oofem {
60class Domain;
61class TimeStep;
62
82{
83protected:
91 std :: list< Range >tsteps_out;
92
96 std :: list< Range >dofman_out;
98 std :: list< Range >dofman_except;
99
103 std :: list< Range >element_out;
105 std :: list< Range >element_except;
106
107public:
108
112 void initializeFrom(InputRecord &ir);
113
118 void doDofManOutput(FILE *, TimeStep *);
123 void doElementOutput(FILE *, TimeStep *);
124
129 int testDofManOutput(int, TimeStep *);
134 int testElementOutput(int, TimeStep *);
140 int _testDofManOutput(int number);
146 int _testElementOutput(int number);
153 const char *giveClassName() const { return "OutputManager"; }
154
159 void beCopyOf(OutputManager *om);
160};
161} // end namespace oofem
162#endif // outputmanager_h
int tstep_step_out
User timeStep Output step. Indicates every tstep_step_out-th step selected.
int _testDofManOutput(int number)
std ::list< Range > tsteps_out
List of user selected step numbers.
std ::list< Range > element_except
List of element numbers or their ranges being excluded.
void doElementOutput(FILE *, TimeStep *)
void initializeFrom(InputRecord &ir)
Initializes receiver according to object description stored in input record.
std ::list< Range > dofman_out
List of dofmanager numbers or their ranges being selected.
const char * giveClassName() const
prints simple error message and exits
int _testElementOutput(int number)
Domain * domain
Domain pointer.
int dofman_all_out_flag
Indicates all dofmanagers are selected.
OutputManager(Domain *d)
Creates empty Output Manager. By default all components are selected.
int tstep_all_out_flag
Indicates all steps selection.
int testElementOutput(int, TimeStep *)
int testDofManOutput(int, TimeStep *)
std ::list< Range > element_out
List of element numbers or their ranges being selected.
void doDofManOutput(FILE *, TimeStep *)
std ::list< Range > dofman_except
List of dofmanager numbers or their ranges being excluded.
int element_all_out_flag
Indicates all elements are selected.
int testTimeStepOutput(TimeStep *)
#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