Go to the documentation of this file.
19 #if !defined escript_SystemMatrixException_20040608_H
20 #define escript_SystemMatrixException_20040608_H
#define MATRIX_FORMAT_BLK1
Definition: Paso.h:63
void mergeMainAndCouple_CSR_OFFSET0(index_t **p_ptr, index_t **p_idx, double **p_val) const
int mm_read_mtx_crd_size(std::istream &f, int *M, int *N, int *nz)
Definition: mmio.cpp:181
static dim_t N
Definition: SparseMatrix_saveHB.cpp:37
void mergeMainAndCouple_CSR_OFFSET0_Block(index_t **p_ptr, index_t **p_idx, double **p_val) const
The base class for escript exceptions.
Definition: EsysException.h:31
void SparseMatrix_MatrixVector_CSC_OFFSET1(const double alpha, const_SparseMatrix_ptr< double > A, const double *in, const double beta, double *out)
Definition: SparseMatrix_MatrixVector.cpp:119
this class holds a (distributed) stiffness matrix
Definition: SystemMatrix.h:50
boost::shared_ptr< Distribution > Distribution_ptr
Definition: Distribution.h:25
#define MATRIX_FORMAT_CSC
Definition: Paso.h:62
void RHS_loadMM_toCSR(const char *filename, double *b, dim_t size)
Definition: SystemMatrix_loadMM.cpp:301
static SystemMatrix_ptr< double > loadMM_toCSC(const char *filename)
Definition: Coupler.h:100
boost::shared_ptr< SystemMatrixPattern > SystemMatrixPattern_ptr
Definition: SystemMatrixPattern.h:40
int mm_read_mtx_array_size(std::istream &f, int *M, int *N)
Definition: mmio.cpp:210
#define mm_is_general(typecode)
Definition: mmio.h:63
Definition: SharedComponents.h:41
void copyRemoteCoupleBlock(bool recreatePattern)
SystemMatrixException(const std::string &str)
Definition: SystemMatrixException.h:38
void SparseMatrix_MatrixVector_CSC_OFFSET0(const double alpha, const_SparseMatrix_ptr< double > A, const double *in, const double beta, double *out)
Definition: SparseMatrix_MatrixVector.cpp:43
Definition: FunctionSpace.h:36
JMPI makeInfo(MPI_Comm comm, bool owncom)
Definition: EsysMPI.cpp:29
#define MATRIX_FORMAT_OFFSET1
Definition: Paso.h:64
Definition: Distribution.h:33
#define MPI_INT
Definition: EsysMPI.h:48
boost::shared_ptr< SystemMatrix< T > > SystemMatrix_ptr
Definition: SystemMatrix.h:42
#define MPI_COMM_WORLD
Definition: EsysMPI.h:50
static dim_t nz
Definition: SparseMatrix_saveHB.cpp:37
int comparIndex(const void *index1, const void *index2)
this int-comparison function is used by qsort/bsearch in various places
Definition: PasoUtil.cpp:25
index_t dim_t
Definition: DataTypes.h:66
boost::shared_ptr< JMPI_ > JMPI
Definition: EsysMPI.h:74
void SparseMatrix_MatrixVector_CSR_OFFSET0_DIAG(const double alpha, const_SparseMatrix_ptr< double > A, const double *in, const double beta, double *out)
Definition: SparseMatrix_MatrixVector.cpp:338
boost::shared_ptr< Coupler< T > > Coupler_ptr
Definition: Coupler.h:43
static SystemMatrix_ptr< double > loadMM_toCSR(const char *filename)
char MM_typecode[4]
Definition: mmio.h:35
void swap(index_t *r, index_t *c, double *v, int left, int right)
Definition: SparseMatrix.cpp:57
Definition: SystemMatrixPattern.h:45
SystemMatrixException exception class.
Definition: SystemMatrixException.h:36
void MatrixVector(double alpha, const T *in, double beta, T *out) const
virtual ~SystemMatrixException()
Destructor.
Definition: SystemMatrixException.h:41
boost::shared_ptr< SharedComponents > SharedComponents_ptr
Definition: SharedComponents.h:36
void mergeMainAndCouple_CSC_OFFSET1(index_t **p_ptr, index_t **p_idx, double **p_val) const
#define MPI_DOUBLE
Definition: EsysMPI.h:49
PasoException exception class.
Definition: PasoException.h:34
int index_t
type for array/matrix indices used both globally and on each rank
Definition: DataTypes.h:61
#define mm_is_real(typecode)
Definition: mmio.h:58
Definition: AbstractContinuousDomain.cpp:23
int mm_read_banner(std::istream &f, MM_typecode *matcode)
Definition: mmio.cpp:103
void SparseMatrix_MatrixVector_CSR_OFFSET0(const double alpha, const_SparseMatrix_ptr< double > A, const double *in, const double beta, double *out)
Definition: SparseMatrix_MatrixVector.cpp:191
void mergeMainAndCouple(index_t **p_ptr, index_t **p_idx, double **p_val) const
static dim_t M
Definition: SparseMatrix_saveHB.cpp:37
boost::shared_ptr< Connector > Connector_ptr
Definition: Coupler.h:38
boost::shared_ptr< Pattern > Pattern_ptr
Definition: Pattern.h:39
void extendedRowsForST(dim_t *degree_ST, index_t *offset_ST, index_t *ST)
void fillWithGlobalCoordinates(double f1)
Definition: BiCGStab.cpp:25
std::complex< real_t > cplx_t
complex data type
Definition: DataTypes.h:55
void MatrixVector_CSR_OFFSET0(double alpha, const double *in, double beta, double *out) const
Definition: SparseMatrix.h:45
void q_sort(index_t *row, index_t *col, double *val, int begin, int end, int N)
Definition: SparseMatrix.cpp:75
#define MATRIX_FORMAT_DEFAULT
Definition: Paso.h:61
#define MATRIX_FORMAT_DIAGONAL_BLOCK
Definition: Paso.h:65
#define mm_is_array(typecode)
Definition: mmio.h:55
#define mm_is_sparse(typecode)
Definition: mmio.h:52