55 std :: string initFileName;
57 if ( (
initStream = fopen(initFileName.c_str(),
"r") ) == NULL ) {
58 OOFEM_ERROR(
"failed to open file %s", initFileName.c_str());
virtual IRResultType initializeFrom(InputRecord *ir)=0
Initializes receiver according to object description stored in input record.
#define _IFT_InitModule_initfilename
FILE * initStream
Initialization file.
EngngModel * emodel
Problem pointer.
IRResultType
Type defining the return values of InputRecord reading operations.
InitModule(int n, EngngModel *e)
Constructor. Creates empty Init Module with number n.
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.
virtual ~InitModule()
Destructor.