49 mpEnrichmentFunc(NULL)
63 std::vector<std::unique_ptr<EnrichmentItem>> eiList;
64 return std::move( eiList );
89 OOFEM_ERROR(
"failed to create enrichment function (%s)", name.c_str() );
Class representing the implementation of a dynamic data reader for in-code use.
virtual void appendInputRecords(DynamicDataReader &oDR)
virtual ~NucleationCriterion()
virtual std::vector< std::unique_ptr< EnrichmentItem > > nucleateEnrichmentItems()
Class representing the abstraction for input data source.
EnrichmentFunction * createEnrichmentFunction(const char *name, int num, Domain *domain)
NucleationCriterion(Domain *ipDomain)
virtual IRResultType initializeFrom(InputRecord *ir)
virtual InputRecord * giveInputRecord(InputRecordType irType, int recordId)=0
Returns input record corresponding to given InputRecordType value and its record_id.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
IRResultType
Type defining the return values of InputRecord reading operations.
virtual const char * giveClassName() const =0
ClassFactory & classFactory
the oofem namespace is to define a context or scope in which all oofem names are defined.
virtual int instanciateYourself(DataReader &dr)
EnrichmentFunction * mpEnrichmentFunc
virtual const char * giveInputRecordName() const =0
void insertInputRecord(InputRecordType type, InputRecord *record)
Main purpose of this class it the possibility to add new input records in code.