30 #ifndef LinearSOEData_h 31 #define LinearSOEData_h 33 #include <solution/system_of_eqn/linearSOE/LinearSOE.h> 34 #include "utility/matrix/Vector.h" 47 void inic(
const size_t &);
48 inline const double &getB(
const size_t &i)
const 50 inline double &getB(
const size_t &i)
52 inline const double &getX(
const size_t &i)
const 54 inline double &getX(
const size_t &i)
56 inline double *getPtrB(
void)
57 {
return B.getDataPtr(); }
58 inline const double *getPtrB(
void)
const 59 {
return B.getDataPtr(); }
60 inline double *getPtrX(
void)
61 {
return X.getDataPtr(); }
62 inline const double *getPtrX(
void)
const 63 {
return X.getDataPtr(); }
67 virtual int getNumEqn(
void)
const;
68 virtual void zeroB(
void);
69 virtual void zeroX(
void);
70 virtual void zero(
void);
72 virtual int addB(
const Vector &,
const double &fact= 1.0);
73 virtual int addB(
const Vector &,
const ID &,
const double &fact= 1.0);
74 virtual int setB(
const XC::Vector &v,
const double &fact= 1.0);
75 virtual void setX(
int loc,
double value);
76 virtual void setX(
const Vector &x);
77 virtual const Vector &getX(
void)
const;
78 virtual Vector &getX(
void);
79 virtual const Vector &getB(
void)
const;
80 virtual Vector &getB(
void);
81 virtual double normRHS(
void)
const;
void inic(const size_t &)
1d arrays containing coefficients of B and X
Definition: LinearSOEData.cc:38
Solution procedure for the finite element problem. The solution procedure is definde by specifiying: ...
Definition: SoluMethod.h:76
Vector B
order of A
Definition: LinearSOEData.h:45
LinearSOEData(SoluMethod *, int classTag, int N=0)
Constructor.
Definition: LinearSOEData.cc:34
Data (size, arrays,...) for linear system of equations.
Definition: LinearSOEData.h:41
Linea system of equations. This is the class definition for LinearSOE. LinearSOE is an abstract base ...
Definition: LinearSOE.h:86
Communication parameters between processes.
Definition: CommParameters.h:65
================================================================================
Definition: ContinuaReprComponent.h:34