Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ot::_p_DAMG Struct Reference

The Octree-Multigrid Object. More...

#include <omg.h>

List of all members.

Public Attributes

Mat B
Vec b
MPI_Comm comm
ot::DAda
ot::DAda_aux
unsigned int dof
PetscErrorCode(* initialguess )(_p_DAMG *, Vec)
Mat J
KSP ksp
int nlevels
Mat R
Vec r
PetscErrorCode(* rhs )(_p_DAMG *, Vec)
PetscErrorCode(* solve )(_p_DAMG **, int)
unsigned char * suppressedDOF
unsigned char * suppressedDOFaux
int totalLevels
void * user
Vec x


Detailed Description

The Octree-Multigrid Object.

Author:
Rahul Sampath

Definition at line 419 of file omg.h.


Member Data Documentation

Mat ot::_p_DAMG::B
 

preconditioning matrix for this level

Definition at line 432 of file omg.h.

Referenced by ot::DAMGCreateAndSetDA(), ot::DAMGDestroy(), and ot::DAMGSetKSP().

Vec ot::_p_DAMG::b
 

Definition at line 430 of file omg.h.

Referenced by ot::DAMGCreateAndSetDA(), ot::DAMGDestroy(), and ot::DAMGSolveKSP().

MPI_Comm ot::_p_DAMG::comm
 

The communicator

Definition at line 436 of file omg.h.

Referenced by ComputeFBM2_RHS(), ComputeFBM_RHS(), ComputeRandomRHS(), ComputeRHS1(), ComputeRHS3(), ComputeRHS4(), ComputeRHS5(), ComputeTestFBM_RHS(), CreateConstVecMass(), CreateDirichletJacobian(), CreateDirichletLaplacian(), CreateElasticityMat(), ot::createInterpolationType1(), ot::createInterpolationType2(), CreateJacobian1(), CreateJacobian2(), CreateJacobian3(), CreateTmpDirichletJacobian(), CreateTmpDirichletLaplacian(), ot::DAMGCreateAndSetDA(), and ot::DAMGSetUpLevel().

ot::DA* ot::_p_DAMG::da
 

octree mesh used for smoothing at this level

Definition at line 421 of file omg.h.

Referenced by ComputeDirichletJacobian(), ComputeDirichletLaplacian(), ComputeElasticityRHS(), ComputeFBM2_RHS_Part1(), ComputeFBM2_RHS_Part2(), ComputeFBM_RHS_Part1(), ComputeFBM_RHS_Part2(), ComputeFBM_RHS_Part3(), ComputeRHS1(), ComputeRHS2(), ComputeRHS3(), ComputeRHS5(), ComputeRHS6(), ComputeRHS7(), ComputeRHS8(), ComputeRHS9(), ComputeRHS_omgNeumann(), ComputeSol(), CreateAndComputeFullActiveJacobian1(), CreateAndComputeFullJacobian1(), CreateAndComputeMassMatrix(), CreateConstVecMass(), CreateDirichletJacobian(), CreateDirichletLaplacian(), CreateElasticityMat(), ot::createInterpolationType1(), ot::createInterpolationType2(), CreateJacobian1(), CreateJacobian2(), CreateJacobian3(), CreateTmpDirichletJacobian(), CreateTmpDirichletLaplacian(), ot::DAMGCreateAndSetDA(), ot::DAMGCreateSuppressedDOFs(), ot::DAMGDestroy(), ot::DAMGSetKSP(), ot::DAMGSetUp(), EnforceZeroFBM(), EnforceZeroFBM2(), getActiveStateAndActiveCommForKSP_Shell_Jac2or3(), main(), ot::PrintDAMG(), SetDirichletJacContexts(), SetElasticityContexts(), SetPDECoefFromPts(), SetSolutionFBM(), and SetSolutionFBM2().

ot::DA* ot::_p_DAMG::da_aux
 

Pseudo-mesh used in inter-grid transfers (Scatters). This is not used for smoothing. This is NULL, if the immediate coarser grid shares the same partition.

Definition at line 422 of file omg.h.

Referenced by ot::createInterpolationType2(), ot::DAMGCreateAndSetDA(), ot::DAMGCreateSuppressedDOFs(), ot::DAMGDestroy(), ot::DAMGSetUp(), main(), ot::PrintDAMG(), SetDirichletJacContexts(), and SetElasticityContexts().

unsigned int ot::_p_DAMG::dof
 

the number of degrees of freedom per node

Definition at line 425 of file omg.h.

Referenced by ot::createInterpolationType1(), ot::createInterpolationType2(), ot::DAMGCreateAndSetDA(), and ot::DAMGCreateSuppressedDOFs().

PetscErrorCode(* ot::_p_DAMG::initialguess)(_p_DAMG *, Vec)
 

Function handle to compute the initial guess vector

Referenced by ot::DAMGCreateAndSetDA(), ot::DAMGSetInitialGuess(), and ot::DAMGSolve().

Mat ot::_p_DAMG::J
 

matrix on this level

Definition at line 431 of file omg.h.

