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

odaJac.h File Reference

#include "oda.h"
#include "petscmat.h"
#include "petscvec.h"

Go to the source code of this file.

Classes

struct  Jac1MFreeData

Defines

#define iC(fun)   {CHKERRQ(fun);}

Functions

PetscErrorCode ComputeJacobian1 (ot::DA *, Mat)
PetscErrorCode CreateActiveJacobian1 (ot::DA *, Mat *)
PetscErrorCode CreateAndComputeFullActiveJacobian1 (ot::DA *, Mat *)
PetscErrorCode CreateAndComputeFullJacobian1 (ot::DA *, Mat *)
PetscErrorCode CreateAndComputeMassMatrix (ot::DA *, Mat *)
PetscErrorCode CreateJacobian1 (ot::DA *, Mat *)
PetscErrorCode Jacobian1MatDestroy (Mat)
PetscErrorCode Jacobian1MatGetDiagonal (Mat, Vec)
PetscErrorCode Jacobian1MatMult (Mat, Vec, Vec)
PetscErrorCode Jacobian1ShellMatMult (Mat, Vec, Vec)
PetscErrorCode MassMatDestroy (Mat)
PetscErrorCode MassMatGetDiagonal (Mat, Vec)
PetscErrorCode MassMatMult (Mat, Vec, Vec)

Variables

int _internal_ierr


Detailed Description

Author:
Rahul Sampath, rahul.sampath@gmail.com

Definition in file odaJac.h.


Define Documentation

#define iC fun   )     {CHKERRQ(fun);}
 

Definition at line 17 of file odaJac.h.


Function Documentation

PetscErrorCode ComputeJacobian1 ot::DA ,
Mat 
 

Definition at line 96 of file odaJac.C.

PetscErrorCode CreateActiveJacobian1 ot::DA ,
Mat * 
 

Definition at line 74 of file odaJac.C.

References Jac1MFreeData::da, ot::DA::getCommActive(), ot::DA::getNodeSize(), ot::DA::iAmActive(), iC, Jac1MFreeData::inTmp, Jac1MFreeData::isFinestLevel, Jacobian1MatDestroy(), Jacobian1MatGetDiagonal(), Jacobian1MatMult(), Jac1MFreeData::Jmat_private, and Jac1MFreeData::outTmp.

PetscErrorCode CreateAndComputeFullActiveJacobian1 ot::DA ,
Mat * 
 

Definition at line 538 of file odaJac.C.

PetscErrorCode CreateAndComputeFullJacobian1 ot::DA ,
Mat * 
 

Definition at line 466 of file odaJac.C.

PetscErrorCode CreateAndComputeMassMatrix ot::DA ,
Mat * 
 

Definition at line 103 of file odaJac.C.

PetscErrorCode CreateJacobian1 ot::DA ,
Mat * 
 

Definition at line 54 of file odaJac.C.

PetscErrorCode Jacobian1MatDestroy Mat   ) 
 

Definition at line 120 of file odaJac.C.

References iC, Jac1MFreeData::inTmp, Jac1MFreeData::Jmat_private, and Jac1MFreeData::outTmp.

Referenced by CreateActiveJacobian1(), CreateJacobian1(), and main().

PetscErrorCode Jacobian1MatGetDiagonal Mat  ,
Vec 
 

Definition at line 160 of file odaJac.C.

References Jac1MFreeData::da, GET_ETYPE_BLOCK, ot::DA::getChildNumber(), ot::DA::getHangingNodeIndex(), ot::DA::getLevel(), ot::DA::getNodeIndices(), iC, LaplacianType2Stencil, MassType2Stencil, ot::DA::vecGetBuffer(), and ot::DA::vecRestoreBuffer().

Referenced by CreateActiveJacobian1(), CreateJacobian1(), and main().

PetscErrorCode Jacobian1MatMult Mat  ,
Vec  ,
Vec 
 

Definition at line 290 of file odaJac.C.

References ot::DA::getMaxDepth(), iC, JACOBIAN_TYPE1_MULT_BLOCK, ot::DA::ReadFromGhostsBegin(), ot::DA::ReadFromGhostsEnd(), ot::DA::vecGetBuffer(), and ot::DA::vecRestoreBuffer().

Referenced by CreateActiveJacobian1(), CreateJacobian1(), and main().

PetscErrorCode Jacobian1ShellMatMult Mat  ,
Vec  ,
Vec 
 

Definition at line 22 of file odaJac.C.

Referenced by CreateJacobian1().

PetscErrorCode MassMatDestroy Mat   ) 
 

Definition at line 145 of file odaJac.C.

References iC, and Jac1MFreeData::Jmat_private.

Referenced by CreateAndComputeMassMatrix().

PetscErrorCode MassMatGetDiagonal Mat  ,
Vec 
 

Definition at line 225 of file odaJac.C.

References GET_ETYPE_BLOCK, ot::DA::getChildNumber(), ot::DA::getHangingNodeIndex(), ot::DA::getLevel(), ot::DA::getNodeIndices(), iC, MassType2Stencil, ot::DA::vecGetBuffer(), and ot::DA::vecRestoreBuffer().

Referenced by CreateAndComputeMassMatrix().

PetscErrorCode MassMatMult Mat  ,
Vec  ,
Vec 
 

Definition at line 395 of file odaJac.C.

References ot::DA::getMaxDepth(), iC, MASS_MULT_BLOCK, ot::DA::ReadFromGhostsBegin(), ot::DA::ReadFromGhostsEnd(), ot::DA::vecGetBuffer(), and ot::DA::vecRestoreBuffer().

Referenced by CreateAndComputeMassMatrix().


Variable Documentation

int _internal_ierr
 


Generated on Tue Mar 24 16:14:08 2009 for DENDRO by  doxygen 1.3.9.1