BEM++  2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Types | Public Member Functions | List of all members
Fiber::LocalAssemblerForLocalOperators< ResultType > Class Template Referenceabstract

Abstract interface of a local assembler for local operators. More...

#include </home/wojtek/Projects/BEM/bempp-sven/bempp/lib/fiber/local_assembler_for_local_operators.hpp>

Inheritance diagram for Fiber::LocalAssemblerForLocalOperators< ResultType >:
Fiber::DefaultLocalAssemblerForLocalOperatorsOnSurfaces< BasisFunctionType, ResultType, GeometryFactory >

Public Types

typedef ScalarTraits
< ResultType >::RealType 
CoordinateType
 

Public Member Functions

virtual void evaluateLocalWeakForms (const std::vector< int > &elementIndices, std::vector< arma::Mat< ResultType > > &result)=0
 Assemble local weak forms. More...
 

Detailed Description

template<typename ResultType>
class Fiber::LocalAssemblerForLocalOperators< ResultType >

Abstract interface of a local assembler for local operators.

Let $L$ be a local boundary operator. A local assembler associated with this operator constructs matrices $A_e$, where $e$ is an element number, with entries $(A_{e})_{ij} = (u_{ei}, A v_{ej}$) where $(\cdot, \cdot)$ is the standard scalar product, $(u_{ei})_{i=1}^m$ are the element-level test functions defined on element $e$ and $(v_{ej})_{j=1}^n$ are the element-level trial functions defined on that element.

The local assembler is responsible for choosing an appropriate way of evaluating the necessary integrals.

Member Function Documentation

template<typename ResultType >
virtual void Fiber::LocalAssemblerForLocalOperators< ResultType >::evaluateLocalWeakForms ( const std::vector< int > &  elementIndices,
std::vector< arma::Mat< ResultType > > &  result 
)
pure virtual

Assemble local weak forms.

Parameters
[in]elementIndicesVector of element indices.
[out]resultVector of weak forms of the operator on element pairs (element(i), element(i)) for i in elementIndices.

Implemented in Fiber::DefaultLocalAssemblerForLocalOperatorsOnSurfaces< BasisFunctionType, ResultType, GeometryFactory >.


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