Public Member Functions
Sundance::VectorAssemblyKernel Class Reference
Inheritance diagram for Sundance::VectorAssemblyKernel:
Sundance::VectorFillingAssemblyKernel Sundance::AssemblyKernelBase

List of all members.

Public Member Functions

 VectorAssemblyKernel (const Array< RCP< DOFMapBase > > &dofMap, const Array< RCP< Array< int > > > &isBCIndex, const Array< int > &lowestLocalIndex, Array< Vector< double > > &b, bool partitionBCs, int verb)
virtual ~VectorAssemblyKernel ()
virtual void prepareForWorkSet (const Array< Set< int > > &requiredTests, const Array< Set< int > > &requiredUnks, RCP< StdFwkEvalMediator > mediator)
virtual void fill (bool isBC, const IntegralGroup &group, const RCP< Array< double > > &localValues)

Detailed Description

VectorAssemblyKernel builds load vectors. It derives from VectorFillingAssemblyKernel, which implements the functions shared between all kernels that build vectors, such as FunctionalAndGradientAssemblyKernel.

Definition at line 58 of file SundanceVectorAssemblyKernel.hpp.


Constructor & Destructor Documentation

VectorAssemblyKernel::VectorAssemblyKernel ( const Array< RCP< DOFMapBase > > &  dofMap,
const Array< RCP< Array< int > > > &  isBCIndex,
const Array< int > &  lowestLocalIndex,
Array< Vector< double > > &  b,
bool  partitionBCs,
int  verb 
)

Ctor takes several arguments:

Parameters:
dofMapis an array of DOFMap ptrs, one for each block
isBCIndexis an array of ptrs to arrays of ints (bools). The value (*isBCIndex[b])[d] indicates whether dof #d in block #b is or is not an essential BC dof.
lowestLocalIndexstores the lowest locally-owned DOF index for each block
bmultivector to be filled
partitionBCwhether dirichlet BCs are stored in a separate block
verbverbosity level

Definition at line 57 of file SundanceVectorAssemblyKernel.cpp.

Definition at line 89 of file SundanceVectorAssemblyKernel.hpp.


Member Function Documentation

void VectorAssemblyKernel::fill ( bool  isBC,
const IntegralGroup group,
const RCP< Array< double > > &  localValues 
) [virtual]
void VectorAssemblyKernel::prepareForWorkSet ( const Array< Set< int > > &  requiredTests,
const Array< Set< int > > &  requiredUnks,
RCP< StdFwkEvalMediator mediator 
) [virtual]

Site Contact