64 #ifndef ShadowPetscSOE_h 65 #define ShadowPetscSOE_h 67 #include <solution/system_of_eqn/linearSOE/LinearSOE.h> 68 #include <solution/system_of_eqn/linearSOE/petsc/PetscSOE.h> 89 mutable int sendData[3];
104 int addA(
const Matrix &,
const ID &,
double fact = 1.0);
105 int addB(
const Vector &,
const ID &,
const double &fact= 1.0);
106 int setB(
const Vector &,
const double &fact= 1.0);
115 void setX(
int loc,
double value);
123 inline SystemOfEqn *ShadowPetscSOE::getCopy(
void)
const void setX(int loc, double value)
The LinearSOE object is responsible for setting .
Definition: ShadowPetscSOE.cpp:414
Float vector abstraction.
Definition: Vector.h:94
PETSC library based SOE solver.
Definition: PetscSolver.h:75
Communication parameters between processes.
Definition: Communicator.h:66
Linear system of equations.
Definition: LinearSOE.h:92
int setSize(Graph &theGraph)
Determines and sets the size of the system.
Definition: ShadowPetscSOE.cpp:175
Vector of integers.
Definition: ID.h:95
const Vector & getX(void) const
Return a const reference to the vector .
Definition: ShadowPetscSOE.cpp:349
double normRHS(void) const
Return the 2-norm of the vector .
Definition: ShadowPetscSOE.cpp:399
System of equations base class.
Definition: SystemOfEqn.h:90
const Vector & getB(void) const
Return a const reference to the vector .
Definition: ShadowPetscSOE.cpp:389
int addA(const Matrix &, const ID &, double fact=1.0)
The LinearSOE object assembles fact times the Matrix M into the matrix $A$.
Definition: ShadowPetscSOE.cpp:322
int recvSelf(const Communicator &)
Receive the object.
Definition: ShadowPetscSOE.cpp:438
void zeroA(void)
To zero the matrix , i.e.
Definition: ShadowPetscSOE.cpp:334
PETSC based system of equations.
Definition: PetscSOE.h:85
The Graph class provides the abstraction of a graph.
Definition: Graph.h:94
int addB(const Vector &, const ID &, const double &fact=1.0)
The LinearSOE object assembles fact times the Vector V into the vector $b$.
Definition: ShadowPetscSOE.cpp:326
int sendSelf(Communicator &)
Send the object.
Definition: ShadowPetscSOE.cpp:430
Solution strategy for the finite element problem.
Definition: SolutionStrategy.h:94
int getNumEqn(void) const
Returns the number of equations in the system.
Definition: ShadowPetscSOE.cpp:156
void zeroB(void)
To zero the vector , i.e.
Definition: ShadowPetscSOE.cpp:341
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
Matrix of floats.
Definition: Matrix.h:111
int setB(const Vector &, const double &fact=1.0)
The LinearSOE object sets the vector b to be fact times the vector V.
Definition: ShadowPetscSOE.cpp:330
int solve(void)
Computes the solution of the system of equations.
Definition: ShadowPetscSOE.cpp:167
??.
Definition: ShadowPetscSOE.h:80