QuOc

 

Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions

tpcfe::CFEAssembledBlockOp< ConfiguratorType > Class Template Reference

#include <tpCFEElastOp.h>

Inheritance diagram for tpcfe::CFEAssembledBlockOp< ConfiguratorType >:
aol::Op< aol::MultiVector< ConfiguratorType::RealType > >

List of all members.

Public Types

typedef ConfiguratorType::RealType RealType
typedef ConfiguratorType::GridType GridType
typedef
ConfiguratorType::MatrixType 
MatrixType
typedef aol::BlockMatrix
< MatrixType
BlockMatrixType

Public Member Functions

void apply (const aol::MultiVector< RealType > &Arg, aol::MultiVector< RealType > &Dest) const
void applyAdd (const aol::MultiVector< RealType > &Arg, aol::MultiVector< RealType > &Dest) const
BlockMatrixTypegetBlockMatrixRef ()
const BlockMatrixTypegetBlockMatrixRef () const
void assembleAddBlockMatrix (aol::BlockMatrix< MatrixType > &dest)
void restrictNonDomainEntries ()
void restrictDirichletEntries ()
void restrictNonDOFEntries ()

Protected Member Functions

 CFEAssembledBlockOp (const GridType &Grid)

Protected Attributes

const GridType_grid
aol::BlockMatrix< MatrixType_blockMatrix

Private Member Functions

 CFEAssembledBlockOp ()
 CFEAssembledBlockOp (const CFEAssembledBlockOp< ConfiguratorType > &)
CFEAssembledBlockOp
< ConfiguratorType > & 
operator= (const CFEAssembledBlockOp< ConfiguratorType > &)

Detailed Description

template<typename ConfiguratorType>
class tpcfe::CFEAssembledBlockOp< ConfiguratorType >

Definition at line 103 of file tpCFEElastOp.h.


Member Typedef Documentation

template<typename ConfiguratorType>
typedef aol::BlockMatrix< MatrixType > tpcfe::CFEAssembledBlockOp< ConfiguratorType >::BlockMatrixType

Definition at line 108 of file tpCFEElastOp.h.

template<typename ConfiguratorType>
typedef ConfiguratorType::GridType tpcfe::CFEAssembledBlockOp< ConfiguratorType >::GridType
template<typename ConfiguratorType>
typedef ConfiguratorType::MatrixType tpcfe::CFEAssembledBlockOp< ConfiguratorType >::MatrixType
template<typename ConfiguratorType>
typedef ConfiguratorType::RealType tpcfe::CFEAssembledBlockOp< ConfiguratorType >::RealType

Constructor & Destructor Documentation

template<typename ConfiguratorType>
tpcfe::CFEAssembledBlockOp< ConfiguratorType >::CFEAssembledBlockOp ( const GridType Grid  )  [inline, protected]

Definition at line 115 of file tpCFEElastOp.h.

                                               : _grid ( Grid ), _blockMatrix ( Grid ) {
  }

template<typename ConfiguratorType>
tpcfe::CFEAssembledBlockOp< ConfiguratorType >::CFEAssembledBlockOp (  )  [private]
template<typename ConfiguratorType>
tpcfe::CFEAssembledBlockOp< ConfiguratorType >::CFEAssembledBlockOp ( const CFEAssembledBlockOp< ConfiguratorType > &   )  [private]

Member Function Documentation

template<typename ConfiguratorType>
void tpcfe::CFEAssembledBlockOp< ConfiguratorType >::apply ( const aol::MultiVector< RealType > &  Arg,
aol::MultiVector< RealType > &  Dest 
) const [inline]

Definition at line 119 of file tpCFEElastOp.h.

                                                                                           {
    _blockMatrix.apply ( Arg, Dest );
  }

template<typename ConfiguratorType>
void tpcfe::CFEAssembledBlockOp< ConfiguratorType >::applyAdd ( const aol::MultiVector< RealType > &  Arg,
aol::MultiVector< RealType > &  Dest 
) const [inline]

Definition at line 123 of file tpCFEElastOp.h.

                                                                                              {
    _blockMatrix.applyAdd ( Arg, Dest );
  }

template<typename ConfiguratorType>
void tpcfe::CFEAssembledBlockOp< ConfiguratorType >::assembleAddBlockMatrix ( aol::BlockMatrix< MatrixType > &  dest  )  [inline]

Definition at line 135 of file tpCFEElastOp.h.

                                                                     {
    for ( short i = 0; i < 3; ++i ) {
      for ( short j = 0; j < 3; ++j ) {
        dest._blockMatrix.getReference ( i, j ) += this->_blockMatrix.getReference ( i, j ) ;
      }
    }
  }

template<typename ConfiguratorType>
const BlockMatrixType& tpcfe::CFEAssembledBlockOp< ConfiguratorType >::getBlockMatrixRef (  )  const [inline]

Definition at line 131 of file tpCFEElastOp.h.

                                                   {
    return ( _blockMatrix );
  }

template<typename ConfiguratorType>
BlockMatrixType& tpcfe::CFEAssembledBlockOp< ConfiguratorType >::getBlockMatrixRef (  )  [inline]

Definition at line 127 of file tpCFEElastOp.h.

                                       {
    return ( _blockMatrix );
  }

template<typename ConfiguratorType>
CFEAssembledBlockOp<ConfiguratorType>& tpcfe::CFEAssembledBlockOp< ConfiguratorType >::operator= ( const CFEAssembledBlockOp< ConfiguratorType > &   )  [private]
template<typename ConfiguratorType>
void tpcfe::CFEAssembledBlockOp< ConfiguratorType >::restrictDirichletEntries (  )  [inline]

Definition at line 151 of file tpCFEElastOp.h.

Referenced by tpcfe::CFEAssembledBlockOp< _ConfiguratorType >::restrictDirichletEntries().

                                  {
    for ( short i = 0; i < 3; ++i ) {
      for ( short j = 0; j < 3; ++j ) {
        tpcfe::restrictDirichletEntries ( _grid, this->_blockMatrix.getReference ( i, j ), static_cast<RealType> ( i == j ) );
      }
    }
  }

template<typename ConfiguratorType>
void tpcfe::CFEAssembledBlockOp< ConfiguratorType >::restrictNonDOFEntries (  )  [inline]

Definition at line 159 of file tpCFEElastOp.h.

Referenced by tpcfe::CFEAssembledBlockOp< _ConfiguratorType >::restrictNonDOFEntries().

                               {
    for ( short i = 0; i < 3; ++i ) {
      for ( short j = 0; j < 3; ++j ) {
        tpcfe::restrictNonDOFEntries ( _grid, this->_blockMatrix.getReference ( i, j ), static_cast<RealType> ( i == j ) );
      }
    }
  }

template<typename ConfiguratorType>
void tpcfe::CFEAssembledBlockOp< ConfiguratorType >::restrictNonDomainEntries (  )  [inline]

Definition at line 143 of file tpCFEElastOp.h.

Referenced by tpcfe::CFEAssembledBlockOp< _ConfiguratorType >::restrictNonDomainEntries().

                                  {
    for ( short i = 0; i < 3; ++i ) {
      for ( short j = 0; j < 3; ++j ) {
        tpcfe::restrictNonDomainEntries ( _grid, this->_blockMatrix.getReference ( i, j ), static_cast<RealType> ( i == j ) );
      }
    }
  }


Member Data Documentation


The documentation for this class was generated from the following file:

Generated on Fri Sep 9 2011 21:10:03 for QuocMesh by doxygen 1.7.1