Referenced by ComputeRHS4(), ComputeRHS6(), ot::DAMGCreateAndSetDA(), ot::DAMGDestroy(), and ot::DAMGSetKSP().

KSP ot::_p_DAMG::ksp
 

The solver

Definition at line 447 of file omg.h.

Referenced by ot::DAMGCreateAndSetDA(), ot::DAMGDestroy(), ot::DAMGSetKSP(), and ot::DAMGSetNullSpace().

int ot::_p_DAMG::nlevels
 

number of levels above this one (total number of levels on level 0)

Definition at line 434 of file omg.h.

Referenced by CreateConstVecMass(), CreateDirichletJacobian(), CreateDirichletLaplacian(), CreateElasticityMat(), CreateJacobian1(), CreateJacobian2(), CreateJacobian3(), ot::DAMGCreateAndSetDA(), ot::DAMGCreateSuppressedDOFs(), ot::DAMGDestroy(), ot::DAMGSetInitialGuess(), ot::DAMGSetKSP(), ot::DAMGSetNullSpace(), ot::DAMGSetUp(), ot::DAMGSolve(), DestroyDirichletJacContexts(), DestroyElasticityContexts(), DestroyUserContexts(), ot::PrintDAMG(), SetCoarseToFineFromPts(), SetDirichletJacContexts(), SetElasticityContexts(), SetPDECoefFromPts(), SetUserContexts(), SetUserContextsCoarsestToFinest(), and SetUserContextsFromPts().

Mat ot::_p_DAMG::R
 

interpolation to next finer level

Definition at line 433 of file omg.h.

Referenced by ot::DAMGCreateAndSetDA(), and ot::DAMGDestroy().

Vec ot::_p_DAMG::r
 

global vectors used in multigrid preconditioner for this level

Definition at line 430 of file omg.h.

Referenced by ot::DAMGCreateAndSetDA(), and ot::DAMGDestroy().

PetscErrorCode(* ot::_p_DAMG::rhs)(_p_DAMG *, Vec)
 

Function handle to compute the RHS vector

Referenced by ot::DAMGCreateAndSetDA(), ot::DAMGSetKSP(), and ot::DAMGSolveKSP().

PetscErrorCode(* ot::_p_DAMG::solve)(_p_DAMG **, int)
 

The pointer to the solve function is just taken from the PETSc implementation. In PETSc, it is used to choose between a KSP solve and SNES solve or FAS solve. However, OTK only supports KSP solve. This can be extended later if required.

Referenced by ot::DAMGCreateAndSetDA(), ot::DAMGSetKSP(), and ot::DAMGSolve().

unsigned char* ot::_p_DAMG::suppressedDOF
 

A list of Dirichlet boundary nodes on 'da'. Must be the size of (dof*localbufferSize)

Definition at line 427 of file omg.h.

Referenced by ot::createInterpolationType1(), ot::createInterpolationType2(), ot::DAMGCreateAndSetDA(), ot::DAMGCreateSuppressedDOFs(), ot::DAMGDestroy(), SetDirichletJacContexts(), and SetElasticityContexts().

unsigned char* ot::_p_DAMG::suppressedDOFaux
 

A list of Dirichlet boundary nodes on 'da_aux'. Must be the size of (dof*localbufferSize)

Definition at line 428 of file omg.h.

Referenced by ot::createInterpolationType2(), ot::DAMGCreateAndSetDA(), ot::DAMGCreateSuppressedDOFs(), ot::DAMGDestroy(), SetDirichletJacContexts(), and SetElasticityContexts().

int ot::_p_DAMG::totalLevels
 

The total number of levels.

Definition at line 435 of file omg.h.

Referenced by CreateDirichletJacobian(), CreateDirichletLaplacian(), CreateElasticityMat(), CreateJacobian1(), CreateJacobian2(), ot::DAMGCreateAndSetDA(), and main().

void* ot::_p_DAMG::user
 

User context

Definition at line 445 of file omg.h.

Referenced by ComputeConstVecMass(), ComputeDirichletJacobian(), ComputeDirichletLaplacian(), ComputeElasticityMat(), ComputeElasticityRHS(), ComputeFBM2_RHS_Part1(), ComputeFBM2_RHS_Part2(), ComputeFBM_RHS_Part1(), ComputeFBM_RHS_Part2(), ComputeFBM_RHS_Part3(), ComputeJacobian2(), ComputeJacobian3(), CreateDirichletJacobian(), CreateDirichletLaplacian(), CreateElasticityMat(), CreateJacobian2(), CreateJacobian3(), ot::DAMGCreateAndSetDA(), DestroyDirichletJacContexts(), DestroyElasticityContexts(), DestroyUserContexts(), SetPDECoefFromPts(), SetUserContexts(), and SetUserContextsFromPts().

Vec ot::_p_DAMG::x
 

Definition at line 430 of file omg.h.

Referenced by ot::DAMGCreateAndSetDA(), ot::DAMGDestroy(), and ot::DAMGSolve().


The documentation for this struct was generated from the following file:
Generated on Tue Mar 24 16:14:21 2009 for DENDRO by  doxygen 1.3.9.1