35 #ifndef linearstability_h 36 #define linearstability_h 38 #include "../sm/EngineeringModels/structengngmodel.h" 49 #define _IFT_LinearStability_Name "linearstability" 50 #define _IFT_LinearStability_nroot "nroot" 51 #define _IFT_LinearStability_rtolv "rtolv" 52 #define _IFT_LinearStability_stype "stype" 81 std :: unique_ptr< SparseGeneralEigenValueSystemNM >
nMethod;
83 std :: unique_ptr< SparseLinearSystemNM >
nMethodLS;
87 loadVector(), displacementVector(), eigVec(), eigVal()
127 #endif // linearstability_h
GenEigvalSolverType
Types of general eigenvalue solvers.
std::unique_ptr< SparseGeneralEigenValueSystemNM > nMethod
virtual void updateYourself(TimeStep *tStep)
Updates internal state after finishing time step.
virtual void doStepOutput(TimeStep *tStep)
Prints the ouput of the solution step (using virtual this->printOutputAtservice) to the stream detemi...
The purpose of DataStream abstract class is to allow to store/restore context to different streams...
double & at(int i)
Coefficient access function.
ValueModeType
Type representing the mode of UnknownType or CharType, or similar types.
This base class is an abstraction for all numerical methods solving sparse linear system of equations...
virtual void setActiveVector(int i)
Only relevant for eigen value analysis. Otherwise does noting.
This base class is an abstraction for numerical algorithm.
virtual fMode giveFormulation()
Indicates type of non linear computation (total or updated formulation).
std::unique_ptr< SparseLinearSystemNM > nMethodLS
Numerical method used to solve the static problem.
int numberOfRequiredEigenValues
virtual NumericalMethod * giveNumericalMethod(MetaStep *mStep)
Returns reference to receiver's numerical method.
#define _IFT_LinearStability_Name
LinearStability(int i, EngngModel *_master=NULL)
virtual const char * giveClassName() const
Returns class name of the receiver.
This class implements way for examining critical load of structure.
virtual contextIOResultType restoreContext(DataStream &stream, ContextMode mode)
Restores the state of model from output stream.
int numberOfSteps
Total number of time steps.
int ndomains
Number of receiver domains.
GenEigvalSolverType solverType
Numerical method used to solve the problem.
std::unique_ptr< SparseMtrx > stiffnessMatrix
SparseLinearSystemNM * giveNumericalMethodForLinStaticProblem(TimeStep *tStep)
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description in input reader.
virtual double giveUnknownComponent(ValueModeType type, TimeStep *tStep, Domain *d, Dof *dof)
Returns requested unknown.
Class representing vector of real numbers.
virtual ~LinearStability()
Implementation of matrix containing floating point numbers.
virtual TimeStep * giveNextStep()
Returns next time step (next to current step) of receiver.
IRResultType
Type defining the return values of InputRecord reading operations.
fMode
Type representing the type of formulation (total or updated) of non-linear computation.
virtual const char * giveInputRecordName() const
long ContextMode
Context mode (mask), defining the type of information written/read to/from context.
This class implements extension of EngngModel for structural models.
virtual contextIOResultType saveContext(DataStream &stream, ContextMode mode)
Stores the state of model to output stream.
Abstract base class representing the "problem" under consideration.
virtual void printOutputAt(FILE *file, TimeStep *tStep)
Prints output of receiver to output domain stream, for given time step.
the oofem namespace is to define a context or scope in which all oofem names are defined.
void terminateLinStatic(TimeStep *tStep)
Abstract class Dof represents Degree Of Freedom in finite element mesh.
virtual double giveEigenValue(int eigNum)
Only relevant for eigen value analysis. Otherwise returns zero.
virtual void solveYourselfAt(TimeStep *tStep)
Solves problem for given time step.
virtual void solveYourself()
Starts solution process.
FloatArray displacementVector
Class representing solution step.
std::unique_ptr< SparseMtrx > initialStressMatrix