35 #ifndef eigenvaluedynamic_h 36 #define eigenvaluedynamic_h 47 #define _IFT_EigenValueDynamic_Name "eigenvaluedynamic" 48 #define _IFT_EigenValueDynamic_nroot "nroot" 49 #define _IFT_EigenValueDynamic_rtolv "rtolv" 50 #define _IFT_EigenValueDynamic_stype "stype" 79 std :: unique_ptr< SparseGeneralEigenValueSystemNM >
nMethod;
109 #endif // eigenvaluedynamic_h
GenEigvalSolverType
Types of general eigenvalue solvers.
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.
virtual double giveEigenValue(int eigNum)
Only relevant for eigen value analysis. Otherwise returns zero.
virtual contextIOResultType saveContext(DataStream &stream, ContextMode mode)
Stores the state of model to output stream.
This base class is an abstraction for numerical algorithm.
virtual void doStepOutput(TimeStep *tStep)
Prints the ouput of the solution step (using virtual this->printOutputAtservice) to the stream detemi...
virtual void setActiveVector(int i)
Only relevant for eigen value analysis. Otherwise does noting.
virtual NumericalMethod * giveNumericalMethod(MetaStep *mStep)
Returns reference to receiver's numerical method.
virtual void updateYourself(TimeStep *tStep)
Updates internal state after finishing time step.
int numberOfRequiredEigenValues
EigenValueDynamic(int i, EngngModel *_master=NULL)
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description in input reader.
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.
virtual void solveYourselfAt(TimeStep *tStep)
Solves problem for given time step.
SparseMtrxType
Enumerative type used to identify the sparse matrix type.
virtual double giveUnknownComponent(ValueModeType type, TimeStep *tStep, Domain *d, Dof *dof)
Returns requested unknown.
SparseMtrxType sparseMtrxType
Class representing vector of real numbers.
std::unique_ptr< SparseGeneralEigenValueSystemNM > nMethod
Numerical method used to solve the problem.
Implementation of matrix containing floating point numbers.
IRResultType
Type defining the return values of InputRecord reading operations.
std::unique_ptr< SparseMtrx > stiffnessMatrix
virtual TimeStep * giveNextStep()
Returns next time step (next to current step) of receiver.
long ContextMode
Context mode (mask), defining the type of information written/read to/from context.
virtual ~EigenValueDynamic()
Abstract base class representing the "problem" under consideration.
GenEigvalSolverType solverType
the oofem namespace is to define a context or scope in which all oofem names are defined.
This class implements way for examining eigenvalues and eigenvectors in dynamic problems.
Abstract class Dof represents Degree Of Freedom in finite element mesh.
std::unique_ptr< SparseMtrx > massMatrix
double rtolv
Relative tolerance.
virtual const char * giveClassName() const
Returns class name of the receiver.
Class representing solution step.
virtual void printOutputAt(FILE *file, TimeStep *tStep)
Prints output of receiver to output domain stream, for given time step.