PPL Logo

libs/ck-libs/ifem/ilsic.h File Reference

Go to the source code of this file.

Data Structures

struct  ILSI_Param
 This struct gives the input and output parameters for an IDXL_Solver. More...

Typedefs

typedef struct ILSI_Comm ILSI_Comm
 An ILSI_Comm is actually a C++ class--see ilsi.h.
typedef void(* ILSI_Solver )(ILSI_Param *param, ILSI_Comm *comm, int n, const double *b, double *x)
 An ILSI_Solver is a routine that computes, in parallel, the solution x to the linear equation A x = b.

Functions

void ILSI_Param_new (ILSI_Param *param)
 Set default values for solver parameters.
void ILSI_CG_Solver (ILSI_Param *param, ILSI_Comm *comm, int n, const double *b, double *x)
 Conjugate-gradient solver: requires symmetric positive definite matrix.


Typedef Documentation

typedef struct ILSI_Comm ILSI_Comm

An ILSI_Comm is actually a C++ class--see ilsi.h.

Definition at line 34 of file ilsic.h.

typedef void(* ILSI_Solver)(ILSI_Param *param, ILSI_Comm *comm, int n, const double *b, double *x)

An ILSI_Solver is a routine that computes, in parallel, the solution x to the linear equation A x = b.

ILSI_Solvers must be written in C++, since ILSI_Comm is C++.

Parameters:
param Assorted input and output parameters for solver.
comm The partitioned parallel matrix A and communication system for the solver.
n The length of the local part of the solution vectors.
b The local part of the known vector. Never modified.
x On input, the initial guess for the solution. During execution, the intermediate solution values. On output, the final solution.

Definition at line 51 of file ilsic.h.


Function Documentation

void ILSI_Param_new ( ILSI_Param param  ) 

Set default values for solver parameters.

Definition at line 11 of file ilsi.C.

References ILSI_Param::iterations, ILSI_Param::maxIterations, ILSI_Param::maxResidual, ILSI_Param::residual, ILSI_Param::solverIn, and ILSI_Param::solverOut.

Referenced by main().

Here is the caller graph for this function:

void ILSI_CG_Solver ( ILSI_Param param,
ILSI_Comm comm,
int  n,
const double *  b,
double *  x 
)

Conjugate-gradient solver: requires symmetric positive definite matrix.

Definition at line 78 of file cg.C.

References int, ILSI_Param::iterations, ILSI_Param::maxIterations, ILSI_Param::maxResidual, and ILSI_Param::residual.

Referenced by main().

Here is the caller graph for this function:


Generated on Mon Sep 21 08:07:30 2020 for Charm++ by  doxygen 1.5.5