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

elasticityJac.h File Reference

Go to the source code of this file.

Classes

struct  ElasticityData

Functions

PetscErrorCode ComputeElasticityMat (ot::DAMG damg, Mat J, Mat B)
PetscErrorCode ComputeElasticityRHS (ot::DAMG damg, Vec rhs)
void computeInvBlockDiagEntriesForElasticityMat (Mat J, double **invBlockDiagEntries)
PetscErrorCode CreateElasticityMat (ot::DAMG damg, Mat *B)
void DestroyElasticityContexts (ot::DAMG *damg)
PetscErrorCode ElasticityMatDestroy (Mat)
PetscErrorCode ElasticityMatGetDiagonal (Mat, Vec)
PetscErrorCode ElasticityMatMult (Mat, Vec, Vec)
PetscErrorCode ElasticityShellMatMult (Mat, Vec, Vec)
void getDofAndNodeSizeForElasticityMat (Mat J, unsigned int &dof, unsigned int &nodeSize)
void getPrivateMatricesForKSP_Shell_Elas (Mat mat, Mat *AmatPrivate, Mat *PmatPrivate, MatStructure *pFlag)
void SetElasticityContexts (ot::DAMG *damg)


Detailed Description

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

Definition in file elasticityJac.h.


Function Documentation

PetscErrorCode ComputeElasticityMat ot::DAMG  damg,
Mat  J,
Mat  B
 

Definition at line 360 of file elasticityJac.C.

References BUILD_FULL_ELASTICITY_BLOCK, ot::DAMG, ElasticityData::Jmat_private, and ot::_p_DAMG::user.

Referenced by main().

PetscErrorCode ComputeElasticityRHS ot::DAMG  damg,
Vec  rhs
 

Definition at line 14 of file elasticityRhs.C.

References ElasticityData::bdyArr, ComputeConstVecMass(), CreateConstVecMass(), ot::DA::curr(), ot::_p_DAMG::da, ot::DAMG, ot::DA::end(), ot::DA::getCurrentOffset(), ot::DA::getHangingNodeIndex(), ot::DA::getLevel(), ot::DA::getMaxDepth(), ot::DA::getNodeIndices(), ot::DA::iAmActive(), ot::DA::init(), ot::DA::next(), ot::_p_DAMG::user, ot::DA::vecGetBuffer(), ot::DA::vecRestoreBuffer(), Point::xint(), Point::yint(), and Point::zint().

Referenced by main().

void computeInvBlockDiagEntriesForElasticityMat Mat  J,
double **  invBlockDiagEntries
 

Definition at line 661 of file elasticityJac.C.

References ElasticityData::bdyArr, ot::DA::createVector(), ot::DA::curr(), ot::DAMG, ot::DA::end(), GET_ETYPE_BLOCK, ot::DA::getChildNumber(), ot::DA::getHangingNodeIndex(), ot::DA::getLevel(), ot::DA::getMaxDepth(), ot::DA::getNodeIndices(), ot::DA::getNodeSize(), GradDivType2Stencil, ot::DA::iAmActive(), ot::DA::init(), ElasticityData::lambda, LaplacianType2Stencil, ElasticityData::mu, ot::DA::next(), ot::DA::vecGetBuffer(), and ot::DA::vecRestoreBuffer().

PetscErrorCode CreateElasticityMat ot::DAMG  damg,
Mat *  B
 

Definition at line 541 of file elasticityJac.C.

References ot::_p_DAMG::comm, ot::DA::computedLocalToGlobal(), ot::DA::computeLocalToGlobalMappings(), ot::DA::createActiveMatrix(), ot::DA::createMatrix(), ot::_p_DAMG::da, ot::DAMG, ElasticityMatDestroy(), ElasticityMatGetDiagonal(), ElasticityMatMult(), ElasticityShellMatMult(), ot::DA::getComm(), ot::DA::getCommActive(), ot::DA::getNodeSize(), ot::DA::getNpesActive(), ot::DA::getNpesAll(), ot::DA::iAmActive(), ElasticityData::inTmp, ElasticityData::Jmat_private, ot::_p_DAMG::nlevels, ElasticityData::outTmp, ot::_p_DAMG::totalLevels, and ot::_p_DAMG::user.

Referenced by main().

void DestroyElasticityContexts ot::DAMG damg  ) 
 

Definition at line 485 of file elasticityJac.C.

References ElasticityData::bdyArr, ot::DAMG, ElasticityData::inTmp, ElasticityData::Jmat_private, ot::_p_DAMG::nlevels, ElasticityData::outTmp, and ot::_p_DAMG::user.

Referenced by main().

PetscErrorCode ElasticityMatDestroy Mat   ) 
 

Definition at line 653 of file elasticityJac.C.

Referenced by CreateElasticityMat().

PetscErrorCode ElasticityMatGetDiagonal Mat  ,
Vec 
 

Definition at line 102 of file elasticityJac.C.

References ot::DAMG, ELASTICITY_DIAG_BLOCK, and iC.

Referenced by CreateElasticityMat().

PetscErrorCode ElasticityMatMult Mat  ,
Vec  ,
Vec 
 

Definition at line 212 of file elasticityJac.C.

References ot::DAMG, ELASTICITY_MULT_BLOCK, and iC.

Referenced by CreateElasticityMat().

PetscErrorCode ElasticityShellMatMult Mat  ,
Vec  ,
Vec 
 

Definition at line 510 of file elasticityJac.C.

References ot::DAMG, iC, ElasticityData::inTmp, ElasticityData::Jmat_private, and ElasticityData::outTmp.

Referenced by CreateElasticityMat().

void getDofAndNodeSizeForElasticityMat Mat  J,
unsigned int &  dof,
unsigned int &  nodeSize
 

Definition at line 771 of file elasticityJac.C.

References ot::DAMG, and ot::DA::getNodeSize().

void getPrivateMatricesForKSP_Shell_Elas Mat  mat,
Mat *  AmatPrivate,
Mat *  PmatPrivate,
MatStructure *  pFlag
 

Definition at line 35 of file elasticityJac.C.

References ot::DAMG, and ElasticityData::Jmat_private.

void SetElasticityContexts ot::DAMG damg  ) 
 

Definition at line 396 of file elasticityJac.C.

References ot::assignBoundaryFlags(), ElasticityData::bdyArr, ot::DA::curr(), ot::_p_DAMG::da, ot::_p_DAMG::da_aux, ot::DAMG, ot::DA::end(), ot::DA::getNodeIndices(), ot::DA::iAmActive(), ot::DA::init(), ElasticityData::inTmp, ElasticityData::Jmat_private, ElasticityData::lambda, ElasticityData::mu, ot::DA::next(), ot::_p_DAMG::nlevels, ElasticityData::outTmp, ot::_p_DAMG::suppressedDOF, and ot::_p_DAMG::suppressedDOFaux.

Referenced by main().


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