41 #ifndef sparsenonlinsystemnm_h 42 #define sparsenonlinsystemnm_h 51 #define _IFT_NonLinearStatic_randPertAmplitude "rpa" 52 #define _IFT_NonLinearStatic_randSeed "rseed" 53 #define _IFT_NonLinearStatic_pert "pert" 54 #define _IFT_NonLinearStatic_pertw "pertw" 62 class SparseLinearSystemNM;
156 virtual void convertPertMap();
157 virtual void applyPerturbation(
FloatArray* displacement);
159 virtual const char *
giveClassName()
const {
return "SparseNonLinearSystemNM"; }
161 std :: string
errorInfo(
const char *func)
const {
return std :: string(giveClassName()) +
"::" + func; }
164 #endif // sparsenonlinsystemnm_h virtual SparseLinearSystemNM * giveLinearSolver()
Constructs (if necessary) and returns a linear solver.
virtual bool referenceLoad() const
Returns true if reference loads are used (i.e.
std::string errorInfo(const char *func) const
Error printing helper.
Base class for all matrices stored in sparse format.
virtual double giveCurrentStepLength()
Returns step length.
IntArray igp_PertDmanDofSrcArray
virtual ~SparseNonLinearSystemNM()
Destructor.
This base class is an abstraction for all numerical methods solving sparse linear system of equations...
This base class is an abstraction for numerical algorithm.
virtual void setStepLength(double s)
Sets the step length.
virtual const char * giveClassName() const
unsigned long NM_Status
Mask defining NumMetod Status; which can be asked after finishing computation by Numerical Method...
Class implementing an array of integers.
virtual void printState(FILE *outputStream)
Prints status message of receiver to output stream.
referenceLoadInputModeType
The following parameter allows to specify how the reference load vector is obtained from given totalL...
Class representing vector of real numbers.
IRResultType
Type defining the return values of InputRecord reading operations.
FloatArray igp_PertWeightArray
double randPertAmplitude
Amplitude of a random perturbation applied on the solution before the iteration process.
SparseNonLinearSystemNM(Domain *d, EngngModel *m)
Constructor.
Abstract base class representing the "problem" under consideration.
the oofem namespace is to define a context or scope in which all oofem names are defined.
Class representing solution step.
This base class is an abstraction for all numerical methods solving sparse nonlinear system of equati...