35 #ifndef staticstructural_h 36 #define staticstructural_h 38 #include "../sm/EngineeringModels/structengngmodel.h" 39 #include "../sm/EngineeringModels/xfemsolverinterface.h" 44 #define _IFT_StaticStructural_Name "staticstructural" 45 #define _IFT_StaticStructural_deltat "deltat" 46 #define _IFT_StaticStructural_prescribedTimes "prescribedtimes" 47 #define _IFT_StaticStructural_solvertype "solvertype" 48 #define _IFT_StaticStructural_stiffmode "stiffmode" 49 #define _IFT_StaticStructural_nonlocalExtension "nonlocalext" 51 #define _IFT_StaticStructural_recomputeaftercrackpropagation "recomputeaftercrackprop" 70 std :: unique_ptr< PrimaryField >
field;
74 std :: unique_ptr< SparseNonLinearSystemNM >
nMethod;
129 #endif // staticstructural_h virtual contextIOResultType saveContext(DataStream &stream, ContextMode mode)
Stores the state of model to output stream.
virtual void solveYourself()
Starts solution process.
virtual int forceEquationNumbering()
Forces equation renumbering on all domains associated to engng model.
virtual void updateAttributes(MetaStep *mStep)
Update receiver attributes according to step metaStep attributes.
The purpose of DataStream abstract class is to allow to store/restore context to different streams...
MatResponseMode stiffMode
Provides extra solver functionality needed for XFEM.
virtual void terminate(TimeStep *tStep)
Terminates the solution of time step.
ValueModeType
Type representing the mode of UnknownType or CharType, or similar types.
This base class is an abstraction for numerical algorithm.
Solves a static structural problem.
virtual NumericalMethod * giveNumericalMethod(MetaStep *mStep)
Returns reference to receiver's numerical method.
virtual int estimateMaxPackSize(IntArray &commMap, DataStream &buff, int packUnpackType)
Determines the space necessary for send/receive buffer.
Class implementing an array of integers.
MatResponseMode
Describes the character of characteristic material matrix.
std::unique_ptr< SparseMtrx > stiffnessMatrix
virtual double giveLoadLevel()
Returns the current load level.
virtual fMode giveFormulation()
Indicates type of non linear computation (total or updated formulation).
NumericalCmpn
Type representing numerical component.
std::unique_ptr< SparseNonLinearSystemNM > nMethod
virtual const char * giveInputRecordName() const
SparseMtrxType
Enumerative type used to identify the sparse matrix type.
virtual void updateDomainLinks()
Updates domain links after the domains of receiver have changed.
InitialGuess
Means to choose methods for finding a good initial guess.
SparseMtrxType sparseMtrxType
virtual void updateComponent(TimeStep *tStep, NumericalCmpn cmpn, Domain *d)
Updates components mapped to numerical method if necessary during solution process.
virtual ~StaticStructural()
virtual double giveEndOfTimeOfInterest()
Returns end of time interest (time corresponding to end of time integration).
#define _IFT_StaticStructural_Name
virtual bool requiresEquationRenumbering(TimeStep *tStep)
Returns true if equation renumbering is required for given solution step.
Class representing vector of real numbers.
virtual TimeStep * giveNextStep()
Returns next time step (next to current step) of receiver.
IRResultType
Type defining the return values of InputRecord reading operations.
virtual void solveYourselfAt(TimeStep *tStep)
Solves problem for given time step.
virtual contextIOResultType restoreContext(DataStream &stream, ContextMode mode)
Restores the state of model from output stream.
bool mRecomputeStepAfterPropagation
fMode
Type representing the type of formulation (total or updated) of non-linear computation.
virtual int requiresUnknownsDictionaryUpdate()
Indicates if EngngModel requires Dofs dictionaries to be updated.
long ContextMode
Context mode (mask), defining the type of information written/read to/from context.
virtual double giveUnknownComponent(ValueModeType type, TimeStep *tStep, Domain *d, Dof *dof)
Returns requested unknown.
This class implements extension of EngngModel for structural models.
StaticStructural(int i, EngngModel *_master=NULL)
std::unique_ptr< PrimaryField > field
Abstract base class representing the "problem" under consideration.
virtual int giveUnknownDictHashIndx(ValueModeType mode, TimeStep *tStep)
This method is responsible for computing unique dictionary id (ie hash value) from given valueModeTyp...
the oofem namespace is to define a context or scope in which all oofem names are defined.
InitialGuess initialGuessType
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description in input reader.
Abstract class Dof represents Degree Of Freedom in finite element mesh.
FloatArray prescribedTimes
Class representing solution step.
void setSolution(TimeStep *tStep, const FloatArray &vectorToStore)
FloatArray internalForces
virtual const char * giveClassName() const
Returns class name of the receiver.