35 #include "../sm/EngineeringModels/adaptlinearstatic.h" 65 mesher->createMesh(tStep, 1, this->
giveDomain(1)->giveSerialNumber() + 1, & newDomain);
82 if ( !this->
giveDomain(1)->giveOutputManager()->testTimeStepOutput(tStep) ) {
147 int meshPackageId = 0;
150 if ( meshPackageId == 1 ) {
152 }
else if ( meshPackageId == 2 ) {
void setDomain(Domain *d)
Sets Domain; should also re-initialize attributes if necessary.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description in input reader.
virtual void updateYourself(TimeStep *tStep)
Updates internal state after finishing time step.
The purpose of DataStream abstract class is to allow to store/restore context to different streams...
MeshPackageType meshPackage
Meshing package used for refinements.
ErrorEstimator * defaultErrEstimator
Error estimator. Useful for adaptivity, or simply printing errors output.
virtual RemeshingStrategy giveRemeshingStrategy(TimeStep *tStep)=0
Determines, if the remeshing is needed, and if needed, the type of strategy used. ...
REGISTER_EngngModel(ProblemSequence)
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description in input reader.
virtual void updateDomainLinks()
Updates domain links after the domains of receiver have changed.
virtual int estimateError(EE_ErrorMode mode, TimeStep *tStep)=0
Estimates the error on associated domain at given time step.
virtual contextIOResultType restoreContext(DataStream &stream, ContextMode mode)
Restores the state of model from output stream.
virtual RemeshingCriteria * giveRemeshingCrit()=0
Returns reference to associated remeshing criteria.
virtual void updateDomainLinks()
Updates domain links after the domains of receiver have changed.
MesherInterface * createMesherInterface(MeshPackageType name, Domain *d)
virtual void updateYourself(TimeStep *tStep)
Updates internal state after finishing time step.
RemeshingStrategy
Type representing the remeshing strategy.
IRResultType
Type defining the return values of InputRecord reading operations.
virtual contextIOResultType restoreContext(DataStream &stream, ContextMode mode)
Restores the state of model from output stream.
virtual void printOutputAt(FILE *file, TimeStep *tStep)
Prints output of receiver to output domain stream, for given time step.
virtual double giveValue(EE_ValueType type, TimeStep *tStep)=0
Returns the characteristic value of given type.
#define _IFT_AdaptiveLinearStatic_meshpackage
ClassFactory & classFactory
long ContextMode
Context mode (mask), defining the type of information written/read to/from context.
virtual void printOutputAt(FILE *file, TimeStep *tStep)
Prints output of receiver to output domain stream, for given time step.
virtual int initializeAdaptive(int tStepNumber)
Initializes the newly generated discretization state according to previous solution.
the oofem namespace is to define a context or scope in which all oofem names are defined.
Domain * giveDomain(int n)
Service for accessing particular problem domain.
Class representing solution step.