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

ot::fem::feMat Class Reference

#include <feMat.h>

Inheritance diagram for ot::fem::feMat:

ot::fem::feMatrix< T > ot::fem::feMatrix< massMatrix > ot::fem::feMatrix< stiffnessMatrix > massMatrix stiffnessMatrix List of all members.

Public Types

enum  daType { PETSC, OCT }
 typedefs and enums More...

Public Member Functions

 feMat (daType da)
 feMat ()
 Contructors.
_p_DA * getDA ()
ot::DAgetOctDA ()
virtual bool MatGetDiagonal (Vec _diag, double scale=1.0)=0
virtual bool MatVec (Vec _in, Vec _out, double scale=1.0)=0
 The matrix-vector multiplication routine that is used by matrix-free methods.
void setDA (ot::DA *da)
void setDA (_p_DA *da)
void setProblemDimensions (double x, double y, double z)
 ~feMat ()

Protected Attributes

_p_DA * m_DA
daType m_daType
double m_dLx
 The dimensions of the problem.
double m_dLy
double m_dLz
ot::DAm_octDA

Member Enumeration Documentation

enum ot::fem::feMat::daType
 

typedefs and enums

Enumeration values:
PETSC 
OCT 

Definition at line 13 of file feMat.h.


Constructor & Destructor Documentation

ot::fem::feMat::feMat  )  [inline]
 

Contructors.

Definition at line 18 of file feMat.h.

ot::fem::feMat::feMat daType  da  )  [inline]
 

Definition at line 19 of file feMat.h.

ot::fem::feMat::~feMat  )  [inline]
 

Definition at line 27 of file feMat.h.


Member Function Documentation

_p_DA* ot::fem::feMat::getDA  )  [inline]
 

Definition at line 34 of file feMat.h.

ot::DA* ot::fem::feMat::getOctDA  )  [inline]
 

Definition at line 35 of file feMat.h.

virtual bool ot::fem::feMat::MatGetDiagonal Vec  _diag,
double  scale = 1.0
[pure virtual]
 

Implemented in ot::fem::feMatrix< T >, ot::fem::feMatrix< stiffnessMatrix >, and ot::fem::feMatrix< massMatrix >.

virtual bool ot::fem::feMat::MatVec Vec  _in,
Vec  _out,
double  scale = 1.0
[pure virtual]
 

The matrix-vector multiplication routine that is used by matrix-free methods.

Parameters:
_in PETSc Vec which is the input vector with whom the product is to be calculated.
_out PETSc Vec, the output of M*_in
Returns:
bool true if successful, false otherwise.
The matrix-vector multiplication routine that is used by matrix-free methods. The product is directly calculated from the elemental matrices, which are computed by the ElementalMatVec() function. Use the Assemble() function for matrix based methods.

Implemented in ot::fem::feMatrix< T >, ot::fem::feMatrix< stiffnessMatrix >, and ot::fem::feMatrix< massMatrix >.

void ot::fem::feMat::setDA ot::DA da  )  [inline]
 

Definition at line 32 of file feMat.h.

void ot::fem::feMat::setDA _p_DA *  da  )  [inline]
 

Definition at line 31 of file feMat.h.

Referenced by main().

void ot::fem::feMat::setProblemDimensions double  x,
double  y,
double  z
[inline]
 

Definition at line 53 of file feMat.h.

Referenced by main().


Member Data Documentation

_p_DA* ot::fem::feMat::m_DA [protected]
 

Definition at line 62 of file feMat.h.

daType ot::fem::feMat::m_daType [protected]
 

Definition at line 60 of file feMat.h.

double ot::fem::feMat::m_dLx [protected]
 

The dimensions of the problem.

Definition at line 65 of file feMat.h.

double ot::fem::feMat::m_dLy [protected]
 

Definition at line 66 of file feMat.h.

double ot::fem::feMat::m_dLz [protected]
 

Definition at line 67 of file feMat.h.

ot::DA* ot::fem::feMat::m_octDA [protected]
 

Definition at line 63 of file feMat.h.


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