escript  Revision_
Public Member Functions | Public Attributes | List of all members
paso::LinearSystem Struct Reference

#include <Functions.h>

Inheritance diagram for paso::LinearSystem:
paso::Function

Public Member Functions

 LinearSystem (SystemMatrix_ptr A, double *b, Options *options)
 
virtual ~LinearSystem ()
 
virtual SolverResult call (double *value, const double *arg, Performance *pp)
 sets value=F(arg) More...
 
virtual dim_t getLen ()
 returns the length of the vectors used by this function More...
 
- Public Member Functions inherited from paso::Function
 Function (const escript::JMPI &mpi_info)
 
virtual ~Function ()
 
SolverResult derivative (double *J0w, const double *w, const double *f0, const double *x0, double *setoff, Performance *pp)
 

Public Attributes

SystemMatrix_ptr mat
 
double * tmp
 
double * b
 
dim_t n
 
- Public Attributes inherited from paso::Function
const escript::JMPI mpi_info
 

Constructor & Destructor Documentation

◆ LinearSystem()

paso::LinearSystem::LinearSystem ( SystemMatrix_ptr  A,
double *  b,
Options options 
)

References b, mat, n, and tmp.

◆ ~LinearSystem()

paso::LinearSystem::~LinearSystem ( )
virtual

References tmp.

Member Function Documentation

◆ call()

SolverResult paso::LinearSystem::call ( double *  value,
const double *  arg,
Performance pp 
)
virtual

sets value=F(arg)

Implements paso::Function.

References b, paso::util::copy(), mat, n, paso::NoError, PASO_ONE, and tmp.

◆ getLen()

virtual dim_t paso::LinearSystem::getLen ( )
inlinevirtual

returns the length of the vectors used by this function

Implements paso::Function.

Member Data Documentation

◆ b

double* paso::LinearSystem::b

Referenced by call(), and LinearSystem().

◆ mat

SystemMatrix_ptr paso::LinearSystem::mat

Referenced by call(), and LinearSystem().

◆ n

dim_t paso::LinearSystem::n

Referenced by call(), and LinearSystem().

◆ tmp

double* paso::LinearSystem::tmp

Referenced by call(), LinearSystem(), and ~LinearSystem().


The documentation for this struct was generated from the following files: