XC Open source finite element analysis program
|
PETSC library based SOE solver. More...
#include <PetscSolver.h>
Public Member Functions | |
int | solve (void) |
int | setSize (void) |
virtual bool | setLinearSOE (PetscSOE &theSOE) |
Sets the system of equations to solve. | |
int | sendSelf (CommParameters &) |
int | recvSelf (const CommParameters &) |
Public Member Functions inherited from XC::LinearSOESolver | |
virtual double | getDeterminant (void) |
Public Member Functions inherited from XC::MovableObject | |
MovableObject (int classTag, int dbTag) | |
Constructor. | |
MovableObject (int classTag) | |
Constructor. | |
MovableObject (const MovableObject &otro) | |
Copy constructor. | |
MovableObject & | operator= (const MovableObject &otro) |
Operacdor asignación. | |
int | getClassTag (void) const |
Returns the tag de la clase. | |
int | getDbTag (void) const |
Returns the tag para la database. | |
int | getDbTag (CommParameters &) |
Returns the tag para la database. | |
void | setDbTag (int dbTag) |
Asigna el tag para la database. | |
void | setDbTag (CommParameters &) |
Asigna, sólo si es preciso, el tag para la database. | |
virtual int | setParameter (const std::vector< std::string > &argv, Parameter ¶m) |
virtual int | updateParameter (int parameterID, Information &info) |
virtual int | activateParameter (int parameterID) |
virtual int | setVariable (const std::string &variable, Information &) |
Returns the identificador de la variable cuyo nombre being passed as parameter. | |
virtual int | getVariable (const std::string &variable, Information &) |
Public Member Functions inherited from XC::DistributedBase | |
DistributedBase (void) | |
Constructor. | |
virtual DbTagData & | getDbTagData (void) const |
Returns a vector to store class dbTags. | |
const int & | getDbTagDataPos (const int &i) const |
Returns the data at the i-th position. | |
void | setDbTagDataPos (const int &i, const int &v) |
Sets the data at the i-th position. | |
void | inicComm (const int &dataSize) const |
Initializes communication. | |
Protected Member Functions | |
PetscSolver (KSPType mth, PCType precond) | |
PetscSolver (KSPType mth, PCType precond, double rTol, double aTol, double dTol, int maxIts) | |
virtual LinearSOESolver * | getCopy (void) const |
bool | setLinearSOE (LinearSOE *theSOE) |
Sets the system of equations to solve. | |
Protected Member Functions inherited from XC::LinearSOESolver | |
LinearSOESolver (int classTag=0) | |
Protected Member Functions inherited from XC::Solver | |
Solver (int classTag) | |
Constructor. | |
Protected Attributes | |
PetscSOE * | theSOE |
Friends | |
class | ActorPetscSOE |
class | ShadowPetscSOE |
PETSC library based SOE solver.