|
OOFEM 3.0
|
#include <linearstability.h>
Public Member Functions | |
| LinearStability (int i, EngngModel *master=nullptr) | |
| virtual | ~LinearStability () |
| void | solveYourself () override |
| void | solveYourselfAt (TimeStep *tStep) override |
| void | doStepOutput (TimeStep *tStep) override |
| void | printOutputAt (FILE *file, TimeStep *tStep) override |
| void | terminateLinStatic (TimeStep *tStep) |
| int | requiresNewLsh () |
| void | updateYourself (TimeStep *tStep) override |
| double | giveUnknownComponent (ValueModeType type, TimeStep *tStep, Domain *d, Dof *dof) override |
| int | giveUnknownDictHashIndx (ValueModeType mode, TimeStep *tStep) override |
| bool | newDofHandling () override |
| void | initializeFrom (InputRecord &ir) override |
| void | saveContext (DataStream &stream, ContextMode mode) override |
| void | restoreContext (DataStream &stream, ContextMode mode) override |
| TimeStep * | giveNextStep () override |
| Returns next time step (next to current step) of receiver. | |
| double | giveEigenValue (int eigNum) override |
| Only relevant for eigen value analysis. Otherwise returns zero. | |
| void | setActiveVector (int i) override |
| Only relevant for eigen value analysis. Otherwise does noting. | |
| NumericalMethod * | giveNumericalMethod (MetaStep *mStep) override |
| Returns reference to receiver's numerical method. | |
| SparseLinearSystemNM * | giveNumericalMethodForLinStaticProblem (TimeStep *tStep) |
| const char * | giveInputRecordName () const |
| const char * | giveClassName () const override |
| Returns class name of the receiver. | |
| fMode | giveFormulation () override |
| Public Member Functions inherited from oofem::StructuralEngngModel | |
| StructuralEngngModel (int i, EngngModel *master=nullptr) | |
| Creates new StructuralEngngModel with number i, associated to domain d. | |
| virtual | ~StructuralEngngModel () |
| Destructor. | |
| void | updateYourself (TimeStep *tStep) override |
| int | checkConsistency () override |
| void | computeReaction (FloatArray &answer, TimeStep *tStep, int di) |
| void | terminate (TimeStep *tStep) override |
| void | buildReactionTable (IntArray &restrDofMans, IntArray &restrDofs, IntArray &eqn, TimeStep *tStep, int di) |
| void | updateInternalRHS (FloatArray &answer, TimeStep *tStep, Domain *d, FloatArray *eNorm) override |
| void | showSparseMtrxStructure (int type, oofegGraphicContext &gc, TimeStep *tStep) override |
| EngngModel (int i, EngngModel *_master=NULL) | |
| virtual | ~EngngModel () |
| Destructor. | |
| EngngModel (const EngngModel &)=delete | |
| EngngModel & | operator= (const EngngModel &)=delete |
| Domain * | giveDomain (int n) |
| void | setDomain (int i, Domain *ptr, bool iDeallocateOld=true) |
| int | giveNumberOfDomains () |
| Returns number of domains in problem. | |
| const std::string & | giveDescription () const |
| const time_t & | giveStartTime () |
| bool | giveSuppressOutput () const |
| virtual ErrorEstimator * | giveDomainErrorEstimator (int n) |
| virtual MaterialInterface * | giveMaterialInterface (int n) |
| void | setNumberOfEquations (int id, int neq) |
| FILE * | giveOutputStream () |
| Returns file descriptor of output file. | |
| std::string | giveOutputBaseFileName () |
| std::string | giveReferenceFileName () |
| void | letOutputBaseFileNameBe (const std ::string &src) |
| ContextOutputMode | giveContextOutputMode () const |
| int | giveContextOutputStep () const |
| void | setContextOutputMode (ContextOutputMode contextMode) |
| void | setUDContextOutputMode (int cStep) |
| double | giveDeltaT () |
| Returns time step size from the time step controlelr. | |
| void | setDeltaT (double dT) |
| Returns time step size through the time step controlelr. | |
| void | setProblemMode (problemMode pmode) |
| void | setParallelMode (bool newParallelFlag) |
| problemMode | giveProblemMode () const |
| Returns domain mode. | |
| void | setProblemScale (problemScale pscale) |
| problemScale | giveProblemScale () const |
| Returns scale in multiscale simulation. | |
| virtual void | setRenumberFlag () |
| Sets the renumber flag to true. | |
| virtual void | resetRenumberFlag () |
| Sets the renumber flag to false. | |
| double | giveSolutionStepTime () |
| void | giveAnalysisTime (int &rhrs, int &rmin, int &rsec, int &uhrs, int &umin, int &usec) |
| void | terminateAnalysis () |
| virtual void | restartYourself (TimeStep *tS) |
| void | saveStepContext (TimeStep *tStep, ContextMode mode) |
| virtual void | initializeYourself (TimeStep *tStep) |
| virtual int | initializeAdaptive (int tStepNumber) |
| virtual int | giveNumberOfDomainEquations (int di, const UnknownNumberingScheme &num) |
| virtual FieldPtr | giveField (FieldType key, TimeStep *) |
| virtual FieldPtr | giveField (InternalStateType key, TimeStep *) |
| EngngModel * | giveMasterEngngModel () |
| Returns the master engnmodel. | |
| virtual double | giveLoadLevel () |
| Returns the current load level. | |
| int | updateSharedDofManagers (FloatArray &answer, const UnknownNumberingScheme &s, int ExchangeTag) |
| int | exchangeRemoteElementData (int ExchangeTag) |
| virtual int | giveCurrentNumberOfIterations () |
| MPI_Comm | giveParallelComm () |
| Returns the communication object of reciever. | |
| int | packRemoteElementData (ProcessCommunicator &processComm) |
| int | unpackRemoteElementData (ProcessCommunicator &processComm) |
| int | packDofManagers (ArrayWithNumbering *src, ProcessCommunicator &processComm) |
| int | unpackDofManagers (ArrayWithNumbering *dest, ProcessCommunicator &processComm) |
| ProblemCommunicator * | giveProblemCommunicator (EngngModelCommType t) |
| void | initializeCommMaps (bool forceInit=false) |
| virtual int | instanciateYourself (DataReader &dr, InputRecord &ir, const char *outFileName, const char *desc) |
| void | Instanciate_init () |
| int | instanciateDomains (DataReader &dr) |
| Instanciate problem domains by calling their instanciateYourself() service. | |
| int | instanciateMetaSteps (DataReader &dr) |
| Instanciate problem meta steps by calling their instanciateYourself() service. | |
| virtual int | instanciateDefaultMetaStep (InputRecord &ir) |
| Instanciate default metastep, if nmsteps is zero. | |
| virtual void | updateAttributes (MetaStep *mStep) |
| void | initMetaStepAttributes (MetaStep *mStep) |
| virtual void | updateDomainLinks () |
| MetaStep * | giveCurrentMetaStep () |
| Returns current meta step. | |
| virtual TimeStep * | giveCurrentStep (bool force=false) |
| virtual void | adaptTimeStep (double nIter) |
| virtual TimeStep * | givePreviousStep (bool force=false) |
| virtual void | preInitializeNextStep () |
| Does a pre-initialization of the next time step (implement if necessarry). | |
| virtual TimeStep * | giveSolutionStepWhenIcApply (bool force=false) |
| virtual int | giveNumberOfFirstStep (bool force=false) |
| int | giveNumberOfMetaSteps () |
| Return number of meta steps. | |
| MetaStep * | giveMetaStep (int i) |
| Returns the i-th meta step. | |
| int | giveNumberOfSteps (bool force=false) |
| virtual double | giveEndOfTimeOfInterest () |
| Returns end of time interest (time corresponding to end of time integration). | |
| int | giveNumberOfTimeStepWhenIcApply () |
| Returns the time step number, when initial conditions should apply. | |
| ExportModuleManager * | giveExportModuleManager () |
| Returns receiver's export module manager. | |
| EngngModelTimer * | giveTimer () |
| Returns reference to receiver timer (EngngModelTimer). | |
| virtual double | giveInitialTime () |
| return time at the begining of analysis | |
| virtual double | giveFinalTime () |
| virtual int | giveNewEquationNumber (int domain, DofIDItem) |
| virtual int | giveNewPrescribedEquationNumber (int domain, DofIDItem) |
| std::string | giveContextFileName (int tStepNumber, int stepVersion) const |
| std::string | giveDomainFileName (int domainNum, int domainSerNum) const |
| virtual void | updateComponent (TimeStep *tStep, NumericalCmpn cmpn, Domain *d) |
| virtual void | initForNewIteration (Domain *d, TimeStep *tStep, int iterationNumber, const FloatArray &solution) |
| virtual void | updateSolution (FloatArray &solutionVector, TimeStep *tStep, Domain *d) |
| virtual void | updateMatrix (SparseMtrx &mat, TimeStep *tStep, Domain *d) |
| virtual void | initStepIncrements () |
| virtual int | forceEquationNumbering (int i) |
| virtual int | forceEquationNumbering () |
| virtual int | requiresUnknownsDictionaryUpdate () |
| virtual bool | requiresEquationRenumbering (TimeStep *tStep) |
| virtual void | updateDofUnknownsDictionary (DofManager *, TimeStep *) |
| virtual ParallelContext * | giveParallelContext (int n) |
| virtual void | initParallelContexts () |
| virtual void | assemble (SparseMtrx &answer, TimeStep *tStep, const MatrixAssembler &ma, const UnknownNumberingScheme &s, Domain *domain) |
| virtual void | assemble (SparseMtrx &answer, TimeStep *tStep, const MatrixAssembler &ma, const UnknownNumberingScheme &r_s, const UnknownNumberingScheme &c_s, Domain *domain) |
| void | assembleVector (FloatArray &answer, TimeStep *tStep, const VectorAssembler &va, ValueModeType mode, const UnknownNumberingScheme &s, Domain *domain, FloatArray *eNorms=NULL) |
| void | assembleVectorFromDofManagers (FloatArray &answer, TimeStep *tStep, const VectorAssembler &va, ValueModeType mode, const UnknownNumberingScheme &s, Domain *domain, FloatArray *eNorms=NULL) |
| void | assembleVectorFromElements (FloatArray &answer, TimeStep *tStep, const VectorAssembler &va, ValueModeType mode, const UnknownNumberingScheme &s, Domain *domain, FloatArray *eNorms=NULL) |
| void | assembleVectorFromBC (FloatArray &answer, TimeStep *tStep, const VectorAssembler &va, ValueModeType mode, const UnknownNumberingScheme &s, Domain *domain, FloatArray *eNorms=NULL) |
| void | assembleExtrapolatedForces (FloatArray &answer, TimeStep *tStep, CharType type, Domain *domain) |
| void | assemblePrescribedExtrapolatedForces (FloatArray &answer, TimeStep *tStep, CharType type, Domain *domain) |
| virtual int | checkProblemConsistency () |
| virtual void | init () |
| virtual void | postInitialize () |
| virtual void | printOutputAt (FILE *file, TimeStep *tStep, const IntArray &nodeSets, const IntArray &elementSets) |
| void | outputNodes (FILE *file, Domain &domain, TimeStep *tStep, int setNum) |
| void | outputElements (FILE *file, Domain &domain, TimeStep *tStep, int setNum) |
| void | printYourself () |
| Prints state of receiver. Useful for debugging. | |
| virtual void | printDofOutputAt (FILE *stream, Dof *iDof, TimeStep *tStep) |
| virtual int | useNonlocalStiffnessOption () |
| Returns nonzero if nonlocal stiffness option activated. | |
| bool | isParallel () const |
| Returns true if receiver in parallel mode. | |
| int | giveRank () const |
| Returns domain rank in a group of collaborating processes (0..groupSize-1). | |
| int | giveNumberOfProcesses () const |
| Returns the number of collaborating processes. | |
| EngngModelContext * | giveContext () |
| Context requesting service. | |
| virtual int | giveNumberOfSlaveProblems () |
| Returns number of slave problems. | |
| virtual EngngModel * | giveSlaveProblem (int i) |
| Returns i-th slave problem. | |
| virtual bool | giveEquationScalingFlag () |
| Returns the Equation scaling flag, which is used to indicate that governing equation(s) are scaled, or non-dimensionalized. | |
| virtual double | giveVariableScale (VarScaleType varId) |
| Returns the scale factor for given variable type. | |
| virtual int | estimateMaxPackSize (IntArray &commMap, DataStream &buff, int packUnpackType) |
| virtual void | balanceLoad (TimeStep *tStep) |
| virtual LoadBalancer * | giveLoadBalancer () |
| virtual LoadBalancerMonitor * | giveLoadBalancerMonitor () |
| void | initParallel () |
| Request domain rank and problem size. | |
| EngngModel * | giveEngngModel () |
| Returns reference to itself -> required by communicator.h. | |
| virtual bool | isElementActivated (int elemNum) |
| virtual bool | isElementActivated (Element *e) |
| TimeStepController * | giveTimeStepController () |
| Returns the time step controller. | |
| virtual void | drawYourself (oofegGraphicContext &gc) |
| virtual void | drawElements (oofegGraphicContext &gc) |
| virtual void | drawNodes (oofegGraphicContext &gc) |
| std::string | errorInfo (const char *func) const |
| Returns string for prepending output (used by error reporting macros). | |
Private Attributes | |
| std ::unique_ptr< SparseMtrx > | stiffnessMatrix |
| std ::unique_ptr< SparseMtrx > | initialStressMatrix |
| std ::unique_ptr< EigenVectorPrimaryField > | field |
| FloatArray | eigVal |
| int | numberOfRequiredEigenValues |
| double | rtolv |
| GenEigvalSolverType | solverType |
| Numerical method used to solve the problem. | |
| std ::unique_ptr< SparseGeneralEigenValueSystemNM > | nMethod |
| std ::unique_ptr< SparseLinearSystemNM > | nMethodLS |
| Numerical method used to solve the static problem. | |
Additional Inherited Members | |
| Public Types inherited from oofem::EngngModel | |
| enum | EngngModel_UpdateMode { EngngModel_Unknown_Mode , EngngModel_SUMM_Mode , EngngModel_SET_Mode } |
| enum | EngngModelCommType { PC_default , PC_nonlocal } |
| enum | InitialGuess { IG_None = 0 , IG_Tangent = 1 } |
| Protected Types inherited from oofem::EngngModel | |
| enum | { InternalForcesExchangeTag , MassExchangeTag , LoadExchangeTag , ReactionExchangeTag , RemoteElementExchangeTag } |
| Message tags. More... | |
| Protected Member Functions inherited from oofem::StructuralEngngModel | |
| void | printReactionForces (TimeStep *tStep, int id, FILE *out) |
| virtual void | computeExternalLoadReactionContribution (FloatArray &reactions, TimeStep *tStep, int di) |
| void | updateInternalState (TimeStep *tStep) |
| void | printOutputAt (FILE *file, TimeStep *tStep) override |
| virtual void | packMigratingData (TimeStep *tStep) |
| virtual void | unpackMigratingData (TimeStep *tStep) |
| Protected Attributes inherited from oofem::StructuralEngngModel | |
| StateCounterType | internalVarUpdateStamp |
| FloatArray | internalForcesEBENorm |
| Norm of nodal internal forces evaluated on element by element basis (squared). | |
| Protected Attributes inherited from oofem::EngngModel | |
| int | ndomains |
| Number of receiver domains. | |
| std ::vector< std ::unique_ptr< Domain > > | domainList |
| List of problem domains. | |
| int | numberOfSteps |
| Total number of time steps. | |
| int | numberOfEquations |
| Total number of equation in current time step. | |
| int | numberOfPrescribedEquations |
| Total number or prescribed equations in current time step. | |
| IntArray | domainNeqs |
| Number of equations per domain. | |
| IntArray | domainPrescribedNeqs |
| Number of prescribed equations per domain. | |
| bool | renumberFlag |
| Renumbering flag (renumbers equations after each step, necessary if Dirichlet BCs change). | |
| bool | profileOpt |
| Profile optimized numbering flag (using Sloan's algorithm). | |
| int | equationNumberingCompleted |
| Equation numbering completed flag. | |
| int | nMetaSteps |
| Number of meta steps. | |
| std ::vector< MetaStep > | metaStepList |
| List of problem metasteps. | |
| std ::unique_ptr< TimeStep > | stepWhenIcApply |
| Solution step when IC (initial conditions) apply. | |
| std ::unique_ptr< TimeStep > | currentStep |
| Current time step. | |
| std ::unique_ptr< TimeStep > | previousStep |
| Previous time step. | |
| int | number |
| Receivers id. | |
| std::string | dataOutputFileName |
| Path to output stream. | |
| std::string | coreOutputFileName |
| String with core output file name. | |
| FILE * | outputStream |
| Output stream. | |
| std::string | referenceFileName |
| String with reference file name. | |
| ContextOutputMode | contextOutputMode |
| Domain context output mode. | |
| int | contextOutputStep |
| ExportModuleManager | exportModuleManager |
| Export module manager. | |
| InitModuleManager | initModuleManager |
| Initialization module manager. | |
| MonitorManager | monitorManager |
| Monitor manager. | |
| problemMode | pMode |
| Domain mode. | |
| problemScale | pScale |
| Multiscale mode. | |
| time_t | startTime |
| Solution start time. | |
| EngngModel * | master |
| Master e-model; if defined receiver is in maintained (slave) mode. | |
| EngngModelContext * | context |
| Context. | |
| EngngModelTimer | timer |
| E-model timer. | |
| int | parallelFlag |
| Flag indicating that the receiver runs in parallel. | |
| enum fMode | nonLinFormulation |
| Type of non linear formulation (total or updated formulation). | |
| std::unique_ptr< ErrorEstimator > | defaultErrEstimator |
| Error estimator. Useful for adaptivity, or simply printing errors output. | |
| std::unique_ptr< TimeStepController > | timeStepController |
| Time Step controller is responsible for collecting data from analysis, elements, and materials, and select the appropriate timestep size for the next step, or reduce the step in case of convergence problems. | |
| int | rank |
| Domain rank in a group of collaborating processes (0..groupSize-1). | |
| int | numProcs |
| Total number of collaborating processes. | |
| int | nonlocalExt |
| Flag indicating if nonlocal extension active, which will cause data to be sent between shared elements before computing the internal forces. | |
| char | processor_name [PROCESSOR_NAME_LENGTH] |
| Processor name. | |
| MPI_Comm | comm |
| Communication object for this engineering model. | |
| std::unique_ptr< LoadBalancer > | lb |
| Load Balancer. | |
| std::unique_ptr< LoadBalancerMonitor > | lbm |
| bool | loadBalancingFlag |
| If set to true, load balancing is active. | |
| bool | force_load_rebalance_in_first_step |
| Debug flag forcing load balancing after first step. | |
| CommunicatorBuff * | commBuff |
| Common Communicator buffer. | |
| ProblemCommunicator * | communicator |
| Communicator. | |
| ProblemCommunicator * | nonlocCommunicator |
| NonLocal Communicator. Necessary when nonlocal constitutive models are used. | |
| std ::vector< ParallelContext > | parallelContextList |
| List where parallel contexts are stored. | |
| bool | suppressOutput |
| Flag for suppressing output to file. | |
| std::string | simulationDescription |
This class implements way for examining critical load of structure.
Solution of this problem is base on equation in the form of: \( K\cdot y=w (K_\sigma)y \). Currently eigenvalue problem is solved using subspace iteration. The linear static solution, determining normal forces is done in time = 0.
Tasks:
Definition at line 72 of file linearstability.h.
| oofem::LinearStability::LinearStability | ( | int | i, |
| EngngModel * | master = nullptr ) |
Definition at line 63 of file linearstability.C.
References oofem::GES_SubspaceIt, oofem::EngngModel::master, oofem::EngngModel::ndomains, numberOfRequiredEigenValues, oofem::EngngModel::numberOfSteps, rtolv, solverType, and oofem::StructuralEngngModel::StructuralEngngModel().
|
inlinevirtual |
Definition at line 91 of file linearstability.h.
|
overridevirtual |
Prints the ouput of the solution step (using virtual this->printOutputAtservice) to the stream detemined using this->giveOutputStream() method and calls exportModuleManager to do output.
Reimplemented from oofem::EngngModel.
Definition at line 297 of file linearstability.C.
References oofem::EngngModel::exportModuleManager, oofem::Domain::giveDofManagers(), oofem::EngngModel::giveDomain(), oofem::EngngModel::giveOutputStream(), numberOfRequiredEigenValues, printOutputAt(), oofem::TimeStep::setNumber(), oofem::TimeStep::setTime(), and oofem::EngngModel::suppressOutput.
|
inlineoverridevirtual |
Returns class name of the receiver.
Implements oofem::EngngModel.
Definition at line 124 of file linearstability.h.
|
inlineoverridevirtual |
Only relevant for eigen value analysis. Otherwise returns zero.
Reimplemented from oofem::EngngModel.
Definition at line 116 of file linearstability.h.
References eigVal.
|
inlineoverridevirtual |
Indicates type of non linear computation (total or updated formulation). This is used for example on Nodal level to update coordinates if updated formulation is done, or on element level, when non linear contributions are computed.
Reimplemented from oofem::EngngModel.
Definition at line 125 of file linearstability.h.
References oofem::TL.
|
inline |
Definition at line 123 of file linearstability.h.
References _IFT_LinearStability_Name.
|
overridevirtual |
Returns next time step (next to current step) of receiver.
Reimplemented from oofem::EngngModel.
Definition at line 151 of file linearstability.C.
References oofem::EngngModel::currentStep, oofem::EngngModel::giveNumberOfFirstStep(), and oofem::EngngModel::previousStep.
Referenced by solveYourself().
|
overridevirtual |
Returns reference to receiver's numerical method.
Reimplemented from oofem::EngngModel.
Definition at line 73 of file linearstability.C.
References oofem::classFactory, oofem::EngngModel::giveDomain(), nMethod, OOFEM_ERROR, and solverType.
Referenced by solveYourselfAt().
| SparseLinearSystemNM * oofem::LinearStability::giveNumericalMethodForLinStaticProblem | ( | TimeStep * | tStep | ) |
Definition at line 86 of file linearstability.C.
References oofem::classFactory, oofem::EngngModel::giveDomain(), nMethodLS, OOFEM_ERROR, and oofem::ST_Direct.
Referenced by solveYourselfAt().
|
overridevirtual |
Returns requested unknown. Unknown at give time step is characterized by its type and mode and by its equation number. This function is used by Dofs, when they are requested for their associated unknowns.
Reimplemented from oofem::EngngModel.
Definition at line 145 of file linearstability.C.
References field.
|
overridevirtual |
This method is responsible for computing unique dictionary id (ie hash value) from given valueModeType and time step. This function is used by particular dofs to access unknown identified by given parameters from its dictionary using computed index. Usually the hash algorithm should produce index that depend on time step relatively to actual one to avoid storage of complete history.
Reimplemented from oofem::EngngModel.
Definition at line 139 of file linearstability.C.
References oofem::TimeStep::giveNumber(), and numberOfRequiredEigenValues.
|
overridevirtual |
Initializes receiver according to object description in input reader. InitString can be imagined as data record in component database belonging to receiver. Receiver may use value-name extracting functions to extract particular field from record.
Reimplemented from oofem::EngngModel.
Definition at line 100 of file linearstability.C.
References _IFT_EngngModel_suppressOutput, _IFT_LinearStability_nroot, _IFT_LinearStability_rtolv, _IFT_LinearStability_stype, oofem::EngngModel::dataOutputFileName, field, oofem::InputRecord::hasField(), IR_GIVE_FIELD, IR_GIVE_OPTIONAL_FIELD, oofem::EngngModel::nMetaSteps, numberOfRequiredEigenValues, oofem::EngngModel::numberOfSteps, OOFEM_ERROR, oofem::EngngModel::outputStream, PRG_HEADER, rtolv, oofem::EngngModel::simulationDescription, solverType, oofem::EngngModel::startTime, and oofem::EngngModel::suppressOutput.
|
inlineoverridevirtual |
Temporary method for allowing code to seamlessly convert from the old to new way of handling DOF values. (the new way expects the field to store all values, regardless of if they are computed, from BC, or IC.) This is used by MasterDof
Reimplemented from oofem::EngngModel.
Definition at line 110 of file linearstability.h.
|
overridevirtual |
Prints output of receiver to output domain stream, for given time step. Corresponding function for element gauss points is invoked (gaussPoint::printOutputAt).
Reimplemented from oofem::EngngModel.
Definition at line 320 of file linearstability.C.
References eigVal, oofem::Domain::giveDofManagers(), oofem::EngngModel::giveDomain(), oofem::Domain::giveElements(), oofem::Domain::giveOutputManager(), numberOfRequiredEigenValues, oofem::StructuralEngngModel::printReactionForces(), oofem::TimeStep::setNumber(), oofem::TimeStep::setTime(), and oofem::OutputManager::testTimeStepOutput().
Referenced by doStepOutput().
|
inline |
Definition at line 100 of file linearstability.h.
|
overridevirtual |
Restores the state of model from output stream. Restores not only the receiver state, but also same function is invoked for all DofManagers and Elements in associated domain. Note that by restoring element context also contexts of all associated integration points (and material statuses) are restored. Each context is associated with unique time step. Only one context per time step is allowed. Restore context function will restore such context, which is related (through its step number) to time step number and version given in obj parameter. Restoring context will change current time step in order to correspond to newly restored context.
| stream | Context file. |
| mode | Determines amount of info in stream. |
| ContextIOERR | exception if error encountered. |
Reimplemented from oofem::EngngModel.
Definition at line 385 of file linearstability.C.
References oofem::CIO_OK, eigVal, field, and THROW_CIOERR.
|
overridevirtual |
Stores the state of model to output stream. Stores not only the receiver state, but also same function is invoked for all DofManagers and Elements in associated domain. Note that by storing element context also contexts of all associated integration points (and material statuses) are stored.
| stream | Context stream. |
| mode | Determines amount of info in stream. |
| ContextIOERR | If error encountered. |
Reimplemented from oofem::EngngModel.
Definition at line 372 of file linearstability.C.
References oofem::CIO_OK, eigVal, field, and THROW_CIOERR.
Referenced by terminateLinStatic().
|
overridevirtual |
Only relevant for eigen value analysis. Otherwise does noting.
Reimplemented from oofem::EngngModel.
Definition at line 365 of file linearstability.C.
References oofem::EngngModel::giveCurrentStep().
|
overridevirtual |
Starts solution process. Implementation should invoke for each time step solveYourselfAt function with time step as parameter. Time steps are created using giveNextStep function (this will set current time step to newly created, and updates previous step).
Reimplemented from oofem::EngngModel.
Definition at line 168 of file linearstability.C.
References oofem::EngngModel::giveCurrentMetaStep(), oofem::EngngModel::giveCurrentStep(), giveNextStep(), solveYourselfAt(), oofem::StructuralEngngModel::terminate(), oofem::EngngModel::timer, and oofem::EngngModel::updateAttributes().
|
overridevirtual |
Solves problem for given time step. Should assemble characteristic matrices and vectors if necessary and solve problem using appropriate numerical method. After finishing solution, this->updateYourself function for updating solution state and then this->terminate function (for updating nodal and element values) should be called.
Reimplemented from oofem::EngngModel.
Definition at line 179 of file linearstability.C.
References oofem::assemble(), oofem::EngngModel::assembleVector(), oofem::classFactory, eigVal, field, oofem::EngngModel::giveDomain(), oofem::EngngModel::giveMetaStep(), oofem::TimeStep::giveMetaStepNumber(), oofem::EngngModel::giveNumberOfDomainEquations(), giveNumericalMethod(), giveNumericalMethodForLinStaticProblem(), initialStressMatrix, oofem::FloatArray::negated(), nMethod, nMethodLS, numberOfRequiredEigenValues, OOFEM_LOG_INFO, oofem::EngngModel::ReactionExchangeTag, rtolv, oofem::TimeStep::setNumber(), oofem::TimeStep::setTime(), oofem::SMT_Skyline, stiffnessMatrix, terminateLinStatic(), and oofem::EngngModel::updateSharedDofManagers().
Referenced by solveYourself().
| void oofem::LinearStability::terminateLinStatic | ( | TimeStep * | tStep | ) |
Definition at line 261 of file linearstability.C.
References oofem::COM_Always, oofem::COM_Required, oofem::COM_UserDefined, oofem::Domain::giveDofManagers(), oofem::EngngModel::giveDomain(), oofem::Domain::giveElements(), oofem::TimeStep::giveNumber(), oofem::Domain::giveNumberOfDofManagers(), oofem::Domain::giveNumberOfElements(), saveContext(), and VERBOSE_PRINT0.
Referenced by solveYourselfAt().
|
overridevirtual |
Updates internal state after finishing time step. (for example total values may be updated according to previously solved increments). Then element values are also updated (together with related integration points and material statuses).
Reimplemented from oofem::EngngModel.
Definition at line 256 of file linearstability.C.
|
private |
Definition at line 79 of file linearstability.h.
Referenced by giveEigenValue(), printOutputAt(), restoreContext(), saveContext(), and solveYourselfAt().
|
private |
Definition at line 77 of file linearstability.h.
Referenced by giveUnknownComponent(), initializeFrom(), restoreContext(), saveContext(), and solveYourselfAt().
|
private |
Definition at line 76 of file linearstability.h.
Referenced by solveYourselfAt().
|
private |
Definition at line 85 of file linearstability.h.
Referenced by giveNumericalMethod(), and solveYourselfAt().
|
private |
Numerical method used to solve the static problem.
Definition at line 87 of file linearstability.h.
Referenced by giveNumericalMethodForLinStaticProblem(), and solveYourselfAt().
|
private |
Definition at line 81 of file linearstability.h.
Referenced by doStepOutput(), giveUnknownDictHashIndx(), initializeFrom(), LinearStability(), printOutputAt(), and solveYourselfAt().
|
private |
Definition at line 82 of file linearstability.h.
Referenced by initializeFrom(), LinearStability(), and solveYourselfAt().
|
private |
Numerical method used to solve the problem.
Definition at line 84 of file linearstability.h.
Referenced by giveNumericalMethod(), initializeFrom(), and LinearStability().
|
private |
Definition at line 75 of file linearstability.h.
Referenced by solveYourselfAt().