Sundance::MatrixVectorAssemblyKernel Class Reference

Inheritance diagram for Sundance::MatrixVectorAssemblyKernel:

Sundance::VectorFillingAssemblyKernel Sundance::AssemblyKernelBase

List of all members.

Public Member Functions

 MatrixVectorAssemblyKernel (const Array< RCP< DOFMapBase > > &rowMap, const Array< RCP< Array< int > > > &isBCRow, const Array< int > &lowestLocalRow, const Array< RCP< DOFMapBase > > &colMap, const Array< RCP< Array< int > > > &isBCCol, const Array< int > &lowestLocalCol, LinearOperator< double > A, Array< Vector< double > > b, bool partitionBCs, int verb)
void prepareForWorkSet (const Array< Set< int > > &requiredTests, const Array< Set< int > > &requiredUnks, RCP< StdFwkEvalMediator > mediator)
void fill (bool isBC, const IntegralGroup &group, const RCP< Array< double > > &localValues)

Protected Member Functions

void init (const Array< RCP< DOFMapBase > > &rowMap, const Array< RCP< DOFMapBase > > &colMap, LinearOperator< double > A, bool partitionBCs)
void writeLSMs (int blockRow, int blockCol, bool useCofacetCells, int numTestNodes, int nTestFuncs, int testFuncIndex, const Array< int > &rowDof, int numUnkNodes, int nUnkFuncs, int unkFuncIndex, const Array< int > &colDof, const Array< double > &localValues) const
void insertLocalMatrixBatch (bool isBCRqc, bool useCofacetCells, const Array< int > &testID, const Array< int > &testBlock, const Array< int > &unkID, const Array< int > &unkBlock, const Array< double > &localValues) const
const MapBundlermb () const
const MapBundlecmb () const

Private Attributes

LinearOperator< double > A_
Array< Array< LoadableMatrix
< double > * > > 
mat_
MapBundle cmb_


Detailed Description

MatrixVectorAssemblyKernel does assembly of a matrix and vector

Definition at line 44 of file SundanceMatrixVectorAssemblyKernel.hpp.


Constructor & Destructor Documentation

Sundance::MatrixVectorAssemblyKernel::MatrixVectorAssemblyKernel ( const Array< RCP< DOFMapBase > > &  rowMap,
const Array< RCP< Array< int > > > &  isBCRow,
const Array< int > &  lowestLocalRow,
const Array< RCP< DOFMapBase > > &  colMap,
const Array< RCP< Array< int > > > &  isBCCol,
const Array< int > &  lowestLocalCol,
LinearOperator< double >  A,
Array< Vector< double > >  b,
bool  partitionBCs,
int  verb 
) [inline]

Definition at line 48 of file SundanceMatrixVectorAssemblyKernel.hpp.

References init().


Member Function Documentation

const MapBundle& Sundance::MatrixVectorAssemblyKernel::cmb (  )  const [inline, protected]

Definition at line 112 of file SundanceMatrixVectorAssemblyKernel.hpp.

References cmb_.

Referenced by insertLocalMatrixBatch().

void MatrixVectorAssemblyKernel::fill ( bool  isBC,
const IntegralGroup group,
const RCP< Array< double > > &  localValues 
) [virtual]

void MatrixVectorAssemblyKernel::init ( const Array< RCP< DOFMapBase > > &  rowMap,
const Array< RCP< DOFMapBase > > &  colMap,
LinearOperator< double >  A,
bool  partitionBCs 
) [protected]

void MatrixVectorAssemblyKernel::insertLocalMatrixBatch ( bool  isBCRqc,
bool  useCofacetCells,
const Array< int > &  testID,
const Array< int > &  testBlock,
const Array< int > &  unkID,
const Array< int > &  unkBlock,
const Array< double > &  localValues 
) const [protected]

void MatrixVectorAssemblyKernel::prepareForWorkSet ( const Array< Set< int > > &  requiredTests,
const Array< Set< int > > &  requiredUnks,
RCP< StdFwkEvalMediator mediator 
) [virtual]

const MapBundle& Sundance::MatrixVectorAssemblyKernel::rmb (  )  const [inline, protected]

void MatrixVectorAssemblyKernel::writeLSMs ( int  blockRow,
int  blockCol,
bool  useCofacetCells,
int  numTestNodes,
int  nTestFuncs,
int  testFuncIndex,
const Array< int > &  rowDof,
int  numUnkNodes,
int  nUnkFuncs,
int  unkFuncIndex,
const Array< int > &  colDof,
const Array< double > &  localValues 
) const [protected]


Member Data Documentation

Definition at line 115 of file SundanceMatrixVectorAssemblyKernel.hpp.

Definition at line 117 of file SundanceMatrixVectorAssemblyKernel.hpp.

Referenced by cmb(), and prepareForWorkSet().

Array<Array<LoadableMatrix<double>* > > Sundance::MatrixVectorAssemblyKernel::mat_ [private]

Definition at line 116 of file SundanceMatrixVectorAssemblyKernel.hpp.

Referenced by init(), and insertLocalMatrixBatch().

Site Contact