|
OOFEM 3.0
|
#include <errorcheckingexportmodule.h>
Public Member Functions | |
| ErrorCheckingExportModule (int n, EngngModel *e) | |
| ErrorCheckingExportModule (const ErrorCheckingExportModule &)=delete | |
| ErrorCheckingExportModule & | operator= (const ErrorCheckingExportModule &)=delete |
| void | initialize () override |
| void | terminate () override |
| void | initializeFrom (InputRecord &ir) override |
| Initializes receiver according to object description stored in input record. | |
| void | doOutput (TimeStep *tStep, bool forcedOutput=false) override |
| const char * | giveClassName () const override |
| Returns class name of the receiver. | |
| const char * | giveInputRecordName () const |
| Public Member Functions inherited from oofem::ExportModule | |
| ExportModule (int n, EngngModel *e) | |
| Constructor. Creates empty Output Manager with number n. | |
| virtual | ~ExportModule () |
| Destructor. | |
| void | doForcedOutput (TimeStep *tStep) |
| bool | testSubStepOutput () |
| virtual void | initializeElementSet () |
Protected Member Functions | |
| bool | scanToErrorChecks (std ::ifstream &stream, double &errorTolerance) |
| std::unique_ptr< ErrorCheckingRule > | giveErrorCheck (std ::ifstream &stream, double errorTolerance) |
| void | writeCheck (Domain *domain, TimeStep *tStep) |
| void | readRulesFromTextFile (InputRecord &ir) |
| void | readRulesFromRecords (DataReader &dr, InputRecord &ir) |
| Protected Member Functions inherited from oofem::ExportModule | |
| int | giveNumberOfRegions () |
| Returns number of regions (aka regionSets). | |
| Set * | giveRegionSet (int i) |
| Returns element set. | |
| std::string | giveOutputBaseFileName (TimeStep *tStep) |
| bool | testTimeStepOutput (TimeStep *tStep) |
| bool | testDomainOutput (int n) |
| std::string | errorInfo (const char *func) const |
| Returns string for prepending output (used by error reporting macros). | |
Protected Attributes | |
| std::string | filename |
| std ::vector< std ::unique_ptr< ErrorCheckingRule > > | errorCheckingRules |
| bool | allPassed = true |
| bool | writeChecks = false |
| IntArray | writeIST |
| bool | extractorMode = false |
| FILE * | outputFile |
| Protected Attributes inherited from oofem::ExportModule | |
| int | number |
| Component number. | |
| EngngModel * | emodel |
| Problem pointer. | |
| bool | tstep_all_out_flag |
| Indicates all steps selection. | |
| int | tstep_step_out |
| User timeStep Output step. Indicates every tstep_step_out-th step selected. | |
| std ::list< Range > | tsteps_out |
| List of user selected step numbers. | |
| bool | tstep_substeps_out_flag |
| bool | domain_all_flag |
| Indicates all domains. | |
| IntArray | domainMask |
| Domain selection mask. | |
| IntArray | regionSets |
| regions represented by sets | |
| double | timeScale |
| Scaling time in output, e.g. conversion from seconds to hours. | |
| Set | defaultElementSet |
| Default region set. | |
| bool | pythonExport |
| Output is carried out as a python list instead of writing files. | |
Checks error in analysis (for automatic regression tests). Exits with error if results are incorrect.
Definition at line 212 of file errorcheckingexportmodule.h.
| oofem::ErrorCheckingExportModule::ErrorCheckingExportModule | ( | int | n, |
| EngngModel * | e ) |
Definition at line 770 of file errorcheckingexportmodule.C.
References oofem::ExportModule::ExportModule().
Referenced by ErrorCheckingExportModule(), and operator=().
|
delete |
References ErrorCheckingExportModule().
|
overridevirtual |
Writes the output. Abstract service.
| tStep | Time step. |
| forcedOutput | If true, no testTimeStepOutput should be done. |
Implements oofem::ExportModule.
Definition at line 853 of file errorcheckingexportmodule.C.
References allPassed, oofem::ExportModule::emodel, errorCheckingRules, extractorMode, oofem::TimeStep::isNotTheLastStep(), OOFEM_ERROR, OOFEM_LOG_INFO, outputFile, oofem::ExportModule::testTimeStepOutput(), writeCheck(), and writeChecks.
Referenced by operator=().
|
inlineoverridevirtual |
Returns class name of the receiver.
Implements oofem::ExportModule.
Definition at line 240 of file errorcheckingexportmodule.h.
|
protected |
Definition at line 980 of file errorcheckingexportmodule.C.
References OOFEM_ERROR.
Referenced by readRulesFromTextFile().
|
inline |
Definition at line 241 of file errorcheckingexportmodule.h.
References _IFT_ErrorCheckingExportModule_Name.
|
overridevirtual |
Reimplemented from oofem::ExportModule.
Definition at line 898 of file errorcheckingexportmodule.C.
References oofem::ExportModule::emodel, extractorMode, filename, and outputFile.
Referenced by operator=().
|
overridevirtual |
Initializes receiver according to object description stored in input record.
Reimplemented from oofem::ExportModule.
Definition at line 775 of file errorcheckingexportmodule.C.
References _IFT_ErrorCheckingExportModule_extractormode, _IFT_ErrorCheckingExportModule_filename, _IFT_ErrorCheckingExportModule_writeIST, allPassed, oofem::ExportModule::emodel, errorCheckingRules, extractorMode, filename, oofem::InputRecord::giveReader(), oofem::InputRecord::hasField(), IR_GIVE_FIELD, IR_GIVE_OPTIONAL_FIELD, OOFEM_WARNING, readRulesFromRecords(), readRulesFromTextFile(), writeChecks, and writeIST.
Referenced by operator=().
|
delete |
References doOutput(), ErrorCheckingExportModule(), initialize(), initializeFrom(), and terminate().
|
protected |
Definition at line 829 of file errorcheckingexportmodule.C.
References errorCheckingRules, oofem::DataReader::giveGroupRecords(), oofem::InputRecord::giveOptionalField(), and oofem::DataReader::IR_elemRec.
Referenced by initializeFrom().
|
protected |
Definition at line 811 of file errorcheckingexportmodule.C.
References _IFT_ErrorCheckingExportModule_filename, errorCheckingRules, filename, giveErrorCheck(), and scanToErrorChecks().
Referenced by initializeFrom().
|
protected |
Definition at line 963 of file errorcheckingexportmodule.C.
Referenced by readRulesFromTextFile().
|
overridevirtual |
Terminates the receiver. The terminating messages should be printed. All the streams should be closed.
Reimplemented from oofem::ExportModule.
Definition at line 907 of file errorcheckingexportmodule.C.
References extractorMode, and outputFile.
Referenced by operator=().
Definition at line 916 of file errorcheckingexportmodule.C.
References oofem::FloatArray::at(), oofem::IntegrationRule::getIntegrationPoint(), oofem::Domain::giveDofManagers(), oofem::Domain::giveElements(), oofem::TimeStep::giveNumber(), oofem::IntegrationRule::giveNumberOfIntegrationPoints(), oofem::FloatArray::giveSize(), oofem::TimeStep::isNotTheLastStep(), oofem::TimeStep::isTheFirstStep(), and writeIST.
Referenced by doOutput().
|
protected |
Definition at line 217 of file errorcheckingexportmodule.h.
Referenced by doOutput(), and initializeFrom().
|
protected |
Definition at line 216 of file errorcheckingexportmodule.h.
Referenced by doOutput(), initializeFrom(), readRulesFromRecords(), and readRulesFromTextFile().
|
protected |
Definition at line 220 of file errorcheckingexportmodule.h.
Referenced by doOutput(), initialize(), initializeFrom(), and terminate().
|
protected |
Definition at line 215 of file errorcheckingexportmodule.h.
Referenced by initialize(), initializeFrom(), and readRulesFromTextFile().
|
protected |
Definition at line 221 of file errorcheckingexportmodule.h.
Referenced by doOutput(), initialize(), and terminate().
|
protected |
Definition at line 218 of file errorcheckingexportmodule.h.
Referenced by doOutput(), and initializeFrom().
|
protected |
Definition at line 219 of file errorcheckingexportmodule.h.
Referenced by initializeFrom(), and writeCheck().