pressure Class Reference

pressure Poisson equation Solver More...

#include <pressure.h>

List of all members.

Public Member Functions

 pressure ()
void initialize (int numberOfPatches, int cellNumberPerPatch, int **StartIndex, int **pointNumberMeshP, int dimension, real ***xP, real *h, real ****fp, real ****exactPressure, int ****pUnknowns, real ****p, int ****pCagePoint, PetscLinearSolver &pSolver, int &zeroInitialGuess)
 pressure Poisson equation Solver
 ~pressure ()


Detailed Description

pressure Poisson equation Solver

This class is the pressure Poisson equation Solver. It creats indices for all pressure points on the coarse and fine mesh, generates the matrix, and assigns the right hand side of the equation, then call PetscLinearSolver to solve the linear system.

Fields of pressure transform to 1d vector from the original two or three-dimensional domain. Solving pressure in vector form A x = b


Constructor & Destructor Documentation

pressure::pressure (  ) 

constructor

pressure::~pressure (  ) 

destructor


Member Function Documentation

void pressure::initialize ( int  numberOfPatches,
int  cellNumberPerPatch,
int **  StartIndex,
int **  pointNumberMeshP,
int  dimension,
real ***  xP,
real *  h,
real ****  fp,
real ****  exactPressure,
int ****  pUnknowns,
real ****  p,
int ****  pCagePoint,
PetscLinearSolver pSolver,
int &  zeroInitialGuess 
)

pressure Poisson equation Solver

This class is the pressure Poisson equation Solver. It creats indices for all pressure points on the coarse and fine mesh, generates the matrix, and assigns the right hand side of the equation, then call PetscLinearSolver to solve the linear system.

Parameters:
numberOfPatches  number of patches
cellNumberPerPatch  cell numbers per patch surrounding the sphere
StartIndex  used to put the refined mesh
pointNumberMeshP  mesh points for p
dimension  dimension
xP  coordinates of p
h  space step
fp  extra force
exactPressure  exact pressure
pUnknowns  mesh points for p
p  pressure
pCagePoint  cage points for p
pSolver  PETSC linear solver
zeroInitialGuess  if use zero as the initial guess for pressure


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

Generated on Tue May 18 21:30:44 2010 by  doxygen 1.5.6