49 std :: string problemName, dataOutputFileName, desc;
61 emodelir->
report_error(
"", __func__,
"", result, __FILE__, __LINE__);
66 OOFEM_WARNING(
"Failed to construct engineering model of type \"%s\".\n", problemName.c_str() );
std::string giveDescription()
Gives the problem description.
std::string giveOutputFileName()
Gives the output file name.
Class representing the abstraction for input data source.
void setProblemMode(problemMode pmode)
Sets domain mode to given mode.
void setParallelMode(bool newParallelFlag)
Sets the problem to run in parallel (or not).
EngngModel * InstanciateProblem(DataReader &dr, problemMode mode, int contextFlag, EngngModel *_master, bool parallelFlag)
Instanciates the new problem.
Enable for post-processing.
virtual InputRecord * giveInputRecord(InputRecordType irType, int recordId)=0
Returns input record corresponding to given InputRecordType value and its record_id.
IRResultType
Type defining the return values of InputRecord reading operations.
ClassFactory & classFactory
virtual int instanciateYourself(DataReader &dr, InputRecord *ir, const char *outFileName, const char *desc)
Initializes whole problem according to its description stored in inputStream.
void setContextOutputMode(ContextOutputMode contextMode)
Sets context output mode of receiver.
Abstract base class representing the "problem" under consideration.
the oofem namespace is to define a context or scope in which all oofem names are defined.
#define OOFEM_WARNING(...)
EngngModel * createEngngModel(const char *name, int num, EngngModel *master)
Creates new instance of engng model corresponding to given keyword.