Go to the documentation of this file.
62 ExportModule :: initializeFrom(ir);
67 fprintf(file,
"\nStarting analysis on: %s\n", ctime(&
emodel->giveStartTime()) );
68 fprintf(file,
"%s\n",
emodel->giveDescription().c_str());
72OutputExportModule :: giveOutputStream()
77 OOFEM_ERROR(
"Can't open output file %s",
emodel->giveOutputBaseFileName().c_str());
83OutputExportModule :: doOutput(
TimeStep *tStep,
bool forcedOutput)
91 fprintf(file,
"\n==============================================================");
93 fprintf(file,
"\n==============================================================\n");
97 fprintf(file,
"\nUser time consumed by solution step %d: %.3f [s]\n\n", tStep->
giveNumber(),
emodel->giveSolutionStepTime());
101OutputExportModule :: terminate()
104 int rhrs, rmin, rsec, uhrs, umin, usec;
105 time_t endTime = time(NULL);
107 emodel->giveAnalysisTime(rhrs, rmin, rsec, uhrs, umin, usec);
109 fprintf(out,
"\nFinishing analysis on: %s\n", ctime(& endTime) );
110 fprintf(out,
"Real time consumed: %03dh:%02dm:%02ds\n", rhrs, rmin, rsec);
111 fprintf(out,
"User time consumed: %03dh:%02dm:%02ds\n\n\n", uhrs, umin, usec);
#define REGISTER_ExportModule(class)
EngngModel * emodel
Problem pointer.
bool testTimeStepOutput(TimeStep *tStep)
FILE * giveOutputStream()
IntArray elementSets
Set which contains elements which should be exported.
IntArray nodeSets
Set which contains nodes which should be exported.
double giveTargetTime()
Returns target time.
int giveNumber()
Returns receiver's number.
OOFEM_EXPORT const char * PRG_HEADER
#define _IFT_OutputExportModule_elementSets
#define _IFT_OutputExportModule_nodeSets
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