57 emodel->solveYourself();
97 ret *= emodel->checkConsistency();
110 emodel->saveContext(stream, mode);
123 emodel->restoreContext(stream, mode);
virtual void solveYourself()
Starts solution process.
std::string dataOutputFileName
Path to output stream.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description in input reader.
int activeModel
Keeps track of the active model in the analysis sequence.
virtual contextIOResultType restoreContext(DataStream &stream, ContextMode mode)
Restores the state of model from output stream.
The purpose of DataStream abstract class is to allow to store/restore context to different streams...
virtual int instanciateYourself(DataReader &dr, InputRecord *ir, const char *outFileName, const char *desc)
Initializes whole problem according to its description stored in inputStream.
std::vector< std::string > inputStreamNames
virtual void drawNodes(oofegGraphicContext &gc)
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]
virtual void drawYourself(oofegGraphicContext &gc)
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description in input reader.
Class representing the abstraction for input data source.
REGISTER_EngngModel(ProblemSequence)
virtual int read(int *data, int count)=0
Reads count integer values into array pointed by data.
virtual contextIOResultType saveContext(DataStream &stream, ContextMode mode)
Stores the state of model to output stream.
problemMode pMode
Domain mode.
virtual int write(const int *data, int count)=0
Writes count integer values from array pointed by data.
EngngModel * InstanciateProblem(DataReader &dr, problemMode mode, int contextFlag, EngngModel *_master, bool parallelFlag)
Instanciates the new problem.
Meta-engineering problem used to solve a sequence off different problems, all using the same domain...
#define _IFT_ProblemSequence_engineeringModels
virtual int checkProblemConsistency()
Allows programmer to test problem its internal data, before computation begins.
virtual void drawElements(oofegGraphicContext &gc)
virtual contextIOResultType saveContext(DataStream &stream, ContextMode mode)
Stores the state of model to output stream.
std::vector< std::unique_ptr< EngngModel > > emodelList
List of engineering models to solve sequentially.
IRResultType
Type defining the return values of InputRecord reading operations.
virtual int instanciateYourself(DataReader &dr, InputRecord *ir, const char *outFileName, const char *desc)
Initializes whole problem according to its description stored in inputStream.
long ContextMode
Context mode (mask), defining the type of information written/read to/from context.
virtual ~ProblemSequence()
Destructor.
Abstract base class representing the "problem" under consideration.
Class representing the implementation of plain text date reader.
virtual contextIOResultType restoreContext(DataStream &stream, ContextMode mode)
Restores the state of model from output stream.
the oofem namespace is to define a context or scope in which all oofem names are defined.
ContextOutputMode contextOutputMode
Domain context output mode.