snl_fei::FEMatrixTraits< T > Struct Template Reference

#include <snl_fei_FEMatrixTraits.hpp>

List of all members.

Static Public Member Functions

static const char * typeName ()
static int reset (T *mat)
static int sumInElemMatrix (T *mat, int elemBlockID, int elemID, int numNodes, const int *nodeNumbers, const int *dofPerNode, const double *const *coefs)
static int setDirichletBCs (T *mat, int numBCs, const int *nodeNumbers, const int *dofOffsets, const double *values)


Detailed Description

template<typename T>
struct snl_fei::FEMatrixTraits< T >

Internal implementation matrix traits. Define a "template" for accessing matrix data. Provide function stubs for default type "T", which will catch the use of any matrix type for which specialized traits have not been defined.

Definition at line 21 of file snl_fei_FEMatrixTraits.hpp.


Member Function Documentation

template<typename T>
static const char* snl_fei::FEMatrixTraits< T >::typeName (  )  [inline, static]

Return a string type-name for the underlying matrix

Definition at line 24 of file snl_fei_FEMatrixTraits.hpp.

template<typename T>
static int snl_fei::FEMatrixTraits< T >::reset ( T *  mat  )  [inline, static]

Reset (zero) the matrix.

Definition at line 29 of file snl_fei_FEMatrixTraits.hpp.

template<typename T>
static int snl_fei::FEMatrixTraits< T >::sumInElemMatrix ( T *  mat,
int  elemBlockID,
int  elemID,
int  numNodes,
const int *  nodeNumbers,
const int *  dofPerNode,
const double *const *  coefs 
) [inline, static]

Sum an element-matrix contribution into the matrix object

Definition at line 33 of file snl_fei_FEMatrixTraits.hpp.

template<typename T>
static int snl_fei::FEMatrixTraits< T >::setDirichletBCs ( T *  mat,
int  numBCs,
const int *  nodeNumbers,
const int *  dofOffsets,
const double *  values 
) [inline, static]

Enforce Dirichlet boundary conditions on the matrix object

Definition at line 43 of file snl_fei_FEMatrixTraits.hpp.


The documentation for this struct was generated from the following file:
Generated on Wed May 12 01:33:54 2010 for FEI by  doxygen 1.4.